ci: remove template expansion in code contexts (#1434)

This commit is contained in:
Daniel Hast
2025-11-04 14:54:03 -05:00
committed by GitHub
parent f943b220d9
commit 6652a2aa90
4 changed files with 47 additions and 28 deletions

View File

@@ -33,12 +33,13 @@ jobs:
- name: Trigger workflows
if: steps.release-plz.outputs.releases_created == 'true'
run: |
gh api repos/${{ github.repository }}/dispatches \
-f "event_type=release-created" \
-F "client_payload[tag]=${{ fromJSON(steps.release-plz.outputs.releases)[0].tag }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ fromJSON(steps.release-plz.outputs.releases)[0].tag }}
run: |
gh api "repos/${GITHUB_REPOSITORY}/dispatches" \
-f "event_type=release-created" \
-F "client_payload[tag]=${tag}"
# Create a PR with the new versions and changelog, preparing the next release.
release-plz-pr: