mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
remove check doc and check schema
This commit is contained in:
31
.github/workflows/lint.yml
vendored
31
.github/workflows/lint.yml
vendored
@@ -41,34 +41,3 @@ jobs:
|
|||||||
|
|
||||||
- name: check-jsonschema (metaschema)
|
- name: check-jsonschema (metaschema)
|
||||||
run: check-jsonschema --check-metaschema website/static/schema.json
|
run: check-jsonschema --check-metaschema website/static/schema.json
|
||||||
check_doc:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Get changed files in the docs folder
|
|
||||||
id: changed-files-specific
|
|
||||||
uses: tj-actions/changed-files@v46
|
|
||||||
with:
|
|
||||||
files: website/versioned_docs/**
|
|
||||||
|
|
||||||
- uses: actions/github-script@v7
|
|
||||||
if: steps.changed-files-specific.outputs.any_changed == 'true'
|
|
||||||
with:
|
|
||||||
script: |
|
|
||||||
core.setFailed('website/versioned_docs has changed. Instead you need to update the docs in the website/docs folder.')
|
|
||||||
check_schema:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Get changed files in the docs folder
|
|
||||||
id: changed-files-specific
|
|
||||||
uses: tj-actions/changed-files@v46
|
|
||||||
with:
|
|
||||||
files: |
|
|
||||||
website/static/schema.json
|
|
||||||
website/static/schema-taskrc.json
|
|
||||||
- uses: actions/github-script@v7
|
|
||||||
if: steps.changed-files-specific.outputs.any_changed == 'true'
|
|
||||||
with:
|
|
||||||
script: |
|
|
||||||
core.setFailed('schema.json or schema-taskrc.json has changed. Instead you need to update next-schema.json or next-schema-taskrc.json.')
|
|
||||||
|
Reference in New Issue
Block a user