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:
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'
|
||||
Reference in New Issue
Block a user