ci: declare explicit permissions in maintenance workflows (#38159)

Co-authored-by: rohan436 <rohan.santhoshkumar@googlemail.com>
This commit is contained in:
Rohan Santhosh
2026-02-22 13:05:58 +08:00
committed by GitHub
parent 159fb5d6f4
commit a87a006aae
3 changed files with 9 additions and 0 deletions

View File

@@ -8,6 +8,9 @@ on:
pull_request:
types: [synchronize, opened, reopened, ready_for_review]
permissions:
contents: read
# cancel previous workflow jobs for PRs
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}