File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 2929 # We grep for Copyright, then pipe to grep for Jamf to ensure they are on the same line.
3030 if ! grep "Copyright" "$file" | grep -q "Jamf"; then
3131 echo "::error file=$file::Missing 'Copyright' and 'Jamf' on the same line."
32+ echo "File: ${file}"
3233 missing_reqs=1
3334 fi
3435
@@ -39,12 +40,14 @@ jobs:
3940 # Requirement 2: Specific license string
4041 if ! grep -Fq "This work is licensed under the terms of the Jamf Source Available License" "$file"; then
4142 echo "::error file=$file::Missing 'This work is licensed under the terms of the Jamf Source Available License'"
43+ echo "File: ${file}"
4244 missing_reqs=1
4345 fi
4446
4547 # Requirement 3: License URL
4648 if ! grep -Fq "https://github.com/jamf/scripts/blob/main/LICENCE.md" "$file"; then
4749 echo "::error file=$file::Missing 'https://github.com/jamf/scripts/blob/main/LICENCE.md'"
50+ echo "File: ${file}"
4851 missing_reqs=1
4952 fi
5053 fi
You can’t perform that action at this time.
0 commit comments