Skip to content

Commit cf898d3

Browse files
authored
Merge branch 'main' into codecov
2 parents e072815 + c8cc508 commit cf898d3

39 files changed

+613
-382
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run: /bin/date -u "+%U" > cachedate.txt
2323
shell: bash
2424

25-
- uses: actions/setup-python@v5
25+
- uses: actions/setup-python@v6
2626
with:
2727
python-version: "${{ matrix.py }}"
2828
cache: "pip"
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: ubuntu-latest
4242
steps:
4343
- uses: actions/checkout@v5
44-
- uses: actions/setup-python@v5
44+
- uses: actions/setup-python@v6
4545
with:
4646
python-version: "3.x"
4747
- name: install requirements
@@ -72,7 +72,7 @@ jobs:
7272
run: /bin/date -u "+%U" > cachedate.txt
7373
shell: bash
7474

75-
- uses: actions/setup-python@v5
75+
- uses: actions/setup-python@v6
7676
id: setup-python
7777
with:
7878
python-version: ${{ matrix.py }}
@@ -111,7 +111,7 @@ jobs:
111111
name: "Collate results to check for skipped tests"
112112
steps:
113113
- uses: actions/checkout@v5
114-
- uses: actions/setup-python@v5
114+
- uses: actions/setup-python@v6
115115
with:
116116
python-version: "3.x"
117117
# download everything
@@ -134,7 +134,7 @@ jobs:
134134
run: /bin/date -u "+%U" > cachedate.txt
135135
shell: bash
136136

137-
- uses: actions/setup-python@v5
137+
- uses: actions/setup-python@v6
138138
id: setup-python
139139
with:
140140
python-version: "3.x"
@@ -163,7 +163,7 @@ jobs:
163163
run: /bin/date -u "+%U" > cachedate.txt
164164
shell: bash
165165

166-
- uses: actions/setup-python@v5
166+
- uses: actions/setup-python@v6
167167
with:
168168
python-version: "3.x"
169169
cache: "pip"

.github/workflows/cron.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v5
14-
- uses: actions/setup-python@v5
14+
- uses: actions/setup-python@v6
1515
with:
1616
python-version: '3.x'
1717

.github/workflows/publish_to_pypi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
steps:
1212
- uses: actions/checkout@v5
13-
- uses: actions/setup-python@v5
13+
- uses: actions/setup-python@v6
1414
with:
1515
python-version: "3.11"
1616

.github/workflows/publish_to_test_pypi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v5
20-
- uses: actions/setup-python@v5
20+
- uses: actions/setup-python@v6
2121
with:
2222
python-version: "3.11"
2323

.pre-commit-hooks.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,20 @@
155155
)$
156156
types: [yaml]
157157

158+
# this hook is autogenerated from a script
159+
# to modify this hook, update `src/check_jsonschema/catalog.py`
160+
# and run `make generate-hooks` or `tox run -e generate-hooks-config`
161+
- id: check-github-issue-config
162+
name: Validate GitHub issue config
163+
description: 'Validate GitHub issue config against the schema provided by SchemaStore'
164+
entry: check-jsonschema --builtin-schema vendor.github-issue-config
165+
language: python
166+
files: >
167+
(?x)^(
168+
^\.github/ISSUE_TEMPLATE/config\.yml$
169+
)$
170+
types: [yaml]
171+
158172
# this hook is autogenerated from a script
159173
# to modify this hook, update `src/check_jsonschema/catalog.py`
160174
# and run `make generate-hooks` or `tox run -e generate-hooks-config`

.readthedocs.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ build:
88
tools:
99
python: "3.13"
1010

11-
python:
12-
install:
13-
- method: pip
14-
path: .
15-
extra_requirements:
16-
- docs
11+
jobs:
12+
install:
13+
- pip install -U pip
14+
- pip install . --group 'docs'

CHANGELOG.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ Unreleased
99
----------
1010

1111
.. vendor-insert-here
12-
13-
- Add GitHub issue form schema and pre-commit hook (:issue:`588`).
14-
- Add Codecov config schema and pre-commit hook.
12+
- Update vendored schemas: bitbucket-pipelines, buildkite, compose-spec, dependabot,
13+
drone-ci, github-issue-forms, gitlab-ci, meltano, mergify, renovate, snapcraft,
14+
woodpecker-ci (2025-09-17)
15+
- Add GitHub issue config schema and pre-commit hook. Thanks :user:`vivodi`! (:issue:`589`).
16+
- Add GitHub issue form schema and pre-commit hook. Thanks :user:`vivodi`! (:issue:`588`).
17+
- Add Codecov config schema and pre-commit hook. Thanks :user:`vivodi`! (:pr:`598`)
1518

1619
0.33.3
1720
------

docs/precommit_usage.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,20 @@ Validate GitHub Actions against the schema provided by SchemaStore
197197
- id: check-github-actions
198198
199199
200+
``check-github-issue-config``
201+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
202+
203+
Validate GitHub issue config against the schema provided by SchemaStore
204+
205+
.. code-block:: yaml
206+
:caption: example config
207+
208+
- repo: https://github.com/python-jsonschema/check-jsonschema
209+
rev: 0.33.3
210+
hooks:
211+
- id: check-github-issue-config
212+
213+
200214
``check-github-issue-forms``
201215
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
202216

docs/usage.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ SchemaStore and other sources:
9797
- ``vendor.dependabot``
9898
- ``vendor.drone-ci``
9999
- ``vendor.github-actions``
100+
- ``vendor.github-issue-config``
100101
- ``vendor.github-issue-forms``
101102
- ``vendor.github-workflows``
102103
- ``vendor.gitlab-ci``

pyproject.toml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22
requires = ["setuptools>=61.2"]
33
build-backend = "setuptools.build_meta"
44

5+
[dependency-groups]
6+
dev = [
7+
"pytest<9",
8+
'click-type-test==1.1.0;python_version>="3.10"',
9+
"coverage<8",
10+
"identify>=2.6.9",
11+
"pytest-xdist<4",
12+
"responses==0.25.7",
13+
]
14+
docs = [
15+
"sphinx<9",
16+
"sphinx-issues<6",
17+
"furo==2025.7.19",
18+
]
19+
520
[project]
621
name = "check-jsonschema"
722
version = "0.33.3"
@@ -32,21 +47,6 @@ content-type = "text/markdown"
3247
[project.urls]
3348
Homepage = "https://github.com/python-jsonschema/check-jsonschema"
3449

35-
[project.optional-dependencies]
36-
dev = [
37-
"pytest<9",
38-
'click-type-test==1.1.0;python_version>="3.10"',
39-
"coverage<8",
40-
"identify>=2.6.9",
41-
"pytest-xdist<4",
42-
"responses==0.25.7",
43-
]
44-
docs = [
45-
"sphinx<9",
46-
"sphinx-issues<6",
47-
"furo==2025.7.19",
48-
]
49-
5050
[project.scripts]
5151
check-jsonschema = "check_jsonschema:main"
5252

0 commit comments

Comments
 (0)