addon-foldingathome/.github/workflows/lock.yaml
Franck Nijhof d34ec20fd1
🚀 Add-on to GitHub Actions (#11)
* 🚀 Add-on to GitHub Actions

* Prettified Code!

* Remove keep a changelog reference

* Adjust add-on linter errors

Co-authored-by: frenck <frenck@users.noreply.github.com>
2021-08-17 21:14:18 +02:00

21 lines
447 B
YAML

---
name: Lock
# yamllint disable-line rule:truthy
on:
schedule:
- cron: "0 9 * * *"
workflow_dispatch:
jobs:
lock:
name: 🔒 Lock closed issues and PRs
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2.1.1
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: "30"
issue-lock-reason: ""
pr-lock-inactive-days: "1"
pr-lock-reason: ""