Skip to content

Commit

Permalink
ci: add locked labels for #317
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Nov 24, 2020
1 parent e46339b commit edc66d6
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
45 changes: 45 additions & 0 deletions .github/label-commenter-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,48 @@ labels:
labeled:
issue:
body: Thank you @{{ issue.user.login }} for suggesting this.
- name: locked (spam)
labeled:
issue:
body: |-
This issue has been **LOCKED** because of spam!
Please do not spam messages and/or issues on the issue tracker. You may get blocked from this repository for doing so.
action: close
locking: lock
lock_reason: spam
- name: locked (heated)
labeled:
issue:
body: |-
This issue has been **LOCKED** because of heated conversation!
We appreciate exciting conversations, as long as they won't become too aggressive and/or emotional.
locking: lock
lock_reason: heated
unlabeled:
issue:
body: |-
This issue has been unlocked now.
locking: unlock
- name: locked (off-topic)
labeled:
issue:
body: |-
This issue has been **LOCKED** because of off-topic conversations!
Please use our other means of communication for casual chats.
action: close
locking: lock
lock_reason: off-topic
- name: locked (resolved)
labeled:
issue:
body: |-
This issue has been **LOCKED** because of it being resolved!
The issue has been fixed and is therefore considered resolved.
If you still encounter this or it has changed, open a new issue instead of responding to solved ones.
action: close
locking: lock
lock_reason: resolved
2 changes: 1 addition & 1 deletion .github/workflows/label-commenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
ref: main

- name: Label Commenter
uses: peaceiris/actions-label-commenter@v1.7.0
uses: peaceiris/actions-label-commenter@0eded99
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# config_file: .github/label-commenter-config.yml

0 comments on commit edc66d6

Please sign in to comment.