forked from bids-standard/bids-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (44 loc) · 1.43 KB
/
validation.yml
File metadata and controls
50 lines (44 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
name: Validation
on:
push:
branches: [main, dev, maint/*]
pull_request:
branches: [main, dev, maint/*]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install the latest version of uv
uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7
- name: Run codespell
run: uvx codespell
validate_cff:
name: Validate CITATION.cff
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Install the latest version of uv
uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7
with:
python-version: 3
- name: Validate CITATION.cff
run: uvx cffconvert --validate
check_change_log:
name: Check changelog
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
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