We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f81362 commit 92f20c1Copy full SHA for 92f20c1
.github/workflows/release.yml
@@ -78,9 +78,9 @@ jobs:
78
git push --force origin temp-build-branch
79
80
- name: Trigger Create Release Workflow
81
- uses: benc-uk/workflow-dispatch@v1
82
- with:
83
- workflow: dist-pr.yml
84
- ref: 'temp-build-branch'
85
- token: ${{ secrets.GH_MERGE_TOKEN }} # Use the same token that pushed, it needs 'workflows: write' permissions
86
- inputs: '{ "source_run_id": "${{ github.run_id }}" }' # Optional: Pass the run ID for traceability
+ run: |
+ curl -X POST \
+ -H "Authorization: Bearer ${{ secrets.GH_APPROVE_TOKEN }}" \
+ -H "Accept: application/vnd.github.v3+json" \
+ https://api.github.com/repos/googlemaps-samples/js-api-samples/actions/workflows/dist-pr.yml/dispatches \
+ -d '{"ref":"main"}'
0 commit comments