Skip to content

Commit 46f271b

Browse files
committed
Update automation ACLs
Removed jsinglet and kraiouchkine
1 parent 650a303 commit 46f271b

File tree

3 files changed

+10
-17
lines changed

3 files changed

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

33
on:
44
pull_request_target:
5-
types: [synchronize,opened]
5+
types: [synchronize, opened]
66
branches:
77
- "matrix/**"
88
workflow_dispatch:
@@ -11,29 +11,27 @@ jobs:
1111
dispatch-matrix-check:
1212
runs-on: ubuntu-22.04
1313
steps:
14-
1514
- name: Test Variables
1615
shell: pwsh
1716
run: |
18-
Write-Host "Running as: ${{github.actor}}"
19-
17+
Write-Host "Running as: ${{github.actor}}"
18+
2019
- name: Dispatch Matrix Testing Job
21-
if: ${{ contains(fromJSON('["jsinglet", "mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "kraiouchkine"]'), github.actor) }}
20+
if: ${{ contains(fromJSON('["mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "nicolaswill"]'), github.actor) }}
2221
uses: peter-evans/repository-dispatch@v2
2322
with:
2423
token: ${{ secrets.RELEASE_ENGINEERING_TOKEN }}
2524
repository: github/codeql-coding-standards-release-engineering
2625
event-type: matrix-test
2726
client-payload: '{"pr": "${{ github.event.number }}"}'
2827

29-
3028
- uses: actions/github-script@v6
31-
if: ${{ contains(fromJSON('["jsinglet", "mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "kraiouchkine"]'), github.actor) }}
29+
if: ${{ contains(fromJSON('["mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "nicolaswill"]'), github.actor) }}
3230
with:
3331
script: |
3432
github.rest.issues.createComment({
3533
issue_number: context.issue.number,
3634
owner: context.repo.owner,
3735
repo: context.repo.repo,
3836
body: '🤖 Beep Boop! Matrix Testing for this PR has been initiated. Please check back later for results. <br><br> :bulb: If you do not hear back from me please check my status! **I will report even if this PR does not contain files eligible for matrix testing.**'
39-
})
37+
})

.github/workflows/dispatch-matrix-test-on-comment.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,23 @@ on:
88
- "rc/**"
99
- next
1010

11-
1211
jobs:
1312
dispatch-matrix-check:
1413
runs-on: ubuntu-22.04
1514
steps:
16-
1715
- name: Test Variables
1816
shell: pwsh
1917
run: |
2018
Write-Host "Running as: ${{github.actor}}"
2119
2220
$actor = "${{github.actor}}"
2321
24-
$acl = @("jsinglet","mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "kraiouchkine")
22+
$acl = @("mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "nicolaswill")
2523
2624
if(-not ($actor -in $acl)){
2725
throw "Refusing to run workflow for user not in acl."
2826
}
2927
30-
3128
- name: Dispatch Matrix Testing Job
3229
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/test-matrix') }}
3330
uses: peter-evans/repository-dispatch@v2

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,14 @@ jobs:
1212
dispatch-matrix-check:
1313
runs-on: ubuntu-22.04
1414
steps:
15-
1615
- name: Test Variables
1716
shell: pwsh
1817
run: |
1918
Write-Host "Running as: ${{github.actor}}"
2019
2120
$actor = "${{github.actor}}"
2221
23-
$acl = @("jsinglet","mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "kraiouchkine")
22+
$acl = @("mbaluda", "lcartey", "rvermeulen", "ravikprasad", "jeongsoolee09", "hohn", "knewbury01", "nicolaswill")
2423
2524
if(-not ($actor -in $acl)){
2625
throw "Refusing to run workflow for user not in acl."
@@ -35,7 +34,6 @@ jobs:
3534
event-type: performance-test
3635
client-payload: '{"pr": "${{ github.event.issue.number }}"}'
3736

38-
3937
- uses: actions/github-script@v6
4038
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/test-performance') }}
4139
with:
@@ -45,4 +43,4 @@ jobs:
4543
owner: context.repo.owner,
4644
repo: context.repo.repo,
4745
body: '🏁 Beep Boop! Performance testing for this PR has been initiated. Please check back later for results. Note that the query package generation step must complete before testing will start so it might be a minute. <br><br> :bulb: If you do not hear back from me please check my status! **I will report even if I fail!**'
48-
})
46+
})

0 commit comments

Comments
 (0)