build: harden stale.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>
main
Alex 2 years ago
parent 0fe25f1f82
commit 213a275627

@ -3,8 +3,13 @@ on:
schedule:
- cron: "30 0 * * *"
permissions: {}
jobs:
close-issues:
permissions:
issues: write # to close stale issues (actions/stale)
pull-requests: write # to close stale PRs (actions/stale)
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3