2021-03-22 21:58:49 +08:00
|
|
|
name: Label Commenter
|
|
|
|
|
|
|
|
on:
|
|
|
|
issues:
|
2022-10-06 00:52:50 +08:00
|
|
|
types: [labeled, unlabeled]
|
2021-03-22 21:58:49 +08:00
|
|
|
pull_request_target:
|
2022-10-06 00:52:50 +08:00
|
|
|
types: [labeled, unlabeled]
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
issues: write
|
|
|
|
pull-requests: write
|
2021-03-22 21:58:49 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
comment:
|
2022-10-06 00:52:50 +08:00
|
|
|
runs-on: ubuntu-20.04
|
2021-03-22 21:58:49 +08:00
|
|
|
steps:
|
2022-10-06 00:52:50 +08:00
|
|
|
- uses: actions/checkout@v3
|
2021-03-22 21:58:49 +08:00
|
|
|
- name: Label Commenter
|
|
|
|
uses: peaceiris/actions-label-commenter@v1
|
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
config_file: .github/config/label-commenter-config.yml
|