File tree Expand file tree Collapse file tree 1 file changed +23
-8
lines changed
Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Original file line number Diff line number Diff line change 66jobs :
77 trigger :
88 runs-on : ubuntu-latest
9+ permissions :
10+ actions : write
11+ contents : read
912
1013 steps :
1114 - name : Trigger compile-standalone
12- run : |
13- gh workflow run compile-standalone.yml --repo ${{ github.repository }}
14- env :
15- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
15+ uses : actions/github-script@v7
16+ with :
17+ github-token : ${{ secrets.GITHUB_TOKEN }}
18+ script : |
19+ github.rest.actions.createWorkflowDispatch({
20+ owner: context.repo.owner,
21+ repo: context.repo.repo,
22+ workflow_id: 'compile-standalone.yml',
23+ ref: 'master'
24+ })
1625
1726 - name : Trigger compile-universal
18- run : |
19- gh workflow run compile-universal.yml --repo ${{ github.repository }}
20- env :
21- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27+ uses : actions/github-script@v7
28+ with :
29+ github-token : ${{ secrets.GITHUB_TOKEN }}
30+ script : |
31+ github.rest.actions.createWorkflowDispatch({
32+ owner: context.repo.owner,
33+ repo: context.repo.repo,
34+ workflow_id: 'compile-universal.yml',
35+ ref: 'master'
36+ })
You can’t perform that action at this time.
0 commit comments