ci: validate release workflows with act

Add a workflow-validation CI job that installs actionlint and act,
checks the release and Docker workflows against checked-in event
fixtures, and shares the same validation script developers can run
locally.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
JerrettDavis 2026-04-18 15:38:10 -05:00
parent a36f3e2d3e
commit d8c2ae88cd
4 changed files with 43 additions and 2 deletions

View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
actionlint .github/workflows/*.yml
act workflow_dispatch -W .github/workflows/release.yml -e .github/act/dry-run.json -n
act push -W .github/workflows/release.yml -e .github/act/push-feat.json -n
act workflow_dispatch -W .github/workflows/docker.yml -e .github/act/docker-version.json -n