1name: Notify Slack
2inputs:
3  token:
4    required: true
5runs:
6  using: composite
7  steps:
8    - shell: bash
9      run: >-
10        curl -X POST -H 'Content-type: application/json' --data '{"attachments": [{"text": "Job in *nightly* failed", "footer": "<https://github.com/php/php-src/actions/runs/${{ github.run_id }}|View Run>", "color": "danger", "mrkdwn_in": ["text"]}]}' ${{ inputs.token }}
11