summaryrefslogtreecommitdiff
path: root/.github/workflows/stale.yml
diff options
context:
space:
mode:
authorJames Mills <prologic@shortcircuit.net.au>2020-03-29 08:36:14 +1000
committerGitHub <noreply@github.com>2020-03-29 08:36:14 +1000
commit0869bca23c42fae58c6ec65dd2516d6b577c8996 (patch)
tree51317923757be5b902e613f3b3ae90c5924e12b1 /.github/workflows/stale.yml
parent9b159b32cb068280cab7df3217cef64a9dafc5b0 (diff)
Add Github Workflows (#5)
Diffstat (limited to '.github/workflows/stale.yml')
-rw-r--r--.github/workflows/stale.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644
index 0000000..c77dc20
--- /dev/null
+++ b/.github/workflows/stale.yml
@@ -0,0 +1,28 @@
+---
+name: Mark stale issues and pull requests
+on:
+ schedule:
+ - cron: "0 0 * * *"
+jobs:
+ stale:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/stale@v1
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
+ stale-issue-message: |-
+ This Issue has gone stale and will be closed automatically.
+
+ If this is incorrect, please reopen and add the label `on hold`.
+
+ Thank you.
+ stale-pr-message: |-
+ This Pull Request has gone stale and will be closed automatically.
+
+ If this is incorrect, please reopen and add the label `on hold`.
+
+ Thank you.
+ stale-issue-label: 'stale'
+ exempt-issue-label: 'on hold'
+ stale-pr-label: 'stale'
+ exempt-pr-label: 'on hold'