Skip to content

Commit 58da915

Browse files
committed
fix
1 parent c2f73b8 commit 58da915

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/check_failed_tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,9 @@ jobs:
247247
n_runners: ${{ needs.setup_check_new_failures.outputs.n_runners }}
248248
run_idx: ${{ matrix.run_idx }}
249249
pr_number: ${{ inputs.pr_number }}
250-
run: python3 utils/check_bad_commit.py --start_commit "$START_SHA" --end_commit "$END_SHA" --file "ci_results_${job}/new_failures.json" --output_file "new_failures_with_bad_commit_${job}_${run_idx}.json"
250+
run: |
251+
git checkout ${{ github.sha }}
252+
python3 utils/check_bad_commit.py --start_commit "$START_SHA" --end_commit "$END_SHA" --file "ci_results_${job}/new_failures.json" --output_file "new_failures_with_bad_commit_${job}_${run_idx}.json"
251253
252254
- name: Show results
253255
working-directory: /transformers

0 commit comments

Comments
 (0)