announce-release and notify-ci-failure call the ops repo's .gitea reusables at ops v2026.11.4 (c133a00), with ops_ref at the same commit so the notifier script matches, and pass only the secrets each one declares instead of inheriting all of them. notify-ci-failure watches Build, Qodana and Security (SonarCloud is gone). New: notify-release-pipeline reports every Release run to DISCORD_RELEASE_PIPELINE_WEBHOOK. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
852 B
YAML
27 lines
852 B
YAML
name: Notify Release Pipeline
|
|
|
|
# Every finished run of release.yml (success, failure or cancelled) is reported to Discord through
|
|
# the ops repo's notify-release-pipeline.yml. It matches the producer by its exact `name:`, so
|
|
# renaming release.yml's `name: Release` silently breaks this filter.
|
|
# Requires the repository secret DISCORD_RELEASE_PIPELINE_WEBHOOK.
|
|
|
|
on:
|
|
workflow_run:
|
|
workflows: ["Release"]
|
|
types: [completed]
|
|
|
|
permissions:
|
|
contents: read
|
|
actions: read
|
|
|
|
jobs:
|
|
notify:
|
|
permissions:
|
|
contents: read
|
|
actions: read
|
|
uses: poli0981/.github/.gitea/workflows/notify-release-pipeline.yml@c133a00dc7a0bd7bd68253d415758b408d615fa4 # ops v2026.11.4
|
|
with:
|
|
ops_ref: c133a00dc7a0bd7bd68253d415758b408d615fa4
|
|
secrets:
|
|
DISCORD_RELEASE_PIPELINE_WEBHOOK: ${{ secrets.DISCORD_RELEASE_PIPELINE_WEBHOOK }}
|