Chore: Use GITHUB_TOKEN in stale instead of grot token (#72126)

* Chore: Use GITHUB_TOKEN in stale instead of grot token

* update permissions
This commit is contained in:
Josh Hunt 2023-07-27 12:29:41 +00:00 committed by GitHub
parent f10527cfe3
commit 5e5e617693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,13 +3,16 @@ on:
schedule:
- cron: '30 1 * * *'
permissions:
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GH_BOT_ACCESS_TOKEN }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Number of days of inactivity before a stale Issue or Pull Request is closed.
# Set to -1 to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
days-before-close: 14