mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
parent
f10527cfe3
commit
5e5e617693
5
.github/workflows/stale.yml
vendored
5
.github/workflows/stale.yml
vendored
@ -3,13 +3,16 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
- cron: '30 1 * * *'
|
- cron: '30 1 * * *'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v8
|
- uses: actions/stale@v8
|
||||||
with:
|
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.
|
# 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.
|
# Set to -1 to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
|
||||||
days-before-close: 14
|
days-before-close: 14
|
||||||
|
Loading…
Reference in New Issue
Block a user