Skip to content
swarbricklabPublic

About

Reusable GitHub Actions for CI/CD workflows

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

GitHub Actions Library

Reusable GitHub Actions for common CI/CD workflows in the swarbricklab organization.

Actions

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

Documentation

Quick Start

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@v2

See each action's README for complete examples.

License

MIT

About

Reusable GitHub Actions for CI/CD workflows

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages