Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add unlock-lock-issue workflow #373

Merged
merged 4 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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