ci: Use ubuntu-slim for [meta] runners
What changed, and why it matters
This commit changes two GitHub Actions CI jobs to run on a smaller, container-based Ubuntu runner image instead of the standard one. It is purely an infrastructure/efficiency tweak for Bitcoin Core's continuous integration system and does not touch any code that handles money, network messages, cryptography, or user data. There is no security-relevant change visible in the diff.
No security action needed. Treat as a normal CI maintenance change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch modifies .github/workflows/ci.yml, switching the ‘runs-on’ label from ‘ubuntu-latest’ to ‘ubuntu-slim’ for two metadata jobs: ‘[meta] determine runners’ and ‘[meta] record frozen commit’. These jobs only output runner provider selection and the current commit SHA; they do not compile the project, run tests, or process untrusted inputs. The change is a CI cost/performance optimization.
Changed components
.github/workflows/ci.ymlInspect captured patch +2 / −2
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9a2d2523..d6e8c799 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -31,7 +31,7 @@ defaults:
jobs:
runners:
name: '[meta] determine runners'
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
outputs:
provider: ${{ steps.runners.outputs.provider }}
steps:
@@ -305,7 +305,7 @@ jobs:
# Record frozen commit, so that the native tests on cross-builds can run on
# the exact same commit id of the build.
name: '[meta] record frozen commit'
- runs-on: ubuntu-latest
+ runs-on: ubuntu-slim
outputs:
commit: ${{ steps.record-commit.outputs.commit }}
steps:
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.