Skip to content

Commit 87703f7

Browse files
committed
Merge remote-tracking branch 'upstream/jsinglet/pr-authorization' into jsinglet/auth-test-1
2 parents 66ea745 + f43b492 commit 87703f7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.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)