Skip to content

Commit d4774d5

Browse files
feat: add github action to lock new issues
1 parent c1d0aad commit d4774d5

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/lock-issues.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'Lock new issues'
2+
3+
on:
4+
issues:
5+
types: opened
6+
7+
permissions:
8+
issues: write
9+
10+
jobs:
11+
action:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: dessant/repo-lockdown@v3
15+
with:
16+
close-issue: false
17+
exclude-issue-labels: 'status: ready for dev'
18+
process-only: 'issues'
19+
skip-closed-issue-comment: true
20+
issue-comment: >
21+
To reduce notifications, issues are locked. Your issue will be unlock when we will add label as `status: ready for dev`. Check out the [contributing guide](https://github.com/TusharKesarwani/Front-End-Projects/blob/main/CONTRIBUTING.md) for more information.

0 commit comments

Comments
 (0)