Skip to content

Throw an error, do not just log an error, if provided schema is not legit #456

Throw an error, do not just log an error, if provided schema is not legit

Throw an error, do not just log an error, if provided schema is not legit #456

Workflow file for this run

---
name: Validation
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
# Validate CITATION.cff
validate_cff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3
- name: Validate CITATION.cff
run: pipx run cffconvert --validate
check_change_log:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check for changes in changelog
env:
BASE_REF: ${{ github.event.pull_request.base.ref }}
NO_CHANGELOG_LABEL: ${{ contains(github.event.pull_request.labels.*.name, 'no changelog') }}
run: .github/scripts/scriv_check.sh
shell: bash