mirror of
https://github.com/ROCm/jax.git
synced 2025-04-16 11:56:07 +00:00

https://opensource.google/documentation/reference/github/services#actions mandates using a specific commit for non-Google actions in workflow files. I used https://github.com/sethvargo/ratchet to update all our workflow files. Example command: `ratchet pin cloud-tpu-ci-nightly.yml` Ratchet appears to also auto-format the YAML files. It makes the diff confusing but I'm ok with the final result.
16 lines
541 B
YAML
16 lines
541 B
YAML
name: Google Chat Release Notification
|
|
on:
|
|
release:
|
|
types: [published]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Google Chat Notification
|
|
run: |
|
|
curl --location --request POST '${{ secrets.RELEASES_WEBHOOK }}' \
|
|
--header 'Content-Type: application/json' \
|
|
--data-raw '{
|
|
"text": "Release ${{github.event.release.name}} at ${{github.event.release.published_at}} by ${{github.event.release.author.login}}. <${{github.event.release.url}}|[github]>"
|
|
}'
|