Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 1, 2025

Replaces ubuntu-latest with ubuntu-slim in 9 lightweight automation workflows to reduce runner startup time and resource consumption.

Changes

Updated workflows (10 runner instances):

  • auto-assign-pr.yml - PR author assignment
  • crowdin.yml - Translation sync
  • dartdoc.yml - Documentation generation
  • github-projects-ventilation.yml - Project board automation
  • label.yml - PR labeling
  • merge-conflict-autolabel.yml - Merge conflict detection
  • release-please.yml - Release automation (2 jobs)
  • semantic-pr.yml - PR title validation
  • top-issues.yml - Issue tracking

Unchanged workflows:
Complex workflows requiring substantial resources (builds, tests, releases, asset generation) remain on ubuntu-latest.

jobs:
  assign-author:
-   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


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Nov 1, 2025
Copilot AI changed the title [WIP] Replace ubuntu-latest with ubuntu-slim in GitHub Actions workflows Replace ubuntu-latest with ubuntu-slim in lightweight workflow runners Nov 1, 2025
Copilot AI requested a review from teolemon November 1, 2025 09:58
Copilot finished work on behalf of teolemon November 1, 2025 09:58
@teolemon teolemon marked this pull request as ready for review November 1, 2025 10:11
@teolemon teolemon changed the title Replace ubuntu-latest with ubuntu-slim in lightweight workflow runners ci: Replace ubuntu-latest with ubuntu-slim in lightweight workflow runners Nov 1, 2025
@github-actions github-actions bot added the GitHub label Nov 1, 2025
@teolemon teolemon merged commit 29b7d10 into develop Nov 2, 2025
13 of 14 checks passed
@teolemon teolemon deleted the copilot/replace-ubuntu-latest-with-ubuntu-slim branch November 2, 2025 07:01
@github-project-automation github-project-automation bot moved this from 💬 To discuss and validate to 🎊 Done in 🤳🥫 The Open Food Facts mobile app (Android & iOS) Nov 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants