Skip to content

Conversation

@GitPaulo
Copy link
Contributor

Description

This PR swaps ubuntu-latest with ubuntu-slim for lightweight workflows.

Related issue: https://github.com/github/hosted-runners-images/issues/418

Copilot AI review requested due to automatic review settings December 28, 2025 19:48
Copy link
Contributor

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 PR migrates four lightweight workflow files from ubuntu-latest to ubuntu-slim runner images to optimize resource usage for simple automation tasks. The workflows primarily perform GitHub API operations and basic git commands, making them ideal candidates for the slimmer runner image.

Key changes:

  • Swaps runner image from ubuntu-latest to ubuntu-slim in workflow definitions
  • Targets lightweight automation workflows that don't require the full toolset

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
.github/workflows/update_github_release.yml Updates GitHub release runner to use ubuntu-slim for API-only operations
.github/workflows/merge_pull_request.yml Changes PR merge automation to ubuntu-slim for git and API operations
.github/workflows/create_pull_request.yml Migrates PR creation workflow to ubuntu-slim for git branching and API calls
.github/workflows/check-pinned-versions.yml Switches version pinning check to ubuntu-slim for PowerShell script execution

Review Summary: No issues found. All four workflows use only basic tools (Git, PowerShell, GitHub CLI, and GitHub Actions) that are available in the ubuntu-slim image. The migration is appropriate for these lightweight automation workflows and should result in faster job startup times and reduced resource consumption.

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