Skip to content

Commit

Permalink
ci: fix diff filter and remove unused steps
Browse files Browse the repository at this point in the history
  • Loading branch information
necipallef committed Sep 25, 2024
1 parent 36d6e79 commit 6841fc5
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/e2e_test_for_prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
id: decision
run: |
git fetch origin $GITHUB_BASE_REF
diff=$(git diff --name-only --diff-filter=AM origin/$GITHUB_BASE_REF..HEAD)
diff=$(git diff --name-only origin/$GITHUB_BASE_REF..HEAD)
echo $diff
needToRunTests=false
for changed_file in $diff; do
Expand All @@ -28,13 +28,6 @@ jobs:
done
echo $needToRunTests
echo NEED_TO_RUN_TESTS=${needToRunTests} >> $GITHUB_OUTPUT
debug-job:
needs: check-changed-files
name: debug job
runs-on: ubuntu-latest
steps:
- name: Debug output
run: echo "NEED_TO_RUN_TESTS=${{ needs['check-changed-files'].outputs.NEED_TO_RUN_TESTS }}"
run-e2e-for-topic-branch:
needs: check-changed-files
Expand Down

0 comments on commit 6841fc5

Please sign in to comment.