name: Notify Slack inputs: token: required: true runs: using: composite steps: - shell: bash run: >- curl -X POST -H 'Content-type: application/json' --data '{"attachments": [{"text": "Job in *nightly* failed", "footer": "", "color": "danger", "mrkdwn_in": ["text"]}]}' ${{ inputs.token }}