Updated workflow permissions. (#5216)

This commit is contained in:
nathannaveen
2022-03-02 07:47:08 -05:00
committed by GitHub
parent a1429e1445
commit f5acb9d12a
5 changed files with 22 additions and 0 deletions

View File

@@ -3,8 +3,14 @@ on:
schedule:
- cron: '30 1 * * *'
permissions:
contents: read
jobs:
stale:
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@7fb802b3079a276cf3c7e6ba9aa003c665b3f838