mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-14 22:29:17 +08:00
ci: Install actions-label-commenter"
https://github.com/peaceiris/actions-label-commenter
This commit is contained in:
parent
8f8bc4611e
commit
c618621f20
12
.github/label-commenter-config.yml
vendored
Normal file
12
.github/label-commenter-config.yml
vendored
Normal 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
27
.github/workflows/label-commenter.yml
vendored
Normal 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
|
Loading…
x
Reference in New Issue
Block a user