Repository navigation
fix(ci): harden v1.0.0 workflows for self-hosted runners - #38
Conversation
fbc90f1 to
dca93d2
Compare
|
Reverted |
|
Hi @dipankardas011 @iamimmanuelraj following up on #37. We're tagging v1 of these shared workflows and making this repo public today. While testing the workflows on the self-hosted runners we hit a few questions
cc: @AnuragVasanwala |
There was a problem hiding this comment.
@iamimmanuelraj @dipankardas011
I am approving and merging this PR. Nothing in it blocks the merge. If anything needs an update, please open a follow-up PR and tag us for review.
Notes:
-
Required-input check: The PyYAML loader from #37 read
required: trueas text, sobin/check-workflows.shpassed even when an example left out required inputs. This PR restores the check with a pinned, checksum-verifiedyq. -
Runner expression: Next, we will add a
runs-on: ${{ ... }}expression, so private callers getself-hostedand public callers getubuntu-latest. The runner scanner flags${{in private repos, so we will make this repo public before that change merges. -
Other orgs: The ARC runners are registered to the rtCamp org only. Callers in other orgs, such as VIP, will need
runner: ubuntu-latest. -
Runner image: If feasible you please add these to the ARC image?
- Docker Compose v2: wp-env needs it, and a client project's CI currently installs it inside the job.
svn:cd-wp-orgneeds it for WordPress.org deploys, and #38's runner notes list it as missing.
-
Reviews: For future changes on this repo, could you please add <@AnuragVasanwala> and <@adi-tya> as reviewers?
What this PR does
PR #37 moved every job to
runs-on: [self-hosted], but the ARC runner pods are a minimalUbuntu 24.04 image with no AWS CLI, no
yqand nopip— so the deploy and self-check jobscould not run at all, and
wp-cd.ymlmerged after the sweep still carriedubuntu-latest.This makes every workflow actually work on those runners, and makes the runner rules and two
silent-failure bugs enforceable instead of documented.
Changes
runner enforcement pass (fix: enforce self-hosted runners in workflows #37) and was the only job left on
ubuntu-latest.
turned every boolean into a string, so
required == truenevermatched and the required-input check found 0 of 18.
policy allow-list, so a GitHub-hosted label can't slip in again.
runners ship none) and pin actions/setup-python to its v5.6.0 SHA.
has none; the self-hosted runners do not ship one.
when the diff cannot run instead of reporting zero changes and
skipping every job green.
resolved to v3.0.0, which needs wp-cli ^3.0 and fails on wp-env's 2.12.
dated 2026-09-30 with the fixes above.