Skip to content

chore(ci): migrate workflows to consolidated action suites - #490

Merged
DerekRoberts merged 2 commits into
mainfrom
chore/consolidate-actions
Sep 18, 2026
Merged

DerekRoberts merged 2 commits into
mainfrom
chore/consolidate-actions

Conversation

@DerekRoberts

@DerekRoberts DerekRoberts commented Sep 18, 2026 •

Copy link
Copy Markdown
Member

Migrate CI/CD workflows to bcgov/actions@v0.7.0 and bcgov/actions-openshift@v0.3.0, pinned to full commit SHAs per portfolio standards:

  • .deploy.yml: Replace standalone bcgov/action-crunchy and bcgov/action-oc-runner with bcgov/actions-openshift/crunchy and bcgov/actions-openshift/oc-runner.

  • pr-open.yml: Replace bcgov/action-builder-ghcr with bcgov/actions/builder, and adopt bcgov/actions/workflow-results for consolidated gate reporting.

  • pr-close.yml: Replace helper workflow bcgov/quickstart-openshift-helpers/.github/workflows/.pr-close.yml and bcgov/action-crunchy with bcgov/actions-openshift/.github/workflows/.pr-close.yml and bcgov/actions-openshift/crunchy.

  • pr-validate.yml: Replace helper workflow with bcgov/actions/pr-validate and bcgov/actions/workflow-results.

  • analysis.yml: Adopt bcgov/actions/workflow-results and quote shell variables.

  • Java

  • Py

Copilot AI lite review requested due to automatic review settings September 18, 2026 19:42

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.

🟡 Changes recommended

The reusable deploy workflow and PR-close workflow contain inconsistent secret/variable context names that will likely evaluate to empty at runtime and break authentication to OpenShift/Crunchy actions.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This PR migrates several GitHub Actions workflows to the consolidated bcgov/actions@v0.7.0 and bcgov/actions-openshift@v0.3.0 suites, replacing older standalone actions and helper reusable workflows while keeping action references pinned to full commit SHAs.

Changes:

  • Replaced legacy bcgov/action-* actions with bcgov/actions/* and bcgov/actions-openshift/* equivalents across PR and deploy workflows.
  • Introduced bcgov/actions/workflow-results for consolidated “gate”/results reporting in PR open/validate and analysis workflows.
  • Updated the PR validate workflow to run as a standard job with bcgov/actions/pr-validate steps (instead of a helper reusable workflow).
File summaries
File Description
.github/workflows/pr-validate.yml Replaces helper reusable workflow with bcgov/actions/pr-validate and adds consolidated results reporting.
.github/workflows/pr-open.yml Switches image build action to bcgov/actions/builder and adds consolidated results reporting.
.github/workflows/pr-close.yml Migrates PR-close reusable workflow and Crunchy cleanup action to bcgov/actions-openshift.
.github/workflows/analysis.yml Uses consolidated results reporting and improves shell variable quoting for $GITHUB_PATH.
.github/workflows/.deploy.yml Migrates Crunchy + oc-runner steps to bcgov/actions-openshift actions.
Review details

Suppressed comments (1)

.github/workflows/pr-close.yml:37

  • cleanup_db is using different variable/secret names than the rest of the workflows in this repo (and than this file’s cleanup job). vars.oc_namespace / secrets.oc_token are likely undefined, which would cause the Crunchy step to fail to authenticate. Align these to the existing OC_NAMESPACE / OC_TOKEN names used elsewhere.
          oc_namespace: ${{ vars.oc_namespace }}
          oc_token: ${{ secrets.oc_token }}
          oc_server: ${{ vars.oc_server }}
  • Files reviewed: 5/5 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

Comment thread .github/workflows/.deploy.yml
@DerekRoberts
DerekRoberts merged commit 663e1a4 into main Sep 18, 2026
20 of 22 checks passed
@DerekRoberts
DerekRoberts deleted the chore/consolidate-actions branch September 18, 2026 19:57
@github-project-automation github-project-automation Bot moved this from New to Done in DevOps (NR) Sep 18, 2026
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.

2 participants