File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed
Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -3,22 +3,33 @@ name: DevInfra
33on :
44 pull_request_target :
55 types : [opened, synchronize, reopened]
6+ issues :
7+ types : [opened, reopened]
68
79# Declare default permissions as read only.
8- permissions : read-all
10+ permissions :
11+ contents : read
912
1013jobs :
1114 labels :
15+ if : github.event_name == 'pull_request_target'
1216 runs-on : ubuntu-latest
1317 steps :
14- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15- - uses : angular/dev-infra/github-actions/pull-request-labeling@e006a332028a4c3cb24e9d92437fac7ae99e2ed5
18+ - uses : angular/dev-infra/github-actions/labeling/pull-request@63fd18d4726829e65f6abe6f15c0fe79f63f1dec
1619 with :
1720 angular-robot-key : ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
1821 post_approval_changes :
22+ if : github.event_name == 'pull_request_target'
1923 runs-on : ubuntu-latest
2024 steps :
21- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
22- - uses : angular/dev-infra/github-actions/pull-request-labeling@e006a332028a4c3cb24e9d92437fac7ae99e2ed5
25+ - uses : angular/dev-infra/github-actions/post-approval-changes@63fd18d4726829e65f6abe6f15c0fe79f63f1dec
2326 with :
2427 angular-robot-key : ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
28+ issue_labels :
29+ if : github.event_name == 'issues'
30+ runs-on : ubuntu-latest
31+ steps :
32+ - uses : angular/dev-infra/github-actions/labeling/issue@c4344a4e20dbdf9cb8eeb7a7eb91431b98eabd99
33+ with :
34+ angular-robot-key : ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
35+ google-generative-ai-key : ${{ secrets.GOOGLE_GENERATIVE_AI_KEY }}
You can’t perform that action at this time.
0 commit comments