mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-03-11 17:49:25 -05:00
fix(ci): pull before push in all-contributors workflow; add @salmanmkc to tinytorch and kits
- Add git pull --rebase before push so concurrent comment-triggered runs don't reject each other (only one of three runs had succeeded for PR 1179). - Manually add @salmanmkc as code contributor to tinytorch and kits (labs was already added by the single successful run).
This commit is contained in:
2
.github/workflows/all-contributors-add.yml
vendored
2
.github/workflows/all-contributors-add.yml
vendored
@@ -458,6 +458,8 @@ jobs:
|
||||
echo "No changes to commit"
|
||||
else
|
||||
git commit -m "docs: add @${USERNAME} as ${PROJECT} contributor for ${TYPES}"
|
||||
# Pull before push so concurrent comment-triggered runs don't reject each other
|
||||
git pull --rebase origin ${{ env.TARGET_BRANCH }}
|
||||
git push origin ${{ env.TARGET_BRANCH }}
|
||||
echo "Changes committed and pushed!"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user