Skip to content

Commit

Permalink
squash! Add schema validation for the various files in .github
Browse files Browse the repository at this point in the history
We can't pass allowUnusedKeywords: true to the Action, so we need to
just use the entire lax mode, alas.

If we don't, we get:

> Error: Keyword not supported: "x-intellij-enum-metadata" at https://json.schemastore.org/dependabot-2.0.json#
  • Loading branch information
gsnedders committed Oct 18, 2024
1 parent ffc5871 commit b3118cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/github-schema-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
with:
file: '.github/dependabot.yml'
schema: 'https://json.schemastore.org/dependabot-2.0.json'
mode: 'lax'

- name: '.github/actions'
if: ${{ hashFiles('.github/actions/*/action.yml') != '' }}
Expand Down

0 comments on commit b3118cd

Please sign in to comment.