summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Prakash Jana <engineerarun@gmail.com>2020-06-14 11:56:56 +0530
committerArun Prakash Jana <engineerarun@gmail.com>2020-06-14 11:56:56 +0530
commit56c349a8a2d0b23a4bf3aebe6292fd6664dfd75d (patch)
treefe5314c89108d613555dd6b7f794a20105310b01
parent48e2eb45e9487c039a9714e5085eb9b32caa1f46 (diff)
Add auto-lock workflow
-rw-r--r--.github/workflows/lock.yml17
-rw-r--r--README.md2
2 files changed, 18 insertions, 1 deletions
diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml
new file mode 100644
index 0000000..b220cfb
--- /dev/null
+++ b/.github/workflows/lock.yml
@@ -0,0 +1,17 @@
+name: 'Lock threads'
+
+on:
+ schedule:
+ - cron: '0 0 * * *'
+
+jobs:
+ lock:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: dessant/lock-threads@v2
+ with:
+ github-token: ${{ github.token }}
+ issue-lock-inactive-days: '30'
+ issue-lock-reason: ''
+ pr-lock-inactive-days: '30'
+ pr-lock-reason: ''
diff --git a/README.md b/README.md
index 90a2da6..d1bab20 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
<a href="https://repology.org/project/bcal/versions"><img src="https://repology.org/badge/tiny-repos/bcal.svg" alt="Availability"></a>
<a href="https://travis-ci.org/jarun/bcal"><img src="https://img.shields.io/travis/jarun/bcal/master.svg" alt="Build Status" /></a>
<a href="https://scan.coverity.com/projects/jarun-bcal"><img src="https://img.shields.io/coverity/scan/17148.svg" alt="Coverity Scan Build Status" /></a>
-<a href="https://github.com/jarun/bcal/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-GPLv3-yellow.svg?maxAge=2592000" alt="License" /></a>
+<a href="https://github.com/jarun/bcal/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-GPLv3-yellowgreen.svg?maxAge=2592000" alt="License" /></a>
</p>
<p align="center">