Skip to content

Commit

Permalink
Use HEAD ref instead of merge ref from GITHUB ref
Browse files Browse the repository at this point in the history
  • Loading branch information
thogarty committed Nov 27, 2024
1 parent e175862 commit 3afba6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sync_data_schema_updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
git config --global user.email '[email protected]'
git config advice.addIgnoredFile false
git fetch
echo -e "\nThis is executing for branch: ${GITHUB_REF##*/}."
git checkout ${GITHUB_REF##*/}
echo -e "\nThis is executing for branch: ${GITHUB_HEAD_REF##*/}."
git checkout ${GITHUB_HEAD_REF##*/}
- name: Update Data Loaders
run: python3 ./scripts/update_data_loader.py
Expand Down

0 comments on commit 3afba6d

Please sign in to comment.