summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2020-07-24 23:02:37 -0400
committerGitHub <noreply@github.com>2020-07-24 22:02:37 -0500
commitec64843db4c4963658084c4d01307c4b50cb8740 (patch)
treed3df180ddb5a6b57eabe5eaaec1bfae1623f347d /.github
parent73b128d7550ee95cec33b9587cddf8ad21d2f02d (diff)
downloadcryptography-ec64843db4c4963658084c4d01307c4b50cb8740.tar.gz
Lock old issues+PRs automatically (#5342)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lock.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml
new file mode 100644
index 000000000..7356bd4af
--- /dev/null
+++ b/.github/workflows/lock.yml
@@ -0,0 +1,14 @@
+name: Lock Issues
+on:
+ schedule:
+ - cron: '0 0 * * *'
+
+jobs:
+ lock:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: dessant/lock-threads@v2
+ with:
+ github-token: ${{ secrets.GITHUB_TOKEN }}
+ issue-lock-inactive-days: 90
+ pr-lock-inactive-days: 90