We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2129cdd commit fb973acCopy full SHA for fb973ac
.github/workflows/alioss-check.yml
@@ -25,16 +25,15 @@ jobs:
25
# Get the diff of the changes
26
echo Get the diff of the changes
27
DIFF=$(git diff origin/$GITHUB_BASE_REF check_branch -- . ':(exclude).github/workflows/alioss-check.yml')
28
- echo diff end
29
if [ -z "$DIFF" ]; then
30
echo "No changes detected."
31
exit 0
32
fi
33
34
# Check the diff for alioss
35
echo Check the diff for alioss
+ echo "$DIFF" | grep -E '^\+.*(alioss)' | wc -l
36
echo "$DIFF" | grep -E '^\+.*(alioss)' > check.log
37
- echo Check count
38
if [ $(wc -l < check.log> -eq 0)]; then
39
echo "No alioss found in changed content."
40
else
0 commit comments