Skip to content

Commit

Permalink
Merge pull request #27366 from element-hq/t3chguy/flaky-stale
Browse files Browse the repository at this point in the history
Add automation to close flaky test issues
  • Loading branch information
t3chguy authored Apr 18, 2024
2 parents 2e15e5e + e0deabc commit 3cb5b84
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/triage-stale-flaky-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Close stale flaky issues
on:
schedule:
- cron: "30 1 * * *"
jobs:
close:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@v9
with:
only-labels: "Z-Flaky-Test"
days-before-stale: 14
days-before-close: 0
close-issue-message: "This flaky test issue has not been updated in 14 days. It is being closed as presumed resolved."

0 comments on commit 3cb5b84

Please sign in to comment.