|
1 | 1 | name:🤖 Run Matrix Check |
2 | 2 |
|
3 | 3 | on: |
4 | | -pull_request: |
| 4 | +pull_request_target: |
| 5 | +types:[synchronize,opened] |
5 | 6 | branches: |
6 | 7 | -"**" |
7 | 8 | workflow_dispatch: |
|
11 | 12 | runs-on:ubuntu-latest |
12 | 13 | steps: |
13 | 14 |
|
| 15 | + -name:Test Variables |
| 16 | +shell:pwsh |
| 17 | +run:| |
| 18 | + Write-Host "Running as: ${{github.actor}}" |
| 19 | +
|
14 | 20 | -name:Dispatch Matrix Testing Job |
| 21 | +if:contains(fromJSON('["jsinglet", "mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "kraiouchkine"]')', github.actor) |
15 | 22 | uses:peter-evans/repository-dispatch@v2 |
16 | 23 | with: |
17 | 24 | token:${{ secrets.RELEASE_ENGINEERING_TOKEN }} |
|
21 | 28 |
|
22 | 29 |
|
23 | 30 | -uses:actions/github-script@v6 |
| 31 | +if:contains(fromJSON('["jsinglet", "mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "kraiouchkine"]')', github.actor) |
24 | 32 | with: |
25 | 33 | script:| |
26 | 34 | github.rest.issues.createComment({ |
|