diff --git a/.github/workflows/validate-catalog.yaml b/.github/workflows/validate-catalog.yaml new file mode 100644 index 0000000..82c1363 --- /dev/null +++ b/.github/workflows/validate-catalog.yaml @@ -0,0 +1,27 @@ +name: Catalog + +on: + pull_request: + branches: + push: + branches: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + validate: + runs-on: ubuntu-latest + defaults: + run: + shell: bash -l {0} + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.10' + - name: validate feedstock entry + uses: leap-stc/data-catalog-actions/leap-catalog@main + with: + single-feedstock: "./feedstock/catalog.yaml" \ No newline at end of file diff --git a/feedstock/catalog.yaml b/feedstock/catalog.yaml new file mode 100644 index 0000000..210587e --- /dev/null +++ b/feedstock/catalog.yaml @@ -0,0 +1,9 @@ +# All the information important to cataloging. +"ncviewjs:meta_yaml_url": "https://github.com/leap-stc/cmip6-leap-feedstock/blob/main/feedstock/meta.yaml" +tags: + - cmip6 + - gcs + - zarr +links: + - label: DOI + url: https://zenodo.org/badge/latestdoi/618127503