Skip to content

draw.io is a JavaScript, client-side editor for general diagramming.

Upgrade stale action and adjust configuration

David Benson691a6f62151b
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index b953c4a8b..57383f50d 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -4,25 +4,20 @@
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests
-
on:
schedule:
- cron: '42 11 * * *'
-
jobs:
stale:
-
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
-
steps:
- - uses: actions/stale@v5
+ - uses: actions/stale@v9
with:
- repo-token: ${{ secrets.GITHUB_TOKEN }}
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 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 pull request 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-issue-label: 'wontfix'
stale-pr-label: 'wontfix'
close-issue-label: 'declined'
@@ -30,3 +25,6 @@ jobs:
days-before-close: 20
exempt-issue-labels: notstale
exempt-pr-labels: notstale
+ operations-per-run: 300
+ ascending: true
+ delete-branch: true