chore: update workflow (#1615)

* chore: update workflow

* chore: update

* chore: add issue permission

* chore: remove issue permission

---------

Co-authored-by: thinkasany <480968828@qq.com>
This commit is contained in:
Libin YANG 2023-09-13 12:48:20 +08:00 committed by GitHub
parent c2d221fd2f
commit 21d01c79fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 6 deletions

View File

@ -1,12 +1,9 @@
name: pr-add-label
on:
pull_request:
types: [opened]
pull_request_target:
types: [opened, edited, reopened, synchronize]
permissions:
contents: read
jobs:
add-label:
permissions:
@ -25,4 +22,3 @@ jobs:
pr_number: ${{ env.PR_NUMBER }}
organize_name: "doocs"
team_name: "leetcode-algorithm"
team_label: "core team"