Merge pull request #27366 from element-hq/t3chguy/flaky-stale
Add automation to close flaky test issues
This commit is contained in:
commit
3cb5b840ce
1 changed files with 16 additions and 0 deletions
16
.github/workflows/triage-stale-flaky-tests.yml
vendored
Normal file
16
.github/workflows/triage-stale-flaky-tests.yml
vendored
Normal file
|
@ -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."
|
Loading…
Reference in a new issue