File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Dispatch CI
2+
3+ on :
4+ pull_request :
5+ branches : [main]
6+ push :
7+ branches : [main]
8+ workflow_dispatch :
9+
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
12+ cancel-in-progress : true
13+
14+ jobs :
15+ dispatch :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : Trigger CI in paid org
19+ uses : peter-evans/repository-dispatch@v3
20+ with :
21+ token : ${{ secrets.PAID_ORG_PAT }}
22+ repository : localstack/azure-samples-ci
23+ event-type : run-ci
24+ client-payload : >-
25+ {
26+ "sha": "${{ github.event.pull_request.head.sha || github.sha }}",
27+ "ref": "${{ github.head_ref || github.ref_name }}",
28+ "pr_number": "${{ github.event.pull_request.number || '' }}",
29+ "repo": "${{ github.repository }}",
30+ "run_url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
31+ }
You can’t perform that action at this time.
0 commit comments