mirror of
https://github.com/Hack-with-Github/Awesome-Hacking.git
synced 2025-12-05 20:40:11 -08:00
Create lock threads workflow (#163)
Co-authored-by: Chandrapal Badshah <12944530+Chan9390@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
5aae0ce884
commit
1397a63277
23
.github/workflows/lock-threads.yml
vendored
Normal file
23
.github/workflows/lock-threads.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: 'Lock Threads'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 * * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
discussions: write
|
||||
|
||||
concurrency:
|
||||
group: lock-threads
|
||||
|
||||
jobs:
|
||||
action:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dessant/lock-threads@v5
|
||||
with:
|
||||
issue-inactive-days: '7'
|
||||
pr-inactive-days: '7'
|
||||
Reference in New Issue
Block a user