add github lock threads action (#14155)

This commit is contained in:
Harshavardhana authored and GitHub committed 2022-01-23 09:10:53 -08:00
1 parent f6d13f57bb
commit 27d8ef14f8
2 files changed
+25 -39

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
name: 'Lock Threads'
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
issues: write
concurrency:
group: lock
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v3
with:
github-token: ${{ github.token }}
issue-inactive-days: '730'
exclude-any-issue-labels: 'do-not-close'
issue-lock-reason: 'resolved'
process-only: 'issues'
log-output: false