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.
2 parents 3733614 + d2f3f8f commit d38299dCopy full SHA for d38299d
test_changes.sh
@@ -11,13 +11,13 @@ fi
11
12
echo "Using head reference: ${HEAD_REF}"
13
14
-CHANGED_SCRAPERS=$(git whatchanged --name-only --pretty="" origin/main..${HEAD_REF} |
+CHANGED_SCRAPERS=$(git diff --name-only origin/main..."${HEAD_REF}" |
15
grep spiders |
16
grep -v helper |
17
- sed 's/jedeschule\/spiders\///' |
18
- sed 's/\.py//' |
19
- sed 's/_/\-/' |
20
- uniq) || true
+ sed 's|jedeschule/spiders/||' |
+ sed 's|\.py||' |
+ sed 's|_|-|' |
+ sort -u) || true
21
22
if [ -z "$CHANGED_SCRAPERS" ]; then
23
echo "No scrapers were changed"
0 commit comments