Skip to content

Close stale test failures and sentry issues #18

Close stale test failures and sentry issues

Close stale test failures and sentry issues #18

Workflow file for this run

name: Close stale test failures and sentry issues
on:
schedule:
- cron: "0 11 * * 1-4"
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v8
with:
operations-per-run: 1000
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: |
We have marked this issue as stale because it has been inactive for
12 months. If this issue is still relevant, removing the stale label
or adding a comment will keep it active. Otherwise, we'll close it in
10 days to keep the issue queue tidy.
stale-issue-label: 'no-issue-activity'
close-issue-label: 'X-stale'
# Disable this for PR's, by setting a very high bar
days-before-pr-stale: 99999
days-before-issue-stale: 366
days-before-close: 10
any-of-issue-labels: 'C-test-failure,O-sentry'
exempt-issue-labels: 'release-blocker,X-anchored-telemetry,X-nostale'