Skip to content

Commit c6a9fa0

Browse files
committed
Final version of license check.
Final version of license check.. Final version of license check... Final version of license check....
1 parent 3622820 commit c6a9fa0

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/reusable_checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ jobs:
5353

5454
- name: Run check-license
5555
run: |
56-
bash ./check_license/check-headers.sh ./ "Apache-2.0 WITH LLVM-exception" -v
56+
bash ./check_license/check-headers.sh . "Apache-2.0 WITH LLVM-exception" -v
5757
5858
- name: Run copyright-format
5959
run: |
60-
bash ./check_license/check-headers.sh ./ "Apache-2.0 WITH LLVM-exception" -d
60+
bash ./check_license/check-headers.sh . "Apache-2.0 WITH LLVM-exception" -d
6161
6262
- name: Run a spell check
6363
uses: crate-ci/typos@b63f421581dce830bda2f597a678cb7776b41877 # v1.18.2

check_license/check-headers.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,12 @@ fi
8787
FILES=$($GIT $GIT_COMMAND | ${SOURCE_ROOT}/check_license/file-exceptions.sh)
8888

8989
RV=0
90+
9091
for file in $FILES ; do
9192
if [ $VERBOSE -eq 1 ]; then
9293
echo "Checking file: $file"
9394
fi
95+
9496
# The src_path is a path which should be used in every command except git.
9597
# git is called with -C flag so filepaths should be relative to SOURCE_ROOT
9698
src_path="${SOURCE_ROOT}/$file"

check_license/file-exceptions.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)