Skip to content

Conversation

@gsnedders
Copy link
Member

This won't catch all errors, as the schema validation can't actually validate expressions in GitHub Actions (in both workflows and actions).

However, this should cut out many of the badness we (I) have managed to land and only noticed when the workflow first runs.

This won't catch all errors, as the schema validation can't actually
validate expressions in GitHub Actions (in both workflows and
actions).

However, this should cut out many of the badness we (I) have managed
to land and only noticed when the workflow first runs.
@gsnedders gsnedders force-pushed the github-schema-validation branch from bd2fa97 to 10fd043 Compare October 18, 2024 22:00

- name: '.github/dependabot.yml'
if: ${{ hashFiles('.github/dependabot.yml') != '' }}
uses: cardinalby/schema-validator-action@v3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess, but I'd prefer to have a command line script one could run locally, instead of having an extra third party dependency (on the action) and needing to push to GH for the validation to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants