Skip to content

Commit fd4d64c

Browse files
authored
Update update_challenge_progress.yml
1 parent abe4f73 commit fd4d64c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/update_challenge_progress.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ jobs:
1818
uses: actions/setup-python@v4
1919
with:
2020
python-version: '3.x'
21-
21+
22+
- name: Sync with main branch
23+
run: git pull origin main --rebase
24+
2225
- name: Run extract_pr_data.py
2326
working-directory: _MonthlyChallenges
2427
run: python extract_pr_data.py
@@ -37,7 +40,6 @@ jobs:
3740
cd _MonthlyChallenges
3841
git config --global user.name "${{ secrets.GIT_USER_NAME }}"
3942
git config --global user.email "${{ secrets.GIT_USER_EMAIL }}"
40-
git pull origin main --rebase --autostash
4143
git add scoreboard.json DASHBOARD.md HISTORY.md
4244
git commit -m "Update challenge progress dashboard" || echo "No changes to commit"
4345
git push origin ${{ github.head_ref }}

0 commit comments

Comments
 (0)