ci / node (pull_request) Skipped
ci / version (pull_request) Skipped
ci / docker-build (pull_request) Skipped
ci / publish (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m7s
ci / announce (pull_request) Skipped
A release event runs the workflow as it was at the tag, so re-running a failed announcement repeats the failure even after main is fixed. A manual run takes the tag and uses main's workflow; the action already accepts it.
27 lines
926 B
YAML
27 lines
926 B
YAML
# Announce each published release on the community forum, in this project's
|
|
# Announcements category (coffey-labs/actions discourse-release; the repo ->
|
|
# category map is its release-map.json). Safe to re-run: one topic per tag.
|
|
# Run it by hand with a tag to announce a release whose own run failed: a
|
|
# release event runs the workflow as it was at the tag, so a fix on main only
|
|
# reaches an old release this way.
|
|
name: announce
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
workflow_dispatch:
|
|
inputs:
|
|
tag:
|
|
description: release tag to announce, e.g. inbuxa-v2026.10.5-g17a8093
|
|
required: true
|
|
|
|
jobs:
|
|
announce:
|
|
runs-on: light
|
|
steps:
|
|
- uses: coffey-labs/actions/discourse-release@9282c6f27303f4eb9d61d6aee6daa444c11d7268
|
|
with:
|
|
api-key: ${{ secrets.DISCOURSE_RELEASE_KEY }}
|
|
discord-webhook: ${{ secrets.DISCORD_RELEASE_WEBHOOK }}
|
|
tag: ${{ inputs.tag }}
|