Skip to content
check-circle

GitHub Action

Snowplow Data Structures CI

v1.0.0 Latest version

Snowplow Data Structures CI

check-circle

Snowplow Data Structures CI

Integrate Snowplow Data Structures API into your CI/CD pipeline

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Snowplow Data Structures CI

uses: snowplow-product/msc-schema-ci-action@v1.0.0

Learn more about this action in snowplow-product/msc-schema-ci-action

Choose a version

Snowplow Data Structures CI GitHub Actions

A set of GitHub Actions for integrating Snowplow's Data Structures CI into your CI/CD pipeline.
To use these you’ll need to be a Snowplow customer, find out more here.

A different action is required depending on the task you want to integrate on your workflow. Currently supported actions are:

Here's an example of using one of the Actions, in this case to check deployments

name: Example workflow using Snowplow's Data Structures CI
on: push
jobs:
  data-structures-check:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Run Snowplow's Data Structures CI
      uses: snowplow-product/msc-schema-ci-action/check@v1
      with:
        organization-id: ${{ env.SNOWPLOW_ORG_ID }}
        api-key: ${{ secrets.SNOWPLOW_API_KEY }}
        manifest-path: 'snowplow-schemas.json'            
        environment: ${{ env.ENVIRONMENT }}

Note: GitHub Actions will not pass on secrets set in the repository to forks being used in pull requests, and so the Snowplow's Data Structures CI actions that require them will fail to run.