We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e1bb15 commit fdd585dCopy full SHA for fdd585d
1 file changed
.github/workflows/build.yml
@@ -45,9 +45,9 @@ jobs:
45
echo "No base SHA available; building all project directories."
46
CHANGED="$ALL_DIRS"
47
else
48
- # If the workflow file or any submodule reference changed, rebuild everything.
49
- if git diff --name-only "$BASE_SHA" HEAD | grep -qE '^(\.github/workflows/|\.gitmodules$)'; then
50
- echo "Workflow or submodules changed; building all project directories."
+ # If this build workflow or any submodule reference changed, rebuild everything.
+ if git diff --name-only "$BASE_SHA" HEAD | grep -qE '^(\.github/workflows/build\.yml$|\.gitmodules$)'; then
+ echo "build.yml or submodules changed; building all project directories."
51
52
53
CHANGED=$(git diff --name-only "$BASE_SHA" HEAD | awk -F/ 'NF>1 {print $1}' | sort -u)
0 commit comments