name: Slack Notification on: workflow_call: secrets: SLACK_WEBHOOK_URL: required: true jobs: notify: runs-on: ubuntu-latest environment: workflow_prod steps: - name: Checkout uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v4 with: python-version: "3.10" - name: Install dependencies run: pip install requests - name: Send Slack notification run: python macros/python/slack_alert.py env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}