mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
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:
parent
a36f3e2d3e
commit
d8c2ae88cd
4 changed files with 43 additions and 2 deletions
8
scripts/validate-workflows.sh
Normal file
8
scripts/validate-workflows.sh
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue