Files
marqdo-std-text/.woodpecker/release.yml
cflmy 7db401a836
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
Revert "ci: protected publish workflow (#10)"
This reverts commit 5838ba028e, reversing
changes made to 161600102d.
2026-11-27 20:34:39 +08:00

19 lines
801 B
YAML

# Fast-path notification: a completed Gitea release asks the root reconcile
# workflow to check it. The payload is only a hint; the root reconcile verifies
# the release/assets from the authoritative Gitea API. A lost call is recovered
# by the root `release-reconcile` cron.
when:
event: [release]
steps:
notify:
image: git.cflmy.cn/cflmy/marqdo-ci-shell:3.0.0-rc.5
environment:
WOODPECKER_TOKEN:
from_secret: woodpecker_token
commands:
- |
set -eu
test -n "${WOODPECKER_TOKEN:?woodpecker_token secret missing}"
curl -fsS -X POST -H "Authorization: Bearer $WOODPECKER_TOKEN" -H "Content-Type: application/json" -d '{"branch":"main","workflow":"reconcile"}' https://ci.cflmy.cn/api/repos/6/pipelines