Skip to content

Commit bc14457

Browse files
authored
build: Allow internal contributors to test workflows that use pull_request_target (#502)
Workflow changes will run using pull_request event.
1 parent 7c68daf commit bc14457

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/build-dev.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ on:
66
branches:
77
- main
88
- 'release-*'
9+
pull_request:
10+
paths:
11+
- '.github/**'
912
pull_request_target:
13+
paths-ignore:
14+
- '.github/**'
1015
jobs:
1116
build-container:
1217
runs-on: ubuntu-latest

.github/workflows/synopsys.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
name: Black Duck Policy Check
22
on:
3-
pull_request_target:
43
push:
54
branches:
65
- main
76
- 'release-*'
7+
pull_request:
8+
paths:
9+
- '.github/**'
10+
pull_request_target:
11+
paths-ignore:
12+
- '.github/**'
813

914
jobs:
1015
security:

0 commit comments

Comments
 (0)