Files
softharbor/.gitea/workflows/notify.yml
T
poli0981andClaude Opus 5.5 981e625ca1
CI / build (push) Successful in 3m19s
CI / gates (push) Successful in 1m5s
CI / record (push) Skipped
Reusable / Qodana / Qodana (push) Successful in 3m7s
Qodana / qodana (push) Successful in 3m7s
Reusable / Security / Secrets (gitleaks) (push) Successful in 10s
Reusable / Security / Rust (cargo-deny) (push) Skipped
Reusable / Security / .NET (NuGetAudit) (push) Skipped
Reusable / Security / SAST (Opengrep) (push) Successful in 24s
Reusable / Security / Dependencies (osv-scanner) (push) Successful in 17s
Security / security (push) Successful in 52s
CI / deploy (push) Successful in 1m9s
chore: move the repository to Gitea (D38) (#1)
- ci: move the workflows to Gitea Actions (D38)
- feat(site): source on Gitea, issues and bug reports on the GitLab mirror
- docs: where the project lives now — Gitea, the GitLab mirror, e-mail
- docs: the suite on Gitea — D38, CI/CD rewritten, every GitHub-era claim synced
- fix(ci): what the first Gitea runs found — Qodana and gitleaks
- fix(ci): .gitleaksignore describes the Sonar key instead of quoting it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 05:29:57 +00:00

38 lines
1.3 KiB
YAML

# docs/12 §2 — a published release → Discord.
#
# Publish the Gitea release BY HAND (Releases → the tag → Publish), as docs/13
# §3 says: an event caused by the job token starts no workflow, so a release a
# workflow created would never announce itself. Re-announce with
# Actions → notify → Run workflow and the tag.
#
# Scope note: announce-release.yml reaches DISCORD ONLY. The multi-platform
# notify.py cross-poster consumes /rss.xml on its own schedule (docs/03 §7,
# docs/13 §5), so per-app announcements need no workflow here — only a valid,
# deterministic feed.
name: notify
on:
release:
types: [published]
workflow_dispatch:
inputs:
tag:
description: Release tag to (re-)announce, e.g. v1.5.0
required: true
type: string
permissions: {}
jobs:
announce:
permissions:
contents: read
uses: poli0981/.github/.gitea/workflows/announce-release.yml@8e6582af9a5846b4d8995b26b1421488d29d761b # ops v2026.11.2
with:
tag_override: ${{ inputs.tag || '' }}
# The notifier script is loaded from the same commit as the workflow.
ops_ref: 8e6582af9a5846b4d8995b26b1421488d29d761b
# Only what the announcement needs, never `secrets: inherit`.
secrets:
DISCORD_RELEASES_WEBHOOK: ${{ secrets.DISCORD_RELEASES_WEBHOOK }}