Skip to content

hf-krechan/bom-check

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bom-check actions

This action checks for BOM in specified path by running grep -rlI $'\xEF\xBB\xBF' $1. If there is BOM in any of the files in the path the action fails. Only non-binary files are checked.

By default the actions checks root of the repository (.). To change the path edit jobs.<job>.steps.with.path

Example workflow

# main.yml
name: CI

on:
  push:
    branches:
      - master
  pull_request: ~

jobs:
  test-bom-check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master

      - uses: arma-actions/bom-check@v1
        name: Check for BOM
        # with:
          # path: 'addons'

About

Check for BOM in specified path

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 62.7%
  • Dockerfile 37.3%