forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 1.2 KB
/
test-failure-stale.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Mark stale test failure issues for KV
on:
schedule:
- cron: "0 10 * * 1-4"
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v3
with:
operations-per-run: 1000
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: |
We have marked this test failure issue as stale because it has been
inactive for 1 month. If this failure is still relevant, removing the
stale label or adding a comment will keep it active. Otherwise,
we'll close it in 5 days to keep the test failure queue tidy.
stale-pr-message: 'Stale pull request message'
stale-issue-label: 'no-test-failure-activity'
stale-pr-label: 'no-pr-activity'
close-issue-label: 'X-stale'
close-pr-label: 'X-stale'
# Disable this for PR's, by setting a very high bar
days-before-pr-stale: 99999
days-before-issue-stale: 30
days-before-close: 5
any-of-labels: 'T-kv,T-sql-foundations'
only-labels: 'C-test-failure'
exempt-issue-labels: 'release-blocker,skipped-test,X-nostale'