We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6eac0e5 commit 0fedd1cCopy full SHA for 0fedd1c
1 file changed
.github/workflows/github_actions_scan.yml
@@ -39,7 +39,7 @@ jobs:
39
GIT_HEAD_SHA: '${{ github.event.pull_request.head.sha }}'
40
GIT_BASE_SHA: '${{ github.event.pull_request.base.sha }}'
41
run: |
42
- files=$(git diff --name-only "${GIT_BASE_SHA}" "${GIT_HEAD_SHA}" | grep -E '^\.github/workflows/.+\.ya?ml$' | xargs || true)
+ files=$(git diff --name-only --diff-filter=d "${GIT_BASE_SHA}" "${GIT_HEAD_SHA}" | grep -E '^\.github/workflows/.+\.ya?ml$' | xargs || true)
43
echo "files=$files" >> "$GITHUB_OUTPUT"
44
45
zizmor-scan:
0 commit comments