Skip to content

Commit

Permalink
ci: update inactive
Browse files Browse the repository at this point in the history
  • Loading branch information
bitxeno committed Aug 3, 2023
1 parent ba61426 commit 5158762
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/issue_close_inactive.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
name: "🚫 Close Inactive"

on:
# schedule:
# - cron: "0 0 * * 1"
schedule:
- cron: "0 0 * * 1"
workflow_dispatch:

jobs:
close-inactive:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: close-issues
uses: actions-cool/issues-helper@v3
uses: actions/stale@v7
with:
actions: "close-issues"
token: ${{ secrets.GITHUB_TOKEN }}
inactive-day: 30
exclude-labels: "enhancement,bug"
close-reason: "not_planned"
body: |
This issue was closed due to inactive more than 30 days. You can reopen it if you think it should continue.
stale-issue-message: "This issue was closed due to inactive more than 30 days. You can reopen it if you think it should continue."
exempt-issue-labels: "FAQ,question,bug,enhancement"
days-before-stale: 30
days-before-close: 0
days-before-pr-stale: -1
days-before-pr-close: -1

0 comments on commit 5158762

Please sign in to comment.