A centralized repository for custom GitHub Actions used across the bcgov organization.
To maintain "Boss Level" consistency across all our actions, every PR should:
- Pass Linting: All
.shfiles must passshellcheck. - Include Functional Tests: Add or update a workflow in
.github/workflows/that exercises the action (usedry_run: truewhere appropriate). - Verify Outputs: Don't just check if it "ran"—verify that the
outputsare actually what you expect.
Find CODEOWNERS and coordinate notifications (GitHub Issues) on job failures.
- Icon:
alert-circle(red) - Uses:
bcgov/actions/workflow-notifier@v1
Use the included scaffolding script to create a new action following our standards.
```bash
chmod +x scaffold.sh ./scaffold.sh "Optional description" ```
This will:
- Create a new directory.
- Seed it with the standard `action.yml`.
- Provide a base `action.sh` script.
- Generate a starter `README.md`.
- Standard Inputs: All actions SHOULD support `token` and `debug` inputs.
- Bash-First: Prefer Composite Actions calling dedicated shell scripts (`action.sh`) for simple logic.
- Consistent Branding: Icons/Colors should reflect purpose (Build = blue, Fail/Alert = red).