Reusable GitHub Actions for common CI/CD workflows in the swarbricklab organization.
| Action | Description |
|---|---|
| dvc-remote-check | Post the PR DVC diff and validate tracked data is present in one or more remotes |
| qxub-checkout | Clone repository to NCI and checkout branch via QXUB |
| index-path-validation | Validate that index CSV references DVC-tracked paths |
| gussid-schema-validation | Validate GUSSIDs in an index CSV against the GUSSID schema |
| tree-snapshot-validation | Ensure tree snapshot is synchronized with DVC files |
- Authentication Guide - GCP auth with Workload Identity Federation
- Self-Hosted Runners - GCP runner infrastructure
- Creating Actions - How to add new actions
Most actions that interact with GCP require authentication. Add these steps before using the action:
jobs:
your-job:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # Required for WIF
steps:
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2
with:
workload_identity_provider: ${{ secrets.WIF_PROVIDER }}
service_account: ${{ secrets.SERVICE_ACCOUNT }}
- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v2See each action's README for complete examples.
MIT