Skip to content

Commit

Permalink
chore: add unlock-lock-issue workflow (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dun-sin authored Oct 4, 2023
1 parent e8a613b commit 0140ddb
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/config/lock_unlock_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
"🚦 status: awaiting approval":
issues:
comment: >
To reduce notifications, issues are locked until they are valid/approved and to be assigned. In the meantime read the contributing guidelines -> https://github.com/Dun-sin/Whisper/blob/main/CONTRIBUTING.md
unlock: true
lock: true

"🏁 status: ready for dev":
issues:
comment: >
The issue has been unlocked and is now ready for dev. If you would like to work on this issue, you can comment to have it assigned to you.
unlock: true
17 changes: 17 additions & 0 deletions .github/workflows/unlock-lock-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "lock/unlock issue"

on:
issues:
types: labeled

permissions:
issues: write

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/label-actions@v3
with:
process-only: issues
config-path: .github/config/lock_unlock_issue.yml

1 comment on commit 0140ddb

@vercel
Copy link

@vercel vercel bot commented on 0140ddb Oct 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.