mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-03 10:23:05 +02:00
CI: Add GitHub token permissions for workflows (#36325)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
7
.github/workflows/issue-close-require.yml
vendored
7
.github/workflows/issue-close-require.yml
vendored
@@ -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:
|
||||
|
Reference in New Issue
Block a user