Create label-actions.yml

This commit is contained in:
Hugo Bernier 2021-04-17 12:48:58 -04:00 committed by GitHub
parent 19b2dece0d
commit 3cf51f1fdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# Configuration for Label Actions - https://github.com/dessant/label-actions
# Actions taken when the `heated` label is added to issues or pull requests
heated:
# Post a comment
comment: >
The thread has been temporarily locked.
Please follow our community guidelines.
# Lock the thread
lock: true
# Set a lock reason
lock-reason: 'too heated'
# Additionally, add a label to pull requests
prs:
label: 'on hold'
# Actions taken when the `heated` label is removed from issues or pull requests
-heated:
# Unlock the thread
unlock: true