Skip to content

Commit b21e620

Browse files
committed
pr auths
1 parent 148067d commit b21e620

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/dispatch-matrix-check.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: 🤖 Run Matrix Check
22

33
on:
4-
pull_request:
4+
pull_request_target:
5+
types: [synchronize,opened]
56
branches:
67
- "**"
78
workflow_dispatch:
@@ -11,7 +12,13 @@ jobs:
1112
runs-on: ubuntu-latest
1213
steps:
1314

15+
- name: Test Variables
16+
shell: pwsh
17+
run: |
18+
Write-Host "Running as: ${{github.actor}}"
19+
1420
- name: Dispatch Matrix Testing Job
21+
if: contains(fromJSON('["jsinglet", "mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "kraiouchkine"]')', github.actor)
1522
uses: peter-evans/repository-dispatch@v2
1623
with:
1724
token: ${{ secrets.RELEASE_ENGINEERING_TOKEN }}
@@ -21,6 +28,7 @@ jobs:
2128

2229

2330
- uses: actions/github-script@v6
31+
if: contains(fromJSON('["jsinglet", "mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "kraiouchkine"]')', github.actor)
2432
with:
2533
script: |
2634
github.rest.issues.createComment({

0 commit comments

Comments
 (0)