Skip to content

Commit 21d01c7

Browse files
yanglbmethinkasany
andauthored
chore: update workflow (doocs#1615)
* chore: update workflow * chore: update * chore: add issue permission * chore: remove issue permission --------- Co-authored-by: thinkasany <480968828@qq.com>
1 parent c2d221f commit 21d01c7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/pr-add-label.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
name: pr-add-label
22

33
on:
4-
pull_request:
5-
types: [opened]
4+
pull_request_target:
5+
types: [opened, edited, reopened, synchronize]
66

7-
permissions:
8-
contents: read
9-
107
jobs:
118
add-label:
129
permissions:
@@ -25,4 +22,3 @@ jobs:
2522
pr_number: ${{ env.PR_NUMBER }}
2623
organize_name: "doocs"
2724
team_name: "leetcode-algorithm"
28-
team_label: "core team"

0 commit comments

Comments
 (0)