Skip to content

Commit f43b492

Browse files
committed
fixing
1 parent 23f819e commit f43b492

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
Write-Host "Running as: ${{github.actor}}"
1919
2020
- name: Dispatch Matrix Testing Job
21-
if: ${{ contains(fromJSON('[ "mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "kraiouchkine"]'), github.actor) }}
21+
if: ${{ contains(fromJSON('["jsinglet", "mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "kraiouchkine"]'), github.actor) }}
2222
uses: peter-evans/repository-dispatch@v2
2323
with:
2424
token: ${{ secrets.RELEASE_ENGINEERING_TOKEN }}
@@ -28,7 +28,7 @@ jobs:
2828

2929

3030
- uses: actions/github-script@v6
31-
if: ${{ contains(fromJSON('[ "mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "kraiouchkine"]'), github.actor) }}
31+
if: ${{ contains(fromJSON('["jsinglet", "mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "kraiouchkine"]'), github.actor) }}
3232
with:
3333
script: |
3434
github.rest.issues.createComment({

.github/workflows/dispatch-release-performance-check.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,19 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515

16+
- name: Test Variables
17+
shell: pwsh
18+
run: |
19+
Write-Host "Running as: ${{github.actor}}"
20+
21+
$actor = "${{github.actor}}"
22+
23+
$acl = @("mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "kraiouchkine")
24+
25+
if(-not ($actor -in $acl)){
26+
throw "Refusing to run workflow for user not in acl."
27+
}
28+
1629
- name: Dispatch Performance Testing Job
1730
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/test-performance') }}
1831
uses: peter-evans/repository-dispatch@v2

0 commit comments

Comments
 (0)