Skip to content

Commit

Permalink
Ignore all files that shouldn't have licenses (openxla#2031)
Browse files Browse the repository at this point in the history
Unblocks openxla#2029

I ran the license checker with `find` as input instead of `git diff` to
find all the relevant files and exempted the files that don't already
have licenses.
  • Loading branch information
mlevesquedion authored Feb 21, 2024
1 parent 0264c4d commit 0ef9000
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions build_tools/github_actions/lint_check_license.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,19 @@ $(printf "%s\n" "${CHANGED_FILES[@]}")"
echo

SKIPPED_SUFFIXES=(
MODULE.bazel.lock
.bazelversion
.clang-format
.gitignore
.markdownlint.yaml
.md
.mlir
.mlir.bc
.md
.png
.svg
LICENSE
MODULE.bazel.lock
WORKSPACE.bazel
llvm_version.txt
)

UNLICENSED_FILES=()
Expand Down

0 comments on commit 0ef9000

Please sign in to comment.