Skip to content

Commit

Permalink
Update ci.yaml
Browse files Browse the repository at this point in the history
Checking for lower case hexadecimal subject characters only in the pipeline.
  • Loading branch information
cleanerm5 committed Mar 17, 2023
1 parent 1e310fb commit 488ab65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Expand Up @@ -68,7 +68,7 @@ jobs:
awk '{print $2}' "HEAD.diff" | sort \
| xargs -I{} bash -c '[[ {} =~ ^${LOCATION}/.*$ ]] && echo "pass location: {}" || { echo "FAIL location: {}"; touch fail-location; }'
awk '{print $2}' "HEAD.diff" | sort \
| xargs -I{} bash -c '[[ {} =~ ^${LOCATION}/[[:xdigit:]]*\.json$ ]] && echo "pass is hex: {}" || { echo "FAIL is hex: {}"; touch fail-subject-is-hex; }'
| xargs -I{} bash -c '[[ {} =~ ^${LOCATION}/[0-9a-f]*\.json$ ]] && echo "pass is hex: {}" || { echo "FAIL is hex: {}"; touch fail-subject-is-hex; }'
awk '{print $2}' "HEAD.diff" | sort \
| xargs -I{} bash -c 'FNAME={}; FLENGTH=${#FNAME}; if (( $FLENGTH % 2 )); then echo "FAIL length: $FNAME"; touch fail-subject-length; else echo "pass length: $FNAME"; fi'
echo
Expand Down

0 comments on commit 488ab65

Please sign in to comment.