Skip to content

Commit b4a9561

Browse files
authored
fix: add explicit permissions to GitHub Actions workflows (#1246)
InfoSec is changing GITHUB_TOKEN default permissions from read/write to read-only on July 15th. Adding explicit permissions blocks to all workflows that require write access.
1 parent 459ae28 commit b4a9561

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/backport.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
- closed
66
- labeled
77

8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
812
jobs:
913
backport:
1014
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)