ci: Install actions-label-commenter"

https://github.com/peaceiris/actions-label-commenter
This commit is contained in:
peaceiris 2021-06-26 01:48:26 +09:00
parent 8f8bc4611e
commit c618621f20
No known key found for this signature in database
GPG Key ID: 5868468A8EBA64EC
2 changed files with 39 additions and 0 deletions

12
.github/label-commenter-config.yml vendored Normal file
View File

@ -0,0 +1,12 @@
labels:
- name: 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

27
.github/workflows/label-commenter.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Label Commenter
on:
issues:
types:
- labeled
- unlabeled
pull_request_target:
types:
- labeled
- unlabeled
permissions:
contents: read
issues: write
pull-requests: write
jobs:
comment:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Label Commenter
uses: peaceiris/actions-label-commenter@v1
env:
RUNNER_DEBUG: 1