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 cc6917c commit 23a3c4c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/new-entry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,15 @@ jobs:
uv pip install appworld==${{ env.appworld_version }}
uv run appworld install
- name: Fetch main branch
run: git fetch origin main

- name: Verify PR file changes
run: |
echo "Checking PR for exactly two new files..."
experiment_prefix="${{ env.experiment_prefix }}"
expected_files=("${experiment_prefix}_test_normal" "${experiment_prefix}_test_challenge")
new_files=$(git diff --name-only main...HEAD)
new_files=$(git diff --name-only origin/main...HEAD)
echo "Expected files:"
printf "%s\n" "${expected_files[@]}"
Expand Down

0 comments on commit 23a3c4c

Please sign in to comment.