Skip to content

Commit 5554dc1

Browse files
committed
Slack action, add none-empty input verification
1 parent f37bc3b commit 5554dc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: .github/actions/slack/action.yml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ runs:
1414
steps:
1515
- name: Send custom JSON data to Slack workflow
1616
id: slack
17+
if: inputs.CHANNEL != '' && inputs.MESSAGE != ''
1718
uses: slackapi/[email protected]
1819
with:
1920
payload: |

0 commit comments

Comments
 (0)