chore: migrate lock threads to github actions (#11163)
Co-Authored-By: Armin Sebastian <hi@armin.dev> Co-authored-by: Armin Sebastian <github@armin.dev>
This commit is contained in:
parent
2ce7008173
commit
eaff9f837a
12
.github/lock.yml
vendored
12
.github/lock.yml
vendored
@ -1,12 +0,0 @@
|
|||||||
# Configuration for lock-threads - https://github.com/dessant/lock-threads
|
|
||||||
|
|
||||||
# Number of days of inactivity before a closed issue or pull request is locked
|
|
||||||
daysUntilLock: 91
|
|
||||||
# Comment to post before locking. Set to `false` to disable
|
|
||||||
lockComment: false
|
|
||||||
# The label to be applied when an issue is locked
|
|
||||||
lockLabel: 'outdated'
|
|
||||||
|
|
||||||
# Issues or pull requests with these labels will not be locked
|
|
||||||
# exemptLabels:
|
|
||||||
# - no-locking
|
|
||||||
17
.github/workflows/lock.yml
vendored
Normal file
17
.github/workflows/lock.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
name: Lock Threads
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 4 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lock:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: dessant/lock-threads@v2
|
||||||
|
with:
|
||||||
|
github-token: ${{ github.token }}
|
||||||
|
issue-lock-inactive-days: '91'
|
||||||
|
issue-lock-labels: 'outdated'
|
||||||
|
pr-lock-inactive-days: '91'
|
||||||
|
pr-lock-labels: 'outdated'
|
||||||
Loading…
x
Reference in New Issue
Block a user