Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshTrivedi committed Nov 24, 2024
1 parent 45298f7 commit cc6917c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/new-entry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,9 @@ jobs:
- name: Verify PR file changes
run: |
echo "Checking PR for exactly two new files..."
git fetch origin main
git checkout main
git pull origin main
git checkout ${{ steps.get-branch.outputs.branch }}
experiment_prefix="${{ env.experiment_prefix }}"
expected_files=("${experiment_prefix}_test_normal" "${experiment_prefix}_test_challenge")
new_files=$(git diff --diff-filter=A --name-only origin/main...HEAD)
new_files=$(git diff --name-only main...HEAD)
echo "Expected files:"
printf "%s\n" "${expected_files[@]}"
Expand Down

0 comments on commit cc6917c

Please sign in to comment.