This action makes your workflow fail when it finds a certain query in your files.
Required The query to search for. E.g.: "cancelled,other term"
The folder to exclude. Default "node_modules,.git,build,.tmp,tmp"
(add more in a PR if we miss obvious ones).
uses: simpleanalytics/fail-on-found-action@v2
with:
query: "cancelled,trailing,other term"
exclude: "node_modules,.git"
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