We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3994406 commit 52f795bCopy full SHA for 52f795b
src/ci/scripts/should-skip-this.sh
@@ -26,8 +26,10 @@ elif ! git diff --quiet "$BASE_COMMIT" -- src/tools/clippy src/tools/rustfmt; th
26
# There is not an easy blanket search for subtrees. For now, manually list
27
# the subtrees.
28
echo "Executing the job since clippy or rustfmt subtree was updated"
29
-elif (git diff --name-only HEAD^ | grep --quiet src/test/rustdoc-gui) || \
30
- (git diff --name-only HEAD^ | grep --quiet src/librustdoc); then
+elif ! (git diff --quiet "$BASE_COMMIT" -- \
+ src/test/rustdoc-gui \
31
+ src/librustdoc \
32
+ src/tools/rustdoc-gui); then
33
# There was a change in either rustdoc or in its GUI tests.
34
echo "Executing the job since rustdoc was updated"
35
else
0 commit comments