Exclude skipped e2e tests from auto-closure (#51528)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
This commit is contained in:
parent
dfd7d52d6b
commit
2e69e94028
|
@ -1,51 +1,52 @@
|
||||||
name: 'Process stale needs-feedback issues'
|
name: 'Process stale needs-feedback issues'
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '21 0 * * *'
|
- cron: '21 0 * * *'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions: { }
|
permissions: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
issues: write
|
issues: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- name: Scan issues
|
- name: Scan issues
|
||||||
uses: actions/stale@v9.0.0
|
uses: actions/stale@v9.0.0
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
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."
|
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."
|
||||||
close-issue-message: 'This issue was closed because it has been 14 days with no activity.'
|
close-issue-message: 'This issue was closed because it has been 14 days with no activity.'
|
||||||
operations-per-run: 140
|
operations-per-run: 140
|
||||||
days-before-stale: -1
|
days-before-stale: -1
|
||||||
days-before-close: -1
|
days-before-close: -1
|
||||||
days-before-issue-stale: 7
|
days-before-issue-stale: 7
|
||||||
days-before-issue-close: 7
|
days-before-issue-close: 7
|
||||||
stale-issue-label: 'status: stale'
|
stale-issue-label: 'status: stale'
|
||||||
stale-pr-label: 'status: stale'
|
stale-pr-label: 'status: stale'
|
||||||
exempt-issue-labels: 'type: enhancement'
|
exempt-issue-labels: 'type: enhancement'
|
||||||
only-issue-labels: 'needs: author feedback'
|
only-issue-labels: 'needs: author feedback'
|
||||||
close-issue-label: "status: can't reproduce"
|
close-issue-label: "status: can't reproduce"
|
||||||
ascending: true
|
ascending: true
|
||||||
- name: Process Stale Flaky Test Issues
|
- name: Process Stale Flaky Test Issues
|
||||||
uses: actions/stale@v9.0.0
|
uses: actions/stale@v9.0.0
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
only-issue-labels: 'metric: flaky e2e test'
|
only-issue-labels: 'metric: flaky e2e test'
|
||||||
days-before-stale: -1
|
exempt-issue-labels: 'metric: skipped test'
|
||||||
days-before-close: -1
|
days-before-stale: -1
|
||||||
days-before-issue-stale: 5
|
days-before-close: -1
|
||||||
days-before-issue-close: 2
|
days-before-issue-stale: 5
|
||||||
stale-issue-label: 'status: stale'
|
days-before-issue-close: 2
|
||||||
stale-issue-message: 'This issue is being marked as stale due to inactivity. It will be auto-closed if no further activity occurs within the next 2 days.'
|
stale-issue-label: 'status: stale'
|
||||||
close-issue-message: 'Auto-closed due to inactivity. Please re-open if you believe this issue is still valid.'
|
stale-issue-message: 'This issue is being marked as stale due to inactivity. It will be auto-closed if no further activity occurs within the next 2 days.'
|
||||||
close-issue-reason: 'not_planned'
|
close-issue-message: 'Auto-closed due to inactivity. Please re-open if you believe this issue is still valid.'
|
||||||
remove-stale-when-updated: true
|
close-issue-reason: 'not_planned'
|
||||||
exempt-all-assignees: false
|
remove-stale-when-updated: true
|
||||||
enable-statistics: true
|
exempt-all-assignees: false
|
||||||
ascending: true
|
enable-statistics: true
|
||||||
operations-per-run: 120
|
ascending: true
|
||||||
|
operations-per-run: 120
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
|
||||||
|
Exclude skipped e2e test issues from stale bot closure
|
Loading…
Reference in New Issue