From 5554dc1e826b3f2d594b5813c86bd37941b814c6 Mon Sep 17 00:00:00 2001 From: s3rj1k Date: Tue, 3 Dec 2024 19:55:05 +0100 Subject: [PATCH] Slack action, add none-empty input verification --- .github/actions/slack/action.yml | 1 + 1 file changed, 1 insertion(+) 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: |