Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@action-validator/core

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@action-validator/core - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

2

package.json

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc