ci: pin GitHub Actions workflow actions by hash (#1422)

as recommended in 5758364c82/docs/checks.md (pinned-dependencies)

Ref #1298
This commit is contained in:
Yusuke Kuoka
2022-05-11 19:41:30 +09:00
committed by GitHub
parent c1e5829b03
commit d01595cfbc
8 changed files with 53 additions and 30 deletions

View File

@@ -4,11 +4,17 @@ on:
# 01:30 every day
- 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@v5
- uses: actions/stale@428b0ed64d74596742200dc98805bb90f39ef9f0
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
# turn off stale for both issues and PRs