Add stalebot for flaky e2e test reporter (#46585)
* Add flaky test reporter for flaky e2e test reporter * Add to stalebot workflow instead * Update stale action to 9 for node 20 --------- Co-authored-by: Jon Lane <jon.lane@automattic.com>
This commit is contained in:
parent
f51d6fe652
commit
87ac3d2c85
|
@ -14,7 +14,7 @@ jobs:
|
|||
pull-requests: write
|
||||
steps:
|
||||
- name: Scan issues
|
||||
uses: actions/stale@v8
|
||||
uses: actions/stale@v9.0.0
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
stale-issue-message: "As a part of this repository's maintenance, this issue is being marked as stale due to inactivity. Please feel free to comment on it in case we missed something.\n\n###### After 7 days with no activity this issue will be automatically be closed."
|
||||
|
@ -30,3 +30,16 @@ jobs:
|
|||
only-issue-labels: 'needs: author feedback'
|
||||
close-issue-label: "status: can't reproduce"
|
||||
ascending: true
|
||||
- name: Close Stale Flaky Test Issues
|
||||
uses: actions/stale@v9.0.0
|
||||
with:
|
||||
only-labels: 'metric: flaky e2e test, team: Vortex'
|
||||
days-before-stale: 5
|
||||
days-before-close: 7
|
||||
stale-issue-label: 'metric: stale flaky e2e test report'
|
||||
stale-issue-message: 'This test may have just been a one-time failure. It will be auto-closed if no further activity occurs within the next 2 days.'
|
||||
close-issue-message: 'Auto-closed due to inactivity. Please re-open if you believe this issue is still valid.'
|
||||
close-issue-reason: 'not_planned'
|
||||
remove-stale-when-updated: true
|
||||
exempt-all-assignees: true
|
||||
enable-statistics: true
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
|
||||
Add a stalebot workflow for the flaky e2e test reporter
|
Loading…
Reference in New Issue