@@ -5,20 +5,20 @@ on: pull_request_target
55jobs :
66 run :
77 runs-on : ubuntu-latest
8-
9- steps :
10- - uses : actions/github-script@v7
11- with :
12- github-token : ${{ secrets.GITHUB_TOKEN }}
13- script : |
14- const pr = context.payload.pull_request || {};
15- await github.rest.repos.createDispatchEvent({
16- owner: 'ltx-simulation',
17- repo: 'ModelicaStandardLibrary',
18- event_type: 'CI_trigger_type',
19- client_payload: {
20- number: context.payload.number,
21- head_sha: pr.head?.sha ?? null,
22- base_sha: pr.base?.sha ?? null,
23- }
24- });
8+ run_CI :
9+ steps :
10+ - uses : actions/github-script@v7
11+ with :
12+ github-token : ${{ secrets.GITHUB_TOKEN }}
13+ script : |
14+ const pr = context.payload.pull_request || {};
15+ await github.rest.repos.createDispatchEvent({
16+ owner: 'ltx-simulation',
17+ repo: 'ModelicaStandardLibrary',
18+ event_type: 'CI_trigger_type',
19+ client_payload: {
20+ number: context.payload.number,
21+ head_sha: pr.head?.sha ?? null,
22+ base_sha: pr.base?.sha ?? null,
23+ }
24+ });
0 commit comments