Update ci-bot.yml (#193)

This commit is contained in:
Shiming Zhang 2022-08-18 22:50:36 +08:00 committed by GitHub
parent 160bc7bd58
commit 95df17f2b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -11,7 +11,7 @@ on:
issues: issues:
types: types:
- opened - opened
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
pull_request_target: pull_request_target:
types: types:
@ -56,6 +56,8 @@ env:
APPROVERS_PLUGINS: |- APPROVERS_PLUGINS: |-
label label
merge merge
base
rebase
# This plugins is for in the MAINTAINERS environment variable # This plugins is for in the MAINTAINERS environment variable
MAINTAINERS_PLUGINS: |- MAINTAINERS_PLUGINS: |-
@ -65,10 +67,13 @@ env:
OWNERS_PLUGINS: "" OWNERS_PLUGINS: ""
REVIEWERS: |- REVIEWERS: |-
yankay
wzshiming wzshiming
APPROVERS: |- APPROVERS: |-
yankay
wzshiming wzshiming
MAINTAINERS: |- MAINTAINERS: |-
yankay
wzshiming wzshiming
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -87,7 +92,7 @@ env:
permissions: permissions:
actions: write actions: write
checks: read checks: read
contents: read contents: write
deployments: none deployments: none
id-token: none id-token: none
issues: write issues: write
@ -100,7 +105,6 @@ permissions:
statuses: read statuses: read
jobs: jobs:
bot: bot:
name: Bot name: Bot
runs-on: ubuntu-latest runs-on: ubuntu-latest