Skip to content

simpleanalytics/fail-on-found-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fail on found action

This action makes your workflow fail when it finds a certain query in your files.

Inputs

query search

Required The query to search for. E.g.: "cancelled,other term"

exclude folders

The folder to exclude. Default "node_modules,.git,build,.tmp,tmp" (add more in a PR if we miss obvious ones).

Example usage

uses: simpleanalytics/fail-on-found-action@v2
with:
  query: "cancelled,trailing,other term"
  exclude: "node_modules,.git"

Develop

docker build -t fail . && docker run --name fail -it fail

And after that

docker rm fail && docker build -t fail . && docker run --name fail -it fail