GitHub Action
File detection
v0.3.0
Latest version
GitHub action which detects some flies in the repo and returns appropriate exit code
Required Find-like wildcard to find files\directories.
Optional Type of find command. Supported values: f (file), d (directory), l (link), p (pipe), s (socket). Defaults to f
.
Optional Exit code for non-empty find result. Defaults to 0
.
Optional Exit code for empty find result. Defaults to 0
.
Optional Base directory to find files in. Defaults to ./
.
Found items (files, directories etc.)
- name: Find all JS files and fail if found
uses: DovnarAlexander/github-action-file-detection@master
with:
wildcard: '*.js'
exit_code_found: 1
exit_code_not_found: 0
base_path: test