Skip to content

ci: use ubuntu-slim runners and disable persisted checkout credentials - #315

Merged
danielroe merged 2 commits into
nuxt-modules:mainfrom
luc122c:ci/use-ubuntu-slim-runners
Oct 10, 2026
Merged

danielroe merged 2 commits into
nuxt-modules:mainfrom
luc122c:ci/use-ubuntu-slim-runners

Conversation

@luc122c

@luc122c luc122c commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Description

Switches the lightweight automation workflows to the single-CPU ubuntu-slim runner, and stops persisting checkout credentials where they aren't needed:

  • .github/workflows/label-pr.yml — ubuntu-latest → ubuntu-slim
  • .github/workflows/reproduire-close.yml — ubuntu-latest → ubuntu-slim
  • .github/workflows/reproduire.yml — ubuntu-latest → ubuntu-slim and persist-credentials: false on the checkout step

Verification

All touched workflow files parse as valid YAML.

The `Label PR` and `Close incomplete issues` workflows only run short
automation/issue operations (github-script and actions/stale), which is
exactly what the single-CPU `ubuntu-slim` runner is optimized for.
…tials

The reproduire workflow only checks out the repo (to read the custom
message file) and posts a comment through the API, so it also fits the
lightweight single-CPU runner.

The Reproduire action authenticates via the `repo-token` input
(defaulting to `github.token`), not via git, so checkout no longer needs
to persist credentials in `.git/config`.
@luc122c luc122c changed the title ci: use ubuntu-slim runner for lightweight workflows ci: use ubuntu-slim runners and disable persisted checkout credentials Oct 10, 2026
@luc122c

luc122c commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

@danielroe I can't seem to add you as a reviewer, please could you take a look.

@danielroe
danielroe merged commit 9b7aa62 into nuxt-modules:main Oct 10, 2026
2 checks passed
@github-actions github-actions Bot mentioned this pull request Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants