Skip to content

Commit

Permalink
manually update submodule in wf to avoid unrelated histories issues
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssadai authored Sep 7, 2024
1 parent 45a98fc commit e117b84
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/update_submodule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ jobs:
token: ${{ secrets.CLIMATE_DB_DATA_PAT }}

- name: Update submodule
run: git submodule update --remote --merge
run: |
cd data
git switch main && git pull
cd ..
- name: Create pull request
uses: peter-evans/create-pull-request@v7
Expand Down

0 comments on commit e117b84

Please sign in to comment.