Commit b98a251
authored
chore: harden GITHUB_TOKEN permissions on internal workflows (#526)
Scope the workflow runner token to least privilege:
- bump-gitstream-core.yml: permissions: {} (uses PAT, not GITHUB_TOKEN)
- create-tag-on-merge.yml: contents: write + pull-requests: read
Follows https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/1 parent d1b4cbc commit b98a251
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
0 commit comments