Skip to content

chore(ci): move to consolidated bcgov/actions and actions-openshift - #2882

Draft
DerekRoberts wants to merge 4 commits into
mainfrom
chore/2881-consolidated-actions
Draft

DerekRoberts wants to merge 4 commits into
mainfrom
chore/2881-consolidated-actions

Conversation

@DerekRoberts

@DerekRoberts DerekRoberts commented Oct 11, 2026 •

Copy link
Copy Markdown
Member

Quickstart still uses the separate, older builder, test-and-analyse and deployer actions, which do not support the multiline trigger format.

Moves the workflows to the consolidated, SHA-pinned actions:

  • bcgov/actions/builder v0.9.0 (pr-open.yml)
  • bcgov/actions/test-and-analyse v0.9.0 (analysis.yml); sonar_token is now passed as an input, since the consolidated action reads it from with: rather than the environment
  • bcgov/actions-openshift/deployer v0.4.0 (reusable-deploy.yml)

README references are updated to match. Trigger formats are unchanged here; that follows in #2821.

Closes #2881

@github-actions

Copy link
Copy Markdown

🚀 Deployments Available

@DerekRoberts DerekRoberts self-assigned this Oct 11, 2026
@DerekRoberts DerekRoberts moved this from Active to Waiting in DevOps (NR) Oct 14, 2026
@DerekRoberts DerekRoberts moved this from Waiting to Active in DevOps (NR) Oct 16, 2026
@DerekRoberts DerekRoberts moved this from Active to Next in DevOps (NR) Oct 16, 2026
@DerekRoberts
DerekRoberts marked this pull request as ready for review October 21, 2026 07:01
Copilot AI balanced review requested due to automatic review settings October 21, 2026 07:01
@DerekRoberts DerekRoberts moved this from Next to Active in DevOps (NR) Oct 21, 2026
@DerekRoberts DerekRoberts moved this from Active to Waiting in DevOps (NR) Oct 21, 2026
@DerekRoberts
DerekRoberts marked this pull request as draft October 21, 2026 07:03

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

Duplicate inputs invalidate the Analysis workflow, and deployment parameter handling gives newly initialized databases a predictable password.

3 open issues
What changed in this PR

Migrates CI workflows to consolidated, SHA-pinned bcgov actions, preparing for the multiline trigger migration in #2821.

Changes:

  • Switches builder, analysis, and deployment actions to consolidated repositories.
  • Passes SonarCloud tokens through action inputs.
  • Updates documentation references; trigger formats remain unchanged.
File Description
README.md Updates action references and upstream Knip configuration paths.
.github/​workflows/​reusable-deploy.yml Migrates both deployment steps to the consolidated deployer.
.github/​workflows/​pr-open.yml Migrates the image builder action.
.github/​workflows/​analysis.yml Migrates analysis actions and SonarCloud token inputs.

Review effort: Balanced

sonar_token: ${{ secrets.sonar_token_backend }}
- uses: bcgov/actions/test-and-analyse@79aefe3a7abb2d0d00b1b3ea4cfbf12727a10638 # v0.9.0
with:
sonar_token: ${{ secrets.sonar_token_backend }}
sonar_token: ${{ secrets.sonar_token_frontend }}
- uses: bcgov/actions/test-and-analyse@79aefe3a7abb2d0d00b1b3ea4cfbf12727a10638 # v0.9.0
with:
sonar_token: ${{ secrets.sonar_token_frontend }}
runs-on: ubuntu-26.04
steps:
- uses: bcgov/action-deployer-openshift@e2d60eb9cacceb89c3b97d8dcf0a2c460eea5eab # v4.2.3
- uses: bcgov/actions-openshift/deployer@97cb3f8a5a6d134594c85224d3f593e3c0e90647 # v0.4.0

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Waiting

Development

Successfully merging this pull request may close these issues.

chore(ci): move to consolidated bcgov/actions and actions-openshift

2 participants