Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dcolina authored Aug 30, 2024
1 parent 85eb6d7 commit dee8255
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/actions/core-cicd/notification/notify-slack/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,6 @@ runs:
uses: slackapi/[email protected]
with:
channel-id: ${{ inputs.channel-id }}
payload: ${{ inputs.json == 'true' && inputs.payload || toJSON({
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": inputs.payload
}
}
]
}) }}
payload: ${{ inputs.json == 'true' && inputs.payload || toJSON('{\"blocks\": [{\"type\": \"section\", \"text\": {\"type\": \"mrkdwn\", \"text\": ${{ inputs.payload }} }}]}') }}
env:
SLACK_BOT_TOKEN: ${{ inputs.slack-bot-token }}

0 comments on commit dee8255

Please sign in to comment.