Skip to content

Conversation

modalkonform
Copy link
Contributor

The LoveToKnow/slackify-markdown-action fails if text input is empty.
So it's only called if the respective env var is set.

In the actual call to action-slack-notify i overwrite empty values of those custom env vars with the default message SLACK_MESSAGE because otherwise the messages would be empty since the implementation of envOrin main.go only checks if the env var is set and not if the value is an empty string.

It's not beautiful but it's a limitation of the fact that GITHUB_ENV cannot be overwritten in composite workflows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant