aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/issue-close-require.yml
diff options
context:
space:
mode:
authorVarun Sharma <[email protected]>2022-12-16 12:50:12 +0530
committerGitHub <[email protected]>2022-12-16 09:20:12 +0200
commit471edac3d3cae51d415f03d941af1f27e72c9198 (patch)
tree7d3469f76a732a43ae1b4102249206230744937e /.github/workflows/issue-close-require.yml
parentaf34b2b56a3628189ff0997593dc07f349b9d54e (diff)
downloadbootstrap-471edac3d3cae51d415f03d941af1f27e72c9198.tar.xz
bootstrap-471edac3d3cae51d415f03d941af1f27e72c9198.zip
CI: Add GitHub token permissions for workflows (#36325)
Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to '.github/workflows/issue-close-require.yml')
-rw-r--r--.github/workflows/issue-close-require.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/issue-close-require.yml b/.github/workflows/issue-close-require.yml
index b251cd75e..b5000d8b4 100644
--- a/.github/workflows/issue-close-require.yml
+++ b/.github/workflows/issue-close-require.yml
@@ -4,8 +4,15 @@ on:
schedule:
- cron: "0 0 * * *"
+permissions:
+ contents: read
+
jobs:
issue-close-require:
+ permissions:
+ # allow actions-cool/issues-helper to update issues and PRs
+ issues: write
+ pull-requests: write
runs-on: ubuntu-latest
if: github.repository == 'twbs/bootstrap'
steps: