2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

CI: Add GitHub token permissions for workflows (#36325)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
Varun Sharma
2022-12-16 12:50:12 +05:30
committed by GitHub
parent af34b2b56a
commit 471edac3d3
11 changed files with 53 additions and 0 deletions
+7
View File
@@ -6,8 +6,15 @@ on:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
update_release_draft:
permissions:
# allow release-drafter/release-drafter to create GitHub releases and add labels to PRs
contents: write
pull-requests: write
runs-on: ubuntu-latest
if: github.repository == 'twbs/bootstrap'
steps: