ci: run Molecule on every same-repo pull request and print the Renovate report shape
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 13s
Molecule / molecule (pull_request) Successful in 1m2s

Molecule skipped bot branches and used a path filter, so a Renovate pin pull request for the
molecule image merged without a single scenario having run on it (#35, then #44): the first test
of a new image was main. Now it runs on every same-repo pull request, bot branches included, and
with no path filter it can be a required check. A bot pull request stays limited to pin and
version lines by the bot-diff gate, so it adds no capability a pusher does not already have.

The Renovate job prints the shape of its JSON report (top-level keys, per-branch fields) once, so
a check that fails the job on a failed post-upgrade task can be written against a real field.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
This commit is contained in:
Defame1297andClaude Sonnet 5.5 committed 2026-10-26 20:09:55 +00:00
1 parent 6f9d9c8a9d
commit a6583db5d5
3 files changed
+16 -10

No files matched your search

+5 -10
View File
@@ -21,13 +21,6 @@ on: # yamllint disable-line rule:truthy
pull_request:
branches:
- main
paths:
- 'roles/**'
- 'extensions/**'
- 'plugins/**'
- 'meta/**'
- 'galaxy.yml'
- '.gitea/workflows/molecule.yml'
push:
branches:
- main
@@ -50,12 +43,14 @@ concurrency:
jobs:
molecule:
# Same-repo, non-bot branches only; a push to main or a manual dispatch always runs.
# Same-repo branches only (bot branches included: a Renovate pin pull request is what tests a new
# image); a push to main or a manual dispatch always runs. No paths filter on pull requests, so
# that Molecule can be a required check: a required check that a pull request never starts would
# block it. A fork pull request is skipped (and the repository takes none).
if: >-
github.repository == 'mortis/kamino' &&
(github.event_name != 'pull_request' ||
(github.event.pull_request.head.repo.full_name == github.repository &&
!startsWith(github.head_ref, 'renovate/')))
github.event.pull_request.head.repo.full_name == github.repository)
runs-on: [kamino-molecule]
timeout-minutes: 30
env: