Files
macvim-mirror/.github/workflows/macvim-issues.yaml
Yee Cheng Chin 085d013557 Fix GitHub action to close stale issue not working
I previously added the use of the "close-issue-reason" parameter but
it's only available in v5, whereas I was pointing to v4.
2022-08-20 04:04:15 -07:00

21 lines
729 B
YAML

name: Close inactive issues
on:
schedule:
- cron: "45 3 * * *" # 3:45 am UTC. Just a random time intentionally picked to be not during busy hours.
jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
any-of-labels: "Response Needed"
days-before-stale: 45
days-before-close: 7
stale-issue-message: "This issue is stale because it has been waiting for a response for 45 days with no activity."
stale-pr-message: "This pull request is stale because it has been waiting for a response for 45 days with no activity."
close-issue-reason: "not_planned"