[GH-Actions][scale] Restrict permissions
parent
0d374b74e2
commit
52308d5599
|
@ -3,11 +3,14 @@ on:
|
||||||
schedule:
|
schedule:
|
||||||
# Once every day at midnight UTC
|
# Once every day at midnight UTC
|
||||||
- cron: "0 0 * * *"
|
- cron: "0 0 * * *"
|
||||||
workflow_dispatch:
|
#workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- name: Mark/Close Stale Issues and Pull Requests 🗑️
|
- name: Mark/Close Stale Issues and Pull Requests 🗑️
|
||||||
uses: actions/stale@v3
|
uses: actions/stale@v3
|
||||||
|
|
Loading…
Reference in New Issue