Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 1, 2025

Reduces runner startup time and resource consumption by switching lightweight automation workflows to ubuntu-slim.

Changes

  • Updated 5 simple workflows to use ubuntu-slim:

    • auto-assign-pr.yml - PR author assignment
    • label.yml - PR labeling
    • merge-conflict-autolabel.yml - Conflict detection
    • semantic-pr.yml - PR title validation
    • github-projects.yml - Project board automation
  • Preserved ubuntu-latest in ci.yml (build/test/lint workflow requires full environment)

jobs:
  assign-author:
    name: 'Pull request assignment'
-   runs-on: ubuntu-latest
+   runs-on: ubuntu-slim
    steps:
      - uses: toshimaru/[email protected]
Original prompt

Replace ubuntu-latest with ubuntu-slim across all listed GitHub Actions workflows to reduce runner startup time and resource consumption. Do not replace for complex workflows that may require a lot of memory. Below a list of workflows that are definitely safe (from the openfoodfacts-server, names and workflows may vary based on the repo where we're running this refactor task)

auto-assign-pr.yml
codeql-analysis.yml
crowdin-per-language.yml
crowdin.yml
generate-doc.yml
github-projects-ventilation.yml
label.yml
merge-conflict-autolabel.yml
pr_actions.yml
release-please.yml
semantic-pr.yml
top-issues.yml
translation-check.yml


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@vercel
Copy link

vercel bot commented Nov 1, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
explorer Ready Ready Preview Comment Nov 1, 2025 0:18am

Copilot AI changed the title [WIP] Replace ubuntu-latest with ubuntu-slim in GitHub Actions workflows refactor: replace ubuntu-latest with ubuntu-slim in lightweight workflows Nov 1, 2025
Copilot AI requested a review from teolemon November 1, 2025 12:18
Copilot finished work on behalf of teolemon November 1, 2025 12:18
@teolemon teolemon marked this pull request as ready for review November 1, 2025 12:58
@VaiTon VaiTon merged commit e5f5ec0 into main Nov 1, 2025
16 of 17 checks passed
@VaiTon VaiTon deleted the copilot/replace-ubuntu-latest-with-ubuntu-slim branch November 1, 2025 22:13
@github-project-automation github-project-automation bot moved this from Backlog to Done in OFF Explorer - Primetime ! Nov 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants