diff --git a/.github/actions/slack/action.yml b/.github/actions/slack/action.yml index 1a41d3af..bede0000 100644 --- a/.github/actions/slack/action.yml +++ b/.github/actions/slack/action.yml @@ -14,6 +14,7 @@ runs: steps: - name: Send custom JSON data to Slack workflow id: slack + if: inputs.CHANNEL != '' && inputs.MESSAGE != '' uses: slackapi/slack-github-action@v1.27.0 with: payload: |