Skip to content

Commit fb973ac

Browse files
authored
Update alioss-check.yml
1 parent 2129cdd commit fb973ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/alioss-check.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,15 @@ jobs:
2525
# Get the diff of the changes
2626
echo Get the diff of the changes
2727
DIFF=$(git diff origin/$GITHUB_BASE_REF check_branch -- . ':(exclude).github/workflows/alioss-check.yml')
28-
echo diff end
2928
if [ -z "$DIFF" ]; then
3029
echo "No changes detected."
3130
exit 0
3231
fi
3332
3433
# Check the diff for alioss
3534
echo Check the diff for alioss
35+
echo "$DIFF" | grep -E '^\+.*(alioss)' | wc -l
3636
echo "$DIFF" | grep -E '^\+.*(alioss)' > check.log
37-
echo Check count
3837
if [ $(wc -l < check.log> -eq 0)]; then
3938
echo "No alioss found in changed content."
4039
else

0 commit comments

Comments
 (0)