From fd53efcdf028fbdf420209a52a7efa6ebee7e426 Mon Sep 17 00:00:00 2001 From: lizkrznarich Date: Thu, 4 Apr 2024 17:34:51 -0500 Subject: [PATCH] update ror schema URL to use master branch --- .github/workflows/dev_manual_index.yml | 4 ++-- .github/workflows/dev_pull_request.yml | 2 +- .github/workflows/validate.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dev_manual_index.yml b/.github/workflows/dev_manual_index.yml index ca86ae86a..b832d1103 100644 --- a/.github/workflows/dev_manual_index.yml +++ b/.github/workflows/dev_manual_index.yml @@ -67,7 +67,7 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt if [[ ${{ github.event.inputs.schema-version }} == 'v1' ]]; then - curl https://raw.githubusercontent.com/ror-community/ror-schema/schema-v2/ror_schema.json -o ror_schema.json + curl https://raw.githubusercontent.com/ror-community/ror-schema/master/ror_schema.json -o ror_schema.json if [[ -f "../${{github.event.pull_request.head.ref}}/relationships.csv" ]]; then python run_validations.py -i ../files -v 1 -s ror_schema.json -f ../${{github.event.pull_request.head.ref}}/relationships.csv -p ../files/ --no-geonames else @@ -75,7 +75,7 @@ jobs: fi fi if [[ ${{ github.event.inputs.schema-version }} == 'v2' ]]; then - curl https://raw.githubusercontent.com/ror-community/ror-schema/schema-v2/ror_schema_v2_0.json -o ror_schema_v2_0.json + curl https://raw.githubusercontent.com/ror-community/ror-schema/master/ror_schema_v2_0.json -o ror_schema_v2_0.json if [[ -f "../${{github.event.pull_request.head.ref}}/relationships.csv" ]]; then python run_validations.py -i ../files -v 2 -s ror_schema_v2_0.json -f ../${{github.event.pull_request.head.ref}}/relationships.csv -p ../files/ --no-geonames else diff --git a/.github/workflows/dev_pull_request.yml b/.github/workflows/dev_pull_request.yml index 1c1206424..850f3e508 100644 --- a/.github/workflows/dev_pull_request.yml +++ b/.github/workflows/dev_pull_request.yml @@ -59,7 +59,7 @@ jobs: cd validation-suite python -m pip install --upgrade pip pip install -r requirements.txt - curl https://raw.githubusercontent.com/ror-community/ror-schema/schema-v2/ror_schema_v2_0.json -o ror_schema_v2_0.json + curl https://raw.githubusercontent.com/ror-community/ror-schema/master/ror_schema_v2_0.json -o ror_schema_v2_0.json if [[ -f "../${{github.event.pull_request.head.ref}}/relationships.csv" ]]; then python run_validations.py -i ../files -v 2 -s ror_schema_v2_0.json -f ../${{github.event.pull_request.head.ref}}/relationships.csv -p ../files/ --no-geonames else diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 0c08fc589..a89a80c23 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -53,8 +53,8 @@ jobs: cd validation-suite python -m pip install --upgrade pip pip install -r requirements.txt - curl https://raw.githubusercontent.com/ror-community/ror-schema/schema-v2/ror_schema.json -o ror_schema.json - curl https://raw.githubusercontent.com/ror-community/ror-schema/schema-v2/ror_schema_v2_0.json -o ror_schema_v2_0.json + curl https://raw.githubusercontent.com/ror-community/ror-schema/master/ror_schema.json -o ror_schema.json + curl https://raw.githubusercontent.com/ror-community/ror-schema/master/ror_schema_v2_0.json -o ror_schema_v2_0.json ls ../files/ if [[ ${{ github.event.inputs.schema-version }} == 'v1' ]]; then echo "validating v1"