Skip to content

Commit 7f77f90

Browse files
committed
Change workflow trigger from pull_request to pull_request_target
This allows the workflow to access secret variables which are not accessible in pull_request events. [ci skip]
1 parent 77c62d3 commit 7f77f90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ai-labeler.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: ai-labeler
22
on:
33
issues:
44
types: [opened, edited, reopened, labeled]
5-
pull_request:
5+
pull_request_target:
66
types: [opened, edited, reopened, labeled]
77

88
jobs:

0 commit comments

Comments
 (0)