aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorÉrico Rolim <erico.erc@gmail.com>2021-03-03 02:44:30 +0000
committerÉrico Nogueira Rolim <34201958+ericonr@users.noreply.github.com>2021-03-24 03:13:25 +0000
commite03147ee6214caa87fef49d3598f9497b19204cf (patch)
treeddb7867028a8db744409a5c95f38f69459744c64 /.github/workflows
parent5651179c2c9df1fd6c9ca7a54142c0e0fc6277b0 (diff)
downloadvoid-packages-e03147ee6214caa87fef49d3598f9497b19204cf.tar
void-packages-e03147ee6214caa87fef49d3598f9497b19204cf.tar.gz
void-packages-e03147ee6214caa87fef49d3598f9497b19204cf.tar.bz2
void-packages-e03147ee6214caa87fef49d3598f9497b19204cf.tar.lz
void-packages-e03147ee6214caa87fef49d3598f9497b19204cf.tar.xz
void-packages-e03147ee6214caa87fef49d3598f9497b19204cf.tar.zst
void-packages-e03147ee6214caa87fef49d3598f9497b19204cf.zip
.github/workflows: add CI run to lock closed threads.
Closed PRs will be locked after 90 days of inactivity, to avoid comments on old inactive threads and encourage people to create new ones, which will receive the proper attention. Inspired by hook from fish-shell: https://github.com/fish-shell/fish-shell/blob/a36dbad3b82c36352c6cf9d4bbdc58c7bd46e18a/.github/workflows/lockthreads.yml
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/lockthreads.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/lockthreads.yml b/.github/workflows/lockthreads.yml
new file mode 100644
index 00000000000..11e571abf68
--- /dev/null
+++ b/.github/workflows/lockthreads.yml
@@ -0,0 +1,14 @@
+name: 'Lock threads'
+
+on:
+ schedule:
+ - cron: '0 18 * * *'
+
+jobs:
+ lock:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: dessant/lock-threads@v2
+ with:
+ github-token: ${{ github.token }}
+ pr-lock-inactive-days: '90'