Error: ["{}"] or "{}" when using this action
I used version archive/[email protected] and it is not working.
Tried to upgrade to archive/github-actions-slack@master
I have very simple configuration and I don't understand why it doesn't work. I believe it used to work fine before
- name: Send message to Slack API
uses: archive/github-actions-slack@master
with:
slack-bot-user-oauth-access-token: ${{secrets.SLACK_BOT_OAUTH}}
slack-channel: ${{secrets.SLACK_CHANNEL}}
slack-text: ${{steps.apex.outputs.text}}
slack-optional-icon_emoji: ":fire:"
what is wrong?
Hi @Patlatus
First, have you enabled logging? https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/troubleshooting-workflows/enabling-debug-logging.
Secondly, please review this sample: https://github.com/archive/github-actions-slack/blob/master/.github/workflows/10-slack-fake-build-updates.yml. It simulate getting information from previous step and sending it to slack.
I am struggling to enable logging
Whats the issue?