# Action: notify. Prints a notification line (stub for a webhook). # # Inputs consumers set: # status optional default "info" # message optional default "pipeline step finished" # # Needs: bash on the runner. name: notify description: Prints a notification line inputs: status: description: Status word in the message required: false default: info message: description: Message text required: false default: pipeline step finished runs: using: composite steps: - name: Run notify.sh shell: bash env: NOTIFY_STATUS: ${{ inputs.status }} NOTIFY_MESSAGE: ${{ inputs.message }} run: '"${{ github.action_path }}/../../scripts/notify.sh" "$NOTIFY_STATUS" "$NOTIFY_MESSAGE"'