We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a possibility to allowlist/exclude certain files from the check? Like an entire directory, or specific files or specific file endings?
The text was updated successfully, but these errors were encountered:
nearly 2 years after my question I stumbled accross this again. here's my dirty fix
name: Prevent ByteOrderMarks on: push: branches: - main pull_request: { } jobs: bom-check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: arma-actions/bom-check@v1 name: Check for BOM with: path: "$(find \"$1\" -type f ! -path './path/to/a/file/that/is/utf8bomencoded')"
It's a bit hacky and the value of path is used as $1 here:
$1
bom-check/entrypoint.sh
Line 10 in 2c6aad6
Sorry, something went wrong.
No branches or pull requests
Is there a possibility to allowlist/exclude certain files from the check? Like an entire directory, or specific files or specific file endings?
The text was updated successfully, but these errors were encountered: