Skip to content

refactor: use suite actions instead of pre-consolidation repos - #48

Merged
DerekRoberts merged 5 commits into
mainfrom
refactor/suite-actions-not-old-repos
Sep 28, 2026
Merged

DerekRoberts merged 5 commits into
mainfrom
refactor/suite-actions-not-old-repos

Conversation

@DerekRoberts

Copy link
Copy Markdown
Member

Stops oc-runner and deployer depending on the pre-consolidation repos, so those repos can be archived without the suite relying on them.

  • oc-runner/action.yml, deployer/action.yml: bcgov/action-diff-triggers@v1.2.1 → bcgov/actions/diff-triggers@4026bfd (v0.8.0).
    • The input github_token is now token (deployer's only change at the call site). triggers, ref and the triggered output are unchanged.
    • The suite's diff-triggers also accepts multiline or YAML-style trigger lists, so deployer callers can use them (old feat: Support standard YAML list syntax for 'triggers' input action-deployer-openshift#149). The bash-array format still works.
    • The old action always ran actions/checkout itself. The suite one clones only when the workspace has no git repo. Both callers check out the target repo through oc-runner right after the diff step, so the files later steps need are still there.
  • deployer/action.yml: bcgov/action-oc-runner@v1.7.0 → $/oc-runner. This is the repo's convention for calling a sibling action (as route-tls, cleanup-pr and .deployer.yml already do), so deployer runs the oc-runner from the same suite release. Every input deployer passes exists in the suite oc-runner with the same meaning. One behaviour change: the suite oc-runner limits commands with its timeout input, but deployer passes no commands.
  • .github/workflows/.deployer.yml: bcgov/action-get-pr@v0.3.1 is left as is. bcgov/actions has no drop-in replacement: image-tracker only returns a PR number as part of resolving images for packages.
  • crunchy/ is intentionally untouched.

Some README text still names the old repos (cleanup-pr/README.md, route-tls/README.md, deployer/README.md badges and a deprecation note). These are docs only, not dependencies, so they're not changed here.

oc-runner and deployer call bcgov/actions/diff-triggers v0.8.0 instead of
bcgov/action-diff-triggers (deployer: github_token -> token), and deployer
calls the sibling $/oc-runner instead of bcgov/action-oc-runner. crunchy is
left alone; .deployer.yml keeps action-get-pr (no suite equivalent).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The pinned versions, inputs, outputs, and sibling-action references are compatible with existing behavior.

Review effort: Balanced
Findings: None

What changed in this PR

Migrates OpenShift actions from legacy repositories to consolidated suite actions.

Changes:

  • Uses the suite’s pinned diff-triggers action and updated token input.
  • Makes deployer use the sibling suite oc-runner.
File Description
oc-runner/​action.yml Migrates diff-trigger dependency.
deployer/​action.yml Migrates diff-trigger and oc-runner dependencies.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@DerekRoberts
DerekRoberts merged commit f317f50 into main Sep 28, 2026
8 checks passed
@DerekRoberts
DerekRoberts deleted the refactor/suite-actions-not-old-repos branch September 28, 2026 20:39
@DerekRoberts DerekRoberts linked an issue Oct 10, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

feat(deployer): accept YAML list or multiline triggers

2 participants