helios / diffusers /.github /workflows /notify_slack_about_release.yml
Ouzhang's picture
Add files using upload-large-folder tool
94598a8 verified
Raw
History Blame Contribute Delete
510 Bytes
name: Notify Slack about a release
on:
workflow_dispatch:
release:
types: [published]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Notify Slack about the release
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
run: pip install requests && python utils/notify_slack_about_release.py