Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 1, 2025

Reduces runner startup time and resource consumption by migrating 13 lightweight workflows from ubuntu-latest to ubuntu-slim.

Changes

  • Workflows updated (14 job instances across 13 files):
    • 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 (2 jobs)
    • release-please.yml
    • semantic-pr.yml
    • top-issues.yml
    • translation-check.yml

These workflows run simple automation tasks (labeling, PR validation, project management) that don't require the full ubuntu-latest environment.

  jobs:
    assign-author:
      name: 'Pull request assignment'
-     runs-on: ubuntu-latest
+     runs-on: ubuntu-slim
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


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Replace ubuntu-latest with ubuntu-slim in workflows refactor: Replace ubuntu-latest with ubuntu-slim in lightweight workflows Nov 1, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 1, 2025

Copilot AI requested a review from teolemon November 1, 2025 09:59
Copilot finished work on behalf of teolemon November 1, 2025 09:59
@github-actions github-actions bot added the GitHub Actions Pull requests that update Github_actions code label Nov 1, 2025
@github-project-automation github-project-automation bot moved this to To discuss and validate in 🍊 Open Food Facts Server issues Nov 1, 2025
@teolemon teolemon marked this pull request as ready for review November 1, 2025 12:55
@teolemon teolemon requested a review from a team as a code owner November 1, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GitHub Actions Pull requests that update Github_actions code

Projects

Status: To discuss and validate

Development

Successfully merging this pull request may close these issues.

2 participants