Update label-commenter.yml

This commit is contained in:
Mr. X 2022-10-06 00:52:50 +08:00 committed by GitHub
parent c5d29733bf
commit d5bc27bf78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 8 deletions

View File

@ -2,19 +2,20 @@ name: Label Commenter
on: on:
issues: issues:
types: types: [labeled, unlabeled]
- labeled
- unlabeled
pull_request_target: pull_request_target:
types: types: [labeled, unlabeled]
- labeled
- unlabeled permissions:
contents: read
issues: write
pull-requests: write
jobs: jobs:
comment: comment:
runs-on: ubuntu-18.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Label Commenter - name: Label Commenter
uses: peaceiris/actions-label-commenter@v1 uses: peaceiris/actions-label-commenter@v1
with: with: