Changeset 54649 for trunk/.github/workflows/slack-notifications.yml
- Timestamp:
- 10/19/2022 06:10:43 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/slack-notifications.yml
r54511 r54649 115 115 - name: Store previous conclusion as an output 116 116 id: previous-conclusion 117 run: echo " ::set-output name=previous_conclusion::${{ steps.previous-attempt-result.outputs.result }}"117 run: echo "previous_conclusion=${{ steps.previous-attempt-result.outputs.result }}" >> $GITHUB_OUTPUT 118 118 119 119 - name: Get the commit message … … 139 139 EOF 140 140 ) 141 echo " ::set-output name=commit_message_escaped::${COMMIT_MESSAGE}"141 echo "commit_message_escaped=${COMMIT_MESSAGE}" >> $GITHUB_OUTPUT 142 142 143 143 - name: Construct payload and store as an output 144 144 id: create-payload 145 run: echo " ::set-output name=payload::{\"workflow_name\":\"${{ github.workflow }}\",\"ref_name\":\"${{ env.CURRENT_BRANCH }}\",\"run_url\":\"https://github.com/WordPress/wordpress-develop/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}\",\"commit_message\":\"${{ steps.commit-message.outputs.commit_message_escaped }}\"}"145 run: echo "payload={\"workflow_name\":\"${{ github.workflow }}\",\"ref_name\":\"${{ env.CURRENT_BRANCH }}\",\"run_url\":\"https://github.com/WordPress/wordpress-develop/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}\",\"commit_message\":\"${{ steps.commit-message.outputs.commit_message_escaped }}\"}" >> $GITHUB_OUTPUT 146 146 147 147 # Posts notifications when a workflow fails.
Note: See TracChangeset
for help on using the changeset viewer.