Skip to content

Commit

Permalink
fix(ci): do not auto stale issues (canonical#5775)
Browse files Browse the repository at this point in the history
days-before-{stale,close} seems to activate auto staleing of issues.
Demote them to days-before-pr{stale,close} to only act upon PRs.

Rereferences:

- [1] https://github.com/actions/stale
- [2] https://github.com/actions/stale/blob/main/action.yml
  • Loading branch information
aciba90 authored Oct 3, 2024
1 parent 11298f4 commit 545e9ac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ jobs:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 14
days-before-close: 7
days-before-issue-stale: -1
days-before-issue-close: -1
days-before-pr-stale: 14
days-before-pr-close: 7
stale-pr-message: |
Hello! Thank you for this proposed change to cloud-init. This pull request is now marked as stale as it has not seen any activity in 14 days. If no activity occurs within the next 7 days, this pull request will automatically close.
Expand Down

0 comments on commit 545e9ac

Please sign in to comment.