Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(CI): Update stale action to not close things #10526

Merged
merged 1 commit into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading