Skip to content

Commit

Permalink
Using stale action instead of the deprecated stale app
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohamedin authored Dec 25, 2023
1 parent a63a70f commit 9376181
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See [the FAQ](https://github.com/jgraph/drawio/wiki/Stale-bot-FAQ) for more information.'
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See [the FAQ](https://github.com/jgraph/drawio/wiki/Stale-bot-FAQ) for more information.'
days-before-stale: 365
days-before-close: 20
stale-issue-label: 'wontfix'
exempt-issue-labels: 'pinned,security,notstale'
stale-pr-label: 'wontfix'
exempt-pr-labels: 'pinned,security,notstale'

1 comment on commit 9376181

@davidjgraph
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed.

Please sign in to comment.