Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: replce hub with gh CLI #4326

Merged
merged 3 commits into from
Feb 5, 2024
Merged

ci: replce hub with gh CLI #4326

merged 3 commits into from
Feb 5, 2024

Conversation

michael-siek
Copy link
Member

@michael-siek michael-siek commented Feb 5, 2024

It looks like hub was removed from all newer versions of GitHub Actions and users are required to install it on their systems to be able to use it. Instead of using hub this PR replaces it with gh cli

No QA required

@michael-siek michael-siek requested a review from a team as a code owner February 5, 2024 15:34
@michael-siek michael-siek changed the title ci: install hub to allow release pr to get created ci: replce hub with gh CLI Feb 5, 2024
echo "$ReleaseNotes" >> /tmp/pr.txt
echo "" >> /tmp/pr.txt
echo "This PR was opened by a robot :robot: :tada:" >> /tmp/pr.txt
hub pull-request --file /tmp/pr.txt --base master
gh pr create --title "chore(release): v$Version" --body-file "/tmp/pr.txt" --base release
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it intentional that this changes the base from master to release? Do the two commands use --base to mean different things?

@michael-siek michael-siek merged commit 666558d into develop Feb 5, 2024
21 checks passed
@michael-siek michael-siek deleted the ci/hub branch February 5, 2024 16:37
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