Skip to content

Commit

Permalink
Merge pull request #38 from pipedrive/GRAL-4409
Browse files Browse the repository at this point in the history
GRAL-4409 added issue auto-close workflow
  • Loading branch information
Reivilo85k authored Aug 29, 2024
2 parents 38315ec + 7a72cd1 commit 578cbde
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/auto-close-stale-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Auto-close stale issues

on:
schedule:
- cron: "0 7 * * 0" # Runs the action on Sundays at 7am UTC

jobs:
close-stale-issues:
runs-on: ubuntu-latest
steps:
- name: Close stale issues
uses: actions/stale@v5
with:
days-before-stale: 150 # 5 months
days-before-close: 30 # 30 days after marking stale (total of 6 months)
stale-issue-message: "This issue has been marked as stale due to inactivity. It will be closed in 30 days if no further activity occurs."
close-issue-message: "Closing this issue due to 6 months of inactivity."
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 578cbde

Please sign in to comment.