Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b2ba8e6

Browse files
committed
Handle .inc.qhelp files
1 parent 20570eb commit b2ba8e6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/qhelp.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ jobs:
1616
- name: Determine changed files
1717
id: changes
1818
run: |
19-
echo "::set-output name=qhelp_files::$(git diff --name-only --diff-filter=ACMRT HEAD~1 HEAD | grep .qhelp$ | xargs)"
19+
echo -n "::set-output name=qhelp_files::"
20+
(git diff --name-only --diff-filter=ACMRT HEAD~1 HEAD | grep .qhelp$ | grep -v .inc.qhelp;
21+
git diff --name-only --diff-filter=ACMRT HEAD~1 HEAD | grep .inc.qhelp$ | xargs -rn1 basename | xargs -rn1 git grep -l) |
22+
sort -u | xargs
23+
2024
- name: Fetch CodeQL
2125
run: |
2226
LATEST=$(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | sort --version-sort | tail -1)

0 commit comments

Comments
 (0)