From f4438fae720a5b02a4fa4dc2f52b70d77c1dca00 Mon Sep 17 00:00:00 2001 From: Mikkel Jakobsen Date: Fri, 17 May 2024 10:12:39 +0200 Subject: [PATCH] Add summary to create-cms-pr workflow --- .github/workflows/create-cms-pr.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/create-cms-pr.yml b/.github/workflows/create-cms-pr.yml index 24e4a5c2a6..e11e960a19 100644 --- a/.github/workflows/create-cms-pr.yml +++ b/.github/workflows/create-cms-pr.yml @@ -23,8 +23,10 @@ jobs: echo "RELEASE_DOWNLOAD_URL=$RELEASE_DOWNLOAD_URL" >> $GITHUB_ENV echo "DEPENDENCY_PACKAGE=$DEPENDENCY_PACKAGE" >> $GITHUB_ENV - name: Invoke external PR workflow + id: invoke_external_pr_workflow uses: fjogeleit/http-request-action@v1 with: + # TODO: remove hardcoded org/repo url: 'https://api.github.com/repos/reload/poc-dpl-cms-pr-trigger/dispatches' method: 'POST' customHeaders: | @@ -41,3 +43,8 @@ jobs: "dependency_package": "${{ env.DEPENDENCY_PACKAGE }}" } } + - name: Adding summary + # TODO: remove hardcoded org/repo + run: | + echo "Requested external PR at: reload/poc-dpl-cms-pr-trigger" >> $GITHUB_STEP_SUMMARY + if: ${{ steps.invoke_external_pr_workflow.outcome == 'success' }}