Skip to content

Commit 69d3308

Browse files
committed
ci: fix exclusions updater
1 parent 5c57b20 commit 69d3308

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/exclusions.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,13 @@ jobs:
4848
if git show origin/exclusions:exclusions.txt >/dev/null 2>&1; then
4949
# If the exclusions branch and file exist, compare
5050
if git diff --quiet origin/exclusions -- exclusions.txt; then
51-
echo "changed=false" >> "$GITHUB_OUTPUT"
51+
echo "exclusions_changed=false" >> "$GITHUB_OUTPUT"
5252
else
53-
echo "changed=true" >> "$GITHUB_OUTPUT"
53+
echo "exclusions_changed=true" >> "$GITHUB_OUTPUT"
5454
fi
5555
else
5656
# If the exclusions branch or file do not exist, treat as changed
57-
echo "changed=true" >> "$GITHUB_OUTPUT"
58-
fi
59-
60-
if git diff --quiet false_positive_exclusions.txt; then
61-
echo "exclusions_changed=false" >> $GITHUB_OUTPUT
62-
else
63-
echo "exclusions_changed=true" >> $GITHUB_OUTPUT
57+
echo "exclusions_changed=true" >> "$GITHUB_OUTPUT"
6458
fi
6559
6660
- name: Quantify and display results

0 commit comments

Comments
 (0)