Skip to content

Commit

Permalink
Add summary to create-cms-pr workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
spaceo committed May 17, 2024
1 parent 5fe32f8 commit bbd2811
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/create-cms-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -41,3 +43,9 @@ 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
echo 'Based on the <a href="/tree/${{ env.RELEASE_BRANCH }}"${{ env.RELEASE_BRANCH }}></a> branch' >> $GITHUB_STEP_SUMMARY
if: ${{ steps.invoke_external_pr_workflow.outcome == 'success' }}

0 comments on commit bbd2811

Please sign in to comment.