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 2f078ee commit f4438fa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 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,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' }}

0 comments on commit f4438fa

Please sign in to comment.