@action-validator/core
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -8,3 +8,3 @@ { | ||
"description": "Validator for GitHub action and workflow YAML files", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"license": "GPL-3.0-only", | ||
@@ -11,0 +11,0 @@ "repository": { |
@@ -98,4 +98,16 @@ The `action-validator` is a standalone tool designed to "lint" the YAML files | ||
The action-validator can be run in a Github action itself, as a pull request job. See the `actions` job in the [QA workflow](https://github.com/mpalmer/action-validator/tree/main/.github/workflows/qa.yml), in this repository, as an example of how to use action-validator + asdf in a GitHub workflow. | ||
This may seem a little redundant (after all, an action has to be valid in order for GitHub to run it), but this job will make sure that all your _other_ actions are also valid. | ||
This may seem a little redundant (after all, an action has to be valid in order for GitHub to run it), but this job will make sure that all your *other* actions are also valid. | ||
## Using pre-commit | ||
Update your .pre-commit-config.yaml: | ||
``` | ||
repos: | ||
- repo: https://github.com/mpalmer/action-validator | ||
rev: v0.4.0 | ||
hooks: | ||
- id: action-validator | ||
``` | ||
## Pre-commit hook example | ||
@@ -102,0 +114,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2494415
227