Skip to content

chore: improve actions - #41

Merged
danielroe merged 2 commits into
nuxt:mainfrom
luc122c:chore/improved-actions
Jun 22, 2026
Merged

chore: improve actions#41
danielroe merged 2 commits into
nuxt:mainfrom
luc122c:chore/improved-actions

Conversation

@luc122c

@luc122c luc122c commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

🔗 Linked issue

📚 Description

I've implemented a couple of optimisations to the shared actions.

  1. Used the ubuntu-slim runner where possible
  2. Moved any if checks to the job level if possible

The ubuntu-slim runner is a lightweight runner is available for less intensive tasks. Most of the tasks in this repo are labelling, triage etc. Even the AI review tasks only seem to send out API calls and parse the responses.

Moving the if checks to the job level means that if the checks fail, a runner isn't provisioned at all. With the current behaviour, a runner would have to be provisioned just to run the check and skip the step.

@coderabbitai

coderabbitai Bot commented Jun 22, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Eight GitHub Actions workflow files are updated to replace ubuntu-latest with ubuntu-slim as the runner for all affected jobs. Additionally, needs-reproduction.yml and possible-bot.yml move their label-matching condition (github.event.label.name == inputs.label) from the step level to the job level, consolidating gate logic while removing the now-redundant per-step condition.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'chore: improve actions' is vague and generic, using the non-descriptive term 'improve' that doesn't clearly convey the specific changes (ubuntu-slim runners and job-level conditionals). Revise the title to be more specific, such as 'chore: use ubuntu-slim and move conditionals to job level' to better reflect the actual changes.
✅ Passed checks (4 passed)
Check name Status Explanation
Description check ✅ Passed The description thoroughly explains both changes (ubuntu-slim runner and job-level conditionals), justifies the optimizations with clear rationale, and provides helpful context about the trade-offs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

♻️ Duplicate comments (6)
.github/workflows/triage-spam-transfer.yml (1)

17-17: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Verify that ubuntu-slim runner is available.

Same concern as in previous workflows: ubuntu-slim is not a standard GitHub-hosted runner type.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/triage-spam-transfer.yml at line 17, The `runs-on:
ubuntu-slim` runner specified in the workflow is not a standard GitHub-hosted
runner type. Replace it with a valid standard GitHub-hosted runner such as
`ubuntu-latest` or `ubuntu-22.04` to ensure the workflow can execute properly on
GitHub's infrastructure.
.github/workflows/reusable-release.yml (1)

35-35: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Verify that ubuntu-slim runner is available.

Same concern as in dependency-review.yml: ubuntu-slim is not a standard GitHub-hosted runner type. Verify that this runner is available as a self-hosted runner in your repository, or confirm whether GitHub has introduced this as a new hosted runner option.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/reusable-release.yml at line 35, The runs-on field is set
to ubuntu-slim, which is not a standard GitHub-hosted runner type. Either verify
that ubuntu-slim is configured as a self-hosted runner in your repository
settings, or replace it with a standard GitHub-hosted runner such as
ubuntu-latest to ensure the workflow can execute properly.
.github/workflows/triage-opened.yml (2)

44-44: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Verify that ubuntu-slim runner is available.

Same concern as in previous workflows: ubuntu-slim is not a standard GitHub-hosted runner type.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/triage-opened.yml at line 44, The runs-on field in the
triage-opened.yml workflow is set to ubuntu-slim, which is not a standard
GitHub-hosted runner type. Replace ubuntu-slim with a valid GitHub-hosted runner
such as ubuntu-latest or a specific version like ubuntu-22.04 to ensure the
workflow can execute properly on GitHub Actions infrastructure.

64-64: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Verify that ubuntu-slim runner is available.

Same concern as in previous workflows: ubuntu-slim is not a standard GitHub-hosted runner type.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/triage-opened.yml at line 64, The `runs-on` field in the
triage-opened workflow is set to `ubuntu-slim`, which is not a standard
GitHub-hosted runner type. Replace `ubuntu-slim` with a valid GitHub-hosted
runner such as `ubuntu-latest`, `ubuntu-22.04`, or `ubuntu-20.04` depending on
your requirements. Verify the chosen runner matches your workflow needs before
committing.
.github/workflows/triage-comment.yml (1)

19-19: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Verify that ubuntu-slim runner is available.

Same concern as in previous workflows: ubuntu-slim is not a standard GitHub-hosted runner type. Ensure this runner is available before merging.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/triage-comment.yml at line 19, The runs-on field in the
workflow job is set to ubuntu-slim, which is not a standard GitHub-hosted runner
type. Either change this to a standard runner type like ubuntu-latest or
ubuntu-24.04, or verify that a custom self-hosted runner with the ubuntu-slim
label is available and properly configured in your repository settings. If using
a custom runner, ensure it's documented and accessible to all team members who
need to run this workflow.
.github/workflows/triage-edited.yml (1)

19-19: ⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

Verify that ubuntu-slim runner is available.

Same concern as in previous workflows: ubuntu-slim is not a standard GitHub-hosted runner type.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/triage-edited.yml at line 19, The runs-on field in the
triage-edited workflow is set to ubuntu-slim, which is not a standard
GitHub-hosted runner type. Replace ubuntu-slim with a valid GitHub-hosted runner
such as ubuntu-latest or a specific version like ubuntu-22.04 to ensure the
workflow can execute on GitHub's infrastructure.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Duplicate comments:
In @.github/workflows/reusable-release.yml:
- Line 35: The runs-on field is set to ubuntu-slim, which is not a standard
GitHub-hosted runner type. Either verify that ubuntu-slim is configured as a
self-hosted runner in your repository settings, or replace it with a standard
GitHub-hosted runner such as ubuntu-latest to ensure the workflow can execute
properly.

In @.github/workflows/triage-comment.yml:
- Line 19: The runs-on field in the workflow job is set to ubuntu-slim, which is
not a standard GitHub-hosted runner type. Either change this to a standard
runner type like ubuntu-latest or ubuntu-24.04, or verify that a custom
self-hosted runner with the ubuntu-slim label is available and properly
configured in your repository settings. If using a custom runner, ensure it's
documented and accessible to all team members who need to run this workflow.

In @.github/workflows/triage-edited.yml:
- Line 19: The runs-on field in the triage-edited workflow is set to
ubuntu-slim, which is not a standard GitHub-hosted runner type. Replace
ubuntu-slim with a valid GitHub-hosted runner such as ubuntu-latest or a
specific version like ubuntu-22.04 to ensure the workflow can execute on
GitHub's infrastructure.

In @.github/workflows/triage-opened.yml:
- Line 44: The runs-on field in the triage-opened.yml workflow is set to
ubuntu-slim, which is not a standard GitHub-hosted runner type. Replace
ubuntu-slim with a valid GitHub-hosted runner such as ubuntu-latest or a
specific version like ubuntu-22.04 to ensure the workflow can execute properly
on GitHub Actions infrastructure.
- Line 64: The `runs-on` field in the triage-opened workflow is set to
`ubuntu-slim`, which is not a standard GitHub-hosted runner type. Replace
`ubuntu-slim` with a valid GitHub-hosted runner such as `ubuntu-latest`,
`ubuntu-22.04`, or `ubuntu-20.04` depending on your requirements. Verify the
chosen runner matches your workflow needs before committing.

In @.github/workflows/triage-spam-transfer.yml:
- Line 17: The `runs-on: ubuntu-slim` runner specified in the workflow is not a
standard GitHub-hosted runner type. Replace it with a valid standard
GitHub-hosted runner such as `ubuntu-latest` or `ubuntu-22.04` to ensure the
workflow can execute properly on GitHub's infrastructure.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: efbe0842-e0db-486a-a494-5f11f33a6959

📥 Commits

Reviewing files that changed from the base of the PR and between bbdedb3 and 7391a1b.

📒 Files selected for processing (8)
  • .github/workflows/dependency-review.yml
  • .github/workflows/needs-reproduction.yml
  • .github/workflows/possible-bot.yml
  • .github/workflows/reusable-release.yml
  • .github/workflows/triage-comment.yml
  • .github/workflows/triage-edited.yml
  • .github/workflows/triage-opened.yml
  • .github/workflows/triage-spam-transfer.yml

@danielroe danielroe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

❤️

@danielroe
danielroe merged commit 62c5515 into nuxt:main Jun 22, 2026
3 checks passed
@luc122c
luc122c deleted the chore/improved-actions branch June 22, 2026 20:00
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