From c7c8af52e923b37e09fd4220ab8c7f50a255aeed Mon Sep 17 00:00:00 2001 From: Mikkel Jakobsen Date: Thu, 16 May 2024 23:30:42 +0200 Subject: [PATCH] add correct pkg name --- .github/workflows/create-cms-pr.yml | 4 +++- .github/workflows/create-release-on-branch-changes.yml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-cms-pr.yml b/.github/workflows/create-cms-pr.yml index 89425fbba4..52251e61cb 100644 --- a/.github/workflows/create-cms-pr.yml +++ b/.github/workflows/create-cms-pr.yml @@ -18,8 +18,10 @@ jobs: run: | RELEASE_BRANCH=$(jq -r '.release_branch' release-info.json) RELEASE_DOWNLOAD_URL=$(jq -r '.release_download_url' release-info.json) + DEPENDENCY_PACKAGE=$(jq -r '.dependency_package' release-info.json) echo "RELEASE_BRANCH=$RELEASE_BRANCH" >> $GITHUB_ENV echo "RELEASE_DOWNLOAD_URL=$RELEASE_DOWNLOAD_URL" >> $GITHUB_ENV + echo "DEPENDENCY_PACKAGE=$DEPENDENCY_PACKAGE" >> $GITHUB_ENV - name: Invoke external PR workflow uses: fjogeleit/http-request-action@v1 with: @@ -32,6 +34,6 @@ jobs: "client_payload": { "branch": "${{ env.RELEASE_BRANCH }}", "build_url": "${{ env.RELEASE_DOWNLOAD_URL }}", - package: "danskernesdigitalebibliotek/dpl-react" + "dependency_package": "${{ env.DEPENDENCY_PACKAGE }}" } } diff --git a/.github/workflows/create-release-on-branch-changes.yml b/.github/workflows/create-release-on-branch-changes.yml index f60e518004..813bcad606 100644 --- a/.github/workflows/create-release-on-branch-changes.yml +++ b/.github/workflows/create-release-on-branch-changes.yml @@ -86,6 +86,7 @@ jobs: run: | printf '{ "release_branch": "${{ env.RELEASE_BRANCH }}", + "dependency_package": "danskernesdigitalebibliotek/dpl-react", "release_download_url": "https://github.com/reload/poc-dpl-react-pr-trigger/releases/download/${{ env.TAG_NAME }}/${{ env.DIST_FILENAME }}" }' >> release-info.json