Skip to content

Commit

Permalink
chore(CI): Update stale action to not close things (patternfly#10526)
Browse files Browse the repository at this point in the history
  • Loading branch information
wise-king-sullyman authored Jun 11, 2024
1 parent f69a9db commit 2ca9f9f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Close stale issues and PRs
name: Mark stale issues and PRs
on:
schedule:
- cron: 37 11 * * *
Expand All @@ -9,9 +9,9 @@ jobs:
- uses: actions/stale@v9
with:
days-before-stale: 60
days-before-close: 14
days-before-close: -1
exempt-issue-labels: accessibility,breaking change :boom:,security,pinned
stale-issue-label: wontfix
stale-issue-label: stale
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.
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.
close-issue-message: 'This issue has been closed because it has not had activity since being marked as stale.'
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/triage-stale-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Move stale issues back to triage
on:
issues:
types:
- labeled
jobs:
update-status:
if: github.event.label.name == 'stale'
runs-on: ubuntu-latest
steps:
- uses: github/update-project-action@v3
with:
github_token: ${{ secrets.GH_PROJECTS }}
organization: patternfly
project_number: 7
content_id: ${{ github.event.client_payload.command.resource.id }}
field: Status
value: Needs triage

0 comments on commit 2ca9f9f

Please sign in to comment.