Skip to content

Commit b6a450d

Browse files
committed
ci: add explicit GITHUB_TOKEN permissions in workflows
Semgrep rule temporal.security.gha.missing-explicit-permissions: set least-privilege permissions blocks.
1 parent e29918b commit b6a450d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/heavy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on: # rebuild any PRs and main branch changes
66
branches:
77
- master
88

9+
permissions:
10+
contents: read
11+
912
concurrency:
1013
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1114
cancel-in-progress: true

0 commit comments

Comments
 (0)