Skip to content

Commit b1fcf2c

Browse files
committed
ci: manual implementation of the diff action
1 parent 3663e4f commit b1fcf2c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/e2e_test_for_prs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ jobs:
99
outputs:
1010
NEED_TO_RUN_TESTS: ${{ steps.decision.outputs.NEED_TO_RUN_TESTS }}
1111
steps:
12+
- name: Git clone
13+
uses: actions/checkout@v4
1214
- name: Get changed files
1315
id: testing-behavior
1416
run: |
1517
git fetch origin {{ GITHUB_BASE_REF }}
16-
diff=$(git diff --name-only --diff-filter=AM origin/{{ GITHUB_BASE_REF }}..HEAD | tr '\n' ' ')
18+
diff=$(git diff --name-only --diff-filter=AM origin/{{ GITHUB_BASE_REF }}..HEAD)
1719
echo $diff
1820
echo "ADDED_MODIFIED=$diff" >> "$GITHUB_OUTPUT"
1921
for changed_file in $diff; do

0 commit comments

Comments
 (0)