Commit Graph

13 Commits

Author SHA1 Message Date
Chris Farhood 2d7f2e1b74 fix(pr-validation): fetch PR head refs instead of branch name
Prior --depth=1 fetch of $HEAD_REF fails because shallow clone
doesn't bring in the PR head branch as a ref.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-16 21:47:13 +00:00
Chris Farhood b9518df713 fix(pr-validation): install shellcheck via wget instead of apt-get
The act runner container runs as root and apt-get may not be available
or require sudo. Download the pre-built binary tarball directly instead.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-16 21:41:56 +00:00
Chris Farhood adcce5a531 fix(pr-validation): remove sudo from shellcheck install
The act runner container runs as root and does not have sudo
installed, causing CI job 187 to fail with "sudo: command not found".

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-16 21:08:24 +00:00
Chris Farhood d52283dc35 fix(actionlint): replace curl with wget, fix secrets.GITEA_TOKEN references
- pr-validation.yaml: Use env block to avoid github.head_ref/github.base_ref
  as shell expressions in run block (actionlint error)
- plugin-release.yaml: Replace remaining 6x secrets.GITEA_TOKEN with
  secrets.GITEA_RELEASE_TOKEN (lines 186, 218, 293, 310, 343, 401)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 10:42:57 +00:00
Chris Farhood 42e3b8d08f fix(pr-validation): install wget before downloading actionlint
Install wget via apt-get before using it for actionlint download.
The act runner ubuntu-latest image may not have wget pre-installed.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-16 04:28:07 +00:00
Chris Farhood bc9e2a32fb fix(pr-validation): replace curl with wget for actionlint install
The act runner container does not have curl in PATH.
Using wget instead fixes the CI validate check.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 03:43:05 +00:00
Chris Farhood 8a70d36418 fix(pr-validation): add head_ref fetch to checkout step (PRI-1588)
The checkout step was missing git fetch for github.head_ref,
causing "unable to read tree" errors on PRs since the PR head SHA
is not on main.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-16 02:55:04 +00:00
Hugh Hackman bff9014cf8 fix: update runner label from local-ubuntu-latest to runners-privilegedescalation
ARC runner scale set was recreated on 2026-03-19 with label
`runners-privilegedescalation` but all shared workflows still referenced
`local-ubuntu-latest`. This label mismatch caused startup_failure on
every Release workflow and queued CI jobs with no runner to pick them up.

Updates all 4 workflows and the actionlint config to match the current
ARC runner scale set label.

Closes #27
2026-03-19 20:11:51 +00:00
Hugh Hackman 2a53ce8a7d fix: install shellcheck via apt-get (runner lacks xz for tar.xz)
The self-hosted runner doesn't have xz installed, so extracting the
shellcheck tar.xz release fails. Use apt-get install instead.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-19 00:12:59 +00:00
Hugh Hackman 17cfc6033f fix: install shellcheck in PR validation workflow
The shellcheck step fails with "command not found" because shellcheck
is not installed on the runner. Install it from GitHub releases, same
pattern as the actionlint install step.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-19 00:11:42 +00:00
hugh-hackman[bot] b6f97bf481 fix: remove || true from shellcheck step per QA review 2026-03-19 00:06:49 +00:00
Hugh Hackman cf887e7658 fix: install actionlint to user-writable path
The runner doesn't have write access to /usr/local/bin. Install to
$HOME/.local/bin instead and add it to GITHUB_PATH.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-18 11:58:57 +00:00
Hugh Hackman b34c87b376 feat: add PR validation workflow for YAML and script linting
The .github repo had no CI running on pull requests — PRs merged without
any validation. This adds actionlint for workflow YAML and shellcheck for
scripts in .github/scripts/, triggered on PRs to main.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-18 11:57:10 +00:00