@sentry/junior-github 0.35.0 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/plugin.yaml
CHANGED
|
@@ -10,12 +10,14 @@ Treat explicit repo flags as command-targeting safety rails, not as a credential
|
|
|
10
10
|
|
|
11
11
|
## Capability to command mapping
|
|
12
12
|
|
|
13
|
-
| Capability | Commands
|
|
14
|
-
| ---------------------------- |
|
|
15
|
-
| `github.
|
|
16
|
-
| `github.
|
|
17
|
-
| `github.
|
|
18
|
-
| `github.
|
|
13
|
+
| Capability | Commands |
|
|
14
|
+
| ---------------------------- | ------------------------------------------------------------------------------------ |
|
|
15
|
+
| `github.actions.read` | `gh run list`, `gh run view`, `gh run watch`, `gh workflow list`, `gh workflow view` |
|
|
16
|
+
| `github.actions.write` | `gh workflow run`, `gh run rerun`, `gh run cancel` |
|
|
17
|
+
| `github.contents.read` | `gh repo clone`, `git fetch` |
|
|
18
|
+
| `github.contents.write` | `git push`, `gh api` (create/update file contents), `gh pr merge` |
|
|
19
|
+
| `github.pull-requests.read` | `gh pr view`, `gh pr list`, `gh pr diff`, `gh pr checks` |
|
|
20
|
+
| `github.pull-requests.write` | `gh pr create --head <branch>` after explicit push, `gh pr edit`, `gh pr close` |
|
|
19
21
|
|
|
20
22
|
## Command matrix
|
|
21
23
|
|
|
@@ -33,6 +35,10 @@ Treat explicit repo flags as command-targeting safety rails, not as a credential
|
|
|
33
35
|
| List pull requests | `gh pr list --repo owner/repo [--state open | closed | merged]` |
|
|
34
36
|
| Diff pull request | `gh pr diff NUMBER --repo owner/repo` |
|
|
35
37
|
| Check pull request status | `gh pr checks NUMBER --repo owner/repo` |
|
|
38
|
+
| Dispatch workflow | `gh workflow run WORKFLOW -R owner/repo --ref REF [-f key=value ...]` |
|
|
39
|
+
| List workflow runs | `gh run list -R owner/repo --workflow WORKFLOW [--limit N] [--json ...]` |
|
|
40
|
+
| View workflow run | `gh run view RUN_ID -R owner/repo [--json ...] [--log-failed]` |
|
|
41
|
+
| Watch workflow run | `gh run watch RUN_ID -R owner/repo --exit-status` |
|
|
36
42
|
|
|
37
43
|
## Config helpers
|
|
38
44
|
|