Another attempt to fix subrepo push (#516)

This commit is contained in:
Pokey Rule 2022-01-27 19:38:03 +00:00 committed by GitHub
parent 110adc9cd0
commit aba626e385
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,9 +50,21 @@ jobs:
with:
repository: ingydotnet/git-subrepo
path: git-subrepo
- run: |
- name: git subrepo push cursorless-talon
run: |
# Install git-subrepo onto command-line
source ../git-subrepo/.rc
# Set up git config stuff to make git-subrepo happy
git config user.name github-actions
git config user.email github-actions@github.com
# Do a git subrepo pull so that git-subrepo can reconcile things
git subrepo pull cursorless-talon
# Sanity check that nothing actually changed on cursorless-talon since our last push
[[ "$(git diff --name-only origin/main main)" == "cursorless-talon/.gitrepo" ]]
# Do the push!
git subrepo push cursorless-talon
working-directory: main