mirror of
https://github.com/Hack-with-Github/Awesome-Hacking.git
synced 2025-12-08 07:12:12 +00:00
Create lock threads workflow (#163)
Co-authored-by: Chandrapal Badshah <12944530+Chan9390@users.noreply.github.com>
This commit is contained in:
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'
|
||||||
Loading…
x
Reference in New Issue
Block a user