Skip to content

Commit

Permalink
Add workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
struffel committed Sep 26, 2024
1 parent 52067b5 commit 513579d
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/json-schema.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: JSON Schema Validation
on: [pull_request]
jobs:
validate-json-schema:
name: Validate JSON schema
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Check for any changed json schema files
id: check-for-changed-schemas
uses: tj-actions/changed-files@v41
with:
files: |
json-schema/**.json
- name: Validate JSON Schema
if: steps.check-for-changed-schemas.outputs.any_changed == 'true'
uses: dsanders11/json-schema-validate-action
with:
schema: https://json-schema.org/draft/2020-12/schema
files: json-schema/**.json
14 changes: 14 additions & 0 deletions .github/workflows/markdown-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Markdown Link Validation
on: [pull_request]
jobs:
validate-markdown-links:
name: runner / linkspector
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run linkspector
uses: umbrelladocs/action-linkspector@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
fail_on_error: true

0 comments on commit 513579d

Please sign in to comment.