We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7ad37b commit 80a5bdfCopy full SHA for 80a5bdf
.github/workflows/docs-checker.yml
@@ -21,4 +21,4 @@ jobs:
21
- name: Get changed file names of files changed in PR
22
run: git diff -U0 ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep -P "^(?!.*(http|ftp|https):\/\/([\w_-]+(?:(?:\.[\w_-]+)+))([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])).*" | grep -P "^\+{1}(?!\+)" > diff_files.txt
23
- name: Count line lengths in diff_files.txt
24
- run: "awk -F: 'BEGIN { if(length>100) { err = 1; exit; } } END {exit err}' diff_files.txt"
+ run: "awk -F: '{ if(length>100) { err = 1; exit err; } }' diff_files.txt"
0 commit comments