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 b0a00a5
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,3 +190,33 @@ 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
remove-stale-when-updated: true
days-before-issue-stale: 14
days-before-issue-close: 14
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-issue-label: stale
exempt-issue-labels: 'acknowledged, contribution needed'
days-before-pr-stale: 14
days-before-pr-close: -1
stale-pr-label: stale
any-of-pr-labels: 'changes requested'
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.

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions Job or Workflow does not set permissions

0 comments on commit b0a00a5

Please sign in to comment.