Skip to content

Commit

Permalink
Improvement: mark issues as stale and close them
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBoehm committed Jan 16, 2025
1 parent a92a7ba commit 01fe592
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,3 +190,34 @@ jobs:
artifacts/*.zip, artifacts/*.bin
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}

stale:
name: 'Stale (dry run)'
runs-on: ubuntu-24.04
steps:
- uses: actions/stale@v9
with:
debug-only: true # TODO: remove before adding to repo-maintenance.yml
start-date: 2024-01-01 # TODO: discuss start-date
days-before-issue-stale: 14
days-before-issue-close: 14
days-before-pr-stale: 14
days-before-pr-close: -1
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.
close-issue-message: >
This issue has been automatically closed because it has not had
recent activity. Please add a comment if you want to get this issue re-opened. Thank you
for your contributions.
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.
stale-label: stale
exempt-issue-labels: 'acknowledged, contribution needed'
any-of-pr-labels: 'changes requested'
remove-stale-when-updated: true

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions Job or Workflow does not set permissions


0 comments on commit 01fe592

Please sign in to comment.