Download src/php/php-src/.github/actions/notify-slack/action.yml from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 393 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/.github/actions/notify-slack/action.yml
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/.github/actions/notify-slack/action.yml
-
curl -L -o action.yml https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/.github/actions/notify-slack/action.yml
393 Bytes
| 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": "<https://github.com/php/php-src/actions/runs/${{ github.run_id }}|View Run>", "color": "danger", "mrkdwn_in": ["text"]}]}' ${{ inputs.token }} | |