We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ff6256 commit 6236dd4Copy full SHA for 6236dd4
.github/workflows/reusable-integrity.yml
@@ -49,15 +49,16 @@ jobs:
49
name: "Check file names"
50
run: |
51
! git ls-tree -r -t -z --name-only HEAD \
52
- | xargs -0 -n 1 -- basename \
53
- | grep -P '[^-.0-9A-Z_a-z]'
+ | xargs --null --max-args=1 -- basename \
+ | grep --perl-regexp '[^-.0-9A-Z_a-z]'
54
-
55
name: "Check file permissions"
56
57
test "$(
58
git ls-files --stage \
59
- | grep -v '^100644' \
60
- | cut -c '51-'
+ | grep --invert-match '^100644' \
+ | cut --characters='51-' \
61
+ | paste --serial --delimiters=' '
62
)" = "${{ inputs.executables }}"
63
# Filesystem-based
64
#test "$(
0 commit comments