summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-06-05 16:50:47 -0700
committergVisor bot <gvisor-bot@google.com>2020-06-05 16:51:58 -0700
commit8d8dce418f7e4053f80b035ff257743b431859d9 (patch)
treed49506c5f5ff2cb685ad33d375bdcae8f2949a83 /.github/workflows
parentf385e581a51e7f9800fe7b41835d58e45e29aefa (diff)
Add stale issue & PR cleanup.
PiperOrigin-RevId: 315020368
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/stale.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644
index 000000000..0b31fecf5
--- /dev/null
+++ b/.github/workflows/stale.yml
@@ -0,0 +1,20 @@
+name: "Close stale issues"
+on:
+ schedule:
+ - cron: "0 0 * * *"
+
+jobs:
+ stale:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/stale@v3
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ stale-issue-label: 'stale'
+ stale-pr-label: 'stale'
+ exempt-issue-labels: 'exported, type: bug, type: cleanup, type: enhancement, type: process, type: proposal, type: question'
+ exempt-pr-labels: 'ready to pull'
+ stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 30 days.'
+ stale-pr-message: 'This pull request is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 30 days.'
+ days-before-stale: 90
+ days-before-close: 30