A centralized repository for custom GitHub Actions and workflows provided to the bcgov organization. These are often consumed as part of the QuickStart for OpenShift.
Lint GitHub Actions workflow files with caching and rate-limit proof execution.
- name: Lint Workflows
uses: bcgov/actions/actionlint@vX.Y.Z # Replace with latest release tagGeneric GHCR container builder with automatic tag management.
- name: Build Container
uses: bcgov/actions/builder-ghcr@vX.Y.Z # Replace with latest release tagChecks git diff for file and path changes to conditionally trigger workflow jobs.
- name: Check Triggers
uses: bcgov/actions/diff-triggers@vX.Y.Z # Replace with latest release tagResolve the Pull Request number for merge queues, squash merges, pushes, and releases.
- name: Get PR Number
uses: bcgov/actions/get-pr@vX.Y.Z # Replace with latest release tagForensic history traversal to resolve stable image SHAs from Tags or SHAs.
- name: Track Images
uses: bcgov/actions/image-tracker@vX.Y.Z # Replace with latest release tagAdd markdown content to Pull Request descriptions dynamically.
- name: Update PR Description
uses: bcgov/actions/pr-description-add@vX.Y.Z # Replace with latest release tagUniversal Test and Analyze with Triggers, SonarCloud, and Multi-Language Support. Supports the following runtimes:
- Node.js: Testing, dependency analysis with Knip, and safe-chain supply scanning (default).
- Java: Maven/Gradle tests and SonarCloud analysis (using input
language: java). - Python: Pytest runs and JUnit XML parsing (using input
language: python).
- name: Test and Analyze
uses: bcgov/actions/test-and-analyse@vX.Y.Z # Replace with latest release tagDeprecated: This Java-specific utility has been consolidated into test-and-analyse. Please migrate to test-and-analyse with language: java specified.
Find CODEOWNERS and coordinate notifications (GitHub Issues) on job failures.
- name: Notify Failures
uses: bcgov/actions/workflow-notifier@vX.Y.Z # Replace with latest release tagNever reference these actions with
@main. Always pin to a release tag (e.g.@v1.2.3) or, better yet, a full commit SHA.Usage examples in this repo intentionally use a placeholder that will not resolve (
@vX.Y.Z). Copy-paste should fail until you look up the latest release and pick a real version.All actions in this repository are versioned and released together as a single suite.