Skip to content

Improvements to set-git-branch action#273

Merged
kydos merged 6 commits intoeclipse-zenoh:mainfrom
ZettaScaleLabs:set-git-branch-action
Feb 12, 2025
Merged

Improvements to set-git-branch action#273
kydos merged 6 commits intoeclipse-zenoh:mainfrom
ZettaScaleLabs:set-git-branch-action

Conversation

@diogomatsubara
Copy link
Contributor

@diogomatsubara diogomatsubara commented Feb 12, 2025

  • setup rust toolchain to 1.75.0 to avoid creating cargo lock files with version 4
  • check if there are changes after cargo.setGitBranch(), if not, don't run git add
  • fix GITHUB_OUTPUT and conditional for pr creation
  • treat failure case during pr creation
  • don't add git/branch to workspace deps

- when pr fails because there's nothing to do
- when pr fails because there's already a PR
Avoids using the cargo from the runner and setup the toolchain to 1.75.0
so when the set-git-branch action runs, it uses the same toolchain as
zenoh
@kydos kydos merged commit d0dfe74 into eclipse-zenoh:main Feb 12, 2025
3 checks passed
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.

2 participants