Skip to content

将 release-plz 作业的运行环境更改为 ubuntu-22.04#37

Merged
ZR233 merged 1 commit intomainfrom
dev2
Jan 29, 2026
Merged

将 release-plz 作业的运行环境更改为 ubuntu-22.04#37
ZR233 merged 1 commit intomainfrom
dev2

Conversation

@ZR233
Copy link
Member

@ZR233 ZR233 commented Jan 29, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 29, 2026 06:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request updates the GitHub Actions workflow to pin the release-plz job to ubuntu-22.04 instead of ubuntu-latest, and includes a version bump for the ostool package.

Changes:

  • Changed the release-plz job's runner from ubuntu-latest to ubuntu-22.04 in the release workflow
  • Bumped ostool version from 0.8.9 to 0.8.10 in Cargo.toml and Cargo.lock

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/release.yml Updates the release-plz job to run on ubuntu-22.04 instead of ubuntu-latest
ostool/Cargo.toml Increments package version from 0.8.9 to 0.8.10
Cargo.lock Updates the locked version for ostool package to 0.8.10

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

readme = "../README.md"
repository = "https://github.com/drivercraft/ostool"
version = "0.8.9"
version = "0.8.10"
Copy link

Copilot AI Jan 29, 2026

Choose a reason for hiding this comment

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

The PR title indicates this change is only about updating the release-plz job's runtime environment to ubuntu-22.04. However, this PR also includes a version bump from 0.8.9 to 0.8.10. The version bump should either be mentioned in the PR title/description, or if it's unrelated to the workflow change, it should be in a separate PR for clarity.

Copilot uses AI. Check for mistakes.
release-plz:
if: ${{ github.repository_owner == 'drivercraft' && (github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success') }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
Copy link

Copilot AI Jan 29, 2026

Choose a reason for hiding this comment

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

The release-plz job is being changed to use ubuntu-22.04, but the release-plz-pr job on line 45 still uses ubuntu-latest. Since both jobs use the release-plz action and likely have similar dependencies (both reference the same install-rust and setup-libudenv steps), consider whether the release-plz-pr job should also be pinned to ubuntu-22.04 for consistency. If there's a specific reason only one job needs pinning, that's fine, but this inconsistency should be intentional.

Copilot uses AI. Check for mistakes.
@ZR233 ZR233 merged commit 9ae5ed9 into main Jan 29, 2026
13 checks passed
@ZR233 ZR233 deleted the dev2 branch January 29, 2026 06:32
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.

1 participant