diff --git a/action.yml b/action.yml index 9ed4c78..7fd736e 100644 --- a/action.yml +++ b/action.yml @@ -56,7 +56,7 @@ runs: GITHUB_ACTION_PATH: ${{ github.action_path }} - name: Send message - if: inputs.message != '' + if: inputs.message != '' && status == '' run: sendMessage "${{ inputs.bot_token }}" ${{ inputs.chat_id }} "${{inputs.prefix}}${{ inputs.message }}" shell: bash