Skip to content

Conversation

@njooma
Copy link
Member

@njooma njooma commented Mar 25, 2024

No description provided.

Comment on lines +30 to +33
git -c author.name=viambot -c author.email=viambot@users.noreply.github.com -c committer.name=GitHub -c committer.email=noreply@github.com commit -m "[WORKFLOW] Updating protos from ${{ github.event.client_payload.repo_name }}, commit: ${{ github.event.client_payload.sha }}"
git -c pull.ff=only pull origin workflow/update-protos || true # do not fail if the branch doesn't exist
git push -f origin workflow/update-protos
gh pr view workflow/update-protos && gh pr reopen workflow/update-protos || gh pr create -B main -H workflow/update-protos -t "Automated Protos Update" -b "This is an auto-generated PR to update proto definitions. Check the commits to see which repos and commits are responsible for the changes" -a njooma -r njooma
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(q) are we not able to use https://github.com/peter-evans/create-pull-request for this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh it stopped working in python for some reason, and I copied this from python. We probably could, but this is the same

@njooma njooma merged commit fd4455a into viamrobotics:main Mar 25, 2024
@njooma njooma deleted the open-source-prep branch March 25, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants