diff --git a/.github/actions/send_slack_notifications/action.yml b/.github/actions/send_slack_notifications/action.yml index 0c7032859..c8a1dba15 100644 --- a/.github/actions/send_slack_notifications/action.yml +++ b/.github/actions/send_slack_notifications/action.yml @@ -14,6 +14,10 @@ runs: using: composite steps: - name: Send Slack Notification on Package Update + env: + SLACK_WEBHOOK_PACKAGE_UPDATE: ${{ inputs.SLACK_WEBHOOK_PACKAGE_UPDATE }} + PR_TITLE: ${{ inputs.PR_TITLE }} + TAGS: ${{ inputs.TAGS }} run: | curl -X POST -H 'Content-type: application/json' \ --data '{ @@ -29,17 +33,17 @@ runs: "type": "section", "text": { "type": "mrkdwn", - "text": "*${{ inputs.PR_TITLE }}*" + "text": "*$PR_TITLE*" } }, { "type": "section", "text": { "type": "mrkdwn", - "text": "*Packages released:*\n- *${{ inputs.TAGS }}*\n*Changelog:* https://github.com/regentmarkets/flutter-deriv-packages/blob/master/CHANGELOG.md" + "text": "*Packages released:*\n- *$TAGS*\n*Changelog:* https://github.com/regentmarkets/flutter-deriv-packages/blob/master/CHANGELOG.md" } } ] }' \ - ${{ inputs.SLACK_WEBHOOK_PACKAGE_UPDATE }} + $SLACK_WEBHOOK_PACKAGE_UPDATE shell: bash