File tree Expand file tree Collapse file tree 3 files changed +24
-64
lines changed Expand file tree Collapse file tree 3 files changed +24
-64
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -26,14 +26,19 @@ jobs:
26
26
owner : ${{ github.repository_owner }}
27
27
repositories : " codeql-coding-standards-release-engineering"
28
28
29
- - name : Dispatch Matrix Testing Job
29
+ - name : Invoke matrix testing job
30
30
if : ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/test-matrix') && steps.check-write-permission.outputs.has-permission }}
31
- uses : peter-evans/repository-dispatch@v2
32
- with :
33
- token : ${{ steps.generate-token.outputs.token }}
34
- repository : github/codeql-coding-standards-release-engineering
35
- event-type : matrix-test
36
- client-payload : ' {"pr": "${{ github.event.issue.number }}"}'
31
+ env :
32
+ ISSUE_NR : ${{ github.event.issue.number }}
33
+ GH_TOKEN : ${{ steps.generate-token.outputs.token }}
34
+ run : |
35
+ jq -n \
36
+ --arg issue_nr "$ISSUE_NR" \
37
+ '{"issue-nr": $issue_nr}' \
38
+ | \
39
+ gh workflow run pr-compiler-validation.yml \
40
+ --json \
41
+ -R github/codeql-coding-standards-release-engineering
37
42
38
43
- uses : actions/github-script@v6
39
44
if : ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/test-matrix') && steps.check-write-permission.outputs.has-permission }}
Original file line number Diff line number Diff line change @@ -26,14 +26,19 @@ jobs:
26
26
owner : ${{ github.repository_owner }}
27
27
repositories : " codeql-coding-standards-release-engineering"
28
28
29
- - name : Dispatch Performance Testing Job
29
+ - name : Invoke performance test
30
30
if : ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/test-performance') && steps.check-write-permission.outputs.has-permission }}
31
- uses : peter-evans/repository-dispatch@v2
32
- with :
33
- token : ${{ steps.generate-token.outputs.token }}
34
- repository : github/codeql-coding-standards-release-engineering
35
- event-type : performance-test
36
- client-payload : ' {"pr": "${{ github.event.issue.number }}"}'
31
+ env :
32
+ ISSUE_NR : ${{ github.event.issue.number }}
33
+ GH_TOKEN : ${{ steps.generate-token.outputs.token }}
34
+ run : |
35
+ jq -n \
36
+ --arg issue_nr "$ISSUE_NR" \
37
+ '{"issue-nr": $issue_nr}' \
38
+ | \
39
+ gh workflow run pr-performance-testing.yml \
40
+ --json \
41
+ -R github/codeql-coding-standards-release-engineering
37
42
38
43
- uses : actions/github-script@v6
39
44
if : ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/test-performance') && steps.check-write-permission.outputs.has-permission }}
You can’t perform that action at this time.
0 commit comments