Add automation to close flaky test issues

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/27366/head
Michael Telatynski 2024-04-18 10:40:08 +01:00
parent 8ce46d3de8
commit e0deabceb3
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D
1 changed files with 16 additions and 0 deletions

View 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."