chore: sync upstream rails-base_app #18

Merged
hobbypunk merged 6 commits from chore/upstream-merge into main 2026-10-04 16:55:40 +00:00
Collaborator

Upstream Sync

Merge style: Merge (merge commit, NOT squash) - the upstream history must stay linked.

Commits flowing in from hobbypunk/rails-base_app:

9d2e42d .forgejo/renovate.json aktualisiert
01673de chore: refresh upstream renovate deny list (#123)
1cfdc7f chore: [121] slim the deny list caller down to the repository input (#122)
928de4d fix: [119] enable OIDC in the deny list caller (#120)
6dc0a60 chore: [117] call upstream deny list workflow (#118)
## Upstream Sync > Merge style: **Merge** (merge commit, NOT squash) - the upstream history must stay linked. Commits flowing in from `hobbypunk/rails-base_app`: ``` 9d2e42d .forgejo/renovate.json aktualisiert 01673de chore: refresh upstream renovate deny list (#123) 1cfdc7f chore: [121] slim the deny list caller down to the repository input (#122) 928de4d fix: [119] enable OIDC in the deny list caller (#120) 6dc0a60 chore: [117] call upstream deny list workflow (#118) ```
Closes #117

## What

Thin caller for the generic deny-list machinery in `shared/renovate-config`:

- `shared/actions/upstream-deny-list` – parses the renovate extract log, maintains the preset file, opens a PR on change (with a loud-failure safeguard: a suspiciously small extraction never overwrites the list)
- `shared/renovate-config/.forgejo/workflows/upstream-deny-list.yml` – reusable workflow running the pinned `renovate:44` container, `--dry-run=extract` against this repo (autodiscover off), write-back via forgejo-bot JWT
- This caller triggers it on `push` to main + `workflow_dispatch`, so `.forgejo/renovate-upstream.json` self-maintains

## Why

Consuming repos extend the generated file and need **no allowlist at all**: everything not in the deny list is their own dependency life, everything in it arrives via the upstream sync. Renovate then updates shared packages in exactly one place - here.

Also shipped along the way: the preset's artifact-action pin moved from `/^v3$/` to `/^v[5-9]$/` (the local fork is v5/v7 now - Renovate would otherwise try to pin us back to v3).

## Setup needed once

- Secret `RENOVATE_TOKEN` in this repo (the caller falls back to the ephemeral token otherwise - needs empirical verification)
- The sync integration's claim rules must accept the workflow file name `upstream-deny-list.yml`

Reviewed-on: hobbypunk/rails-base_app#118
Closes #119

Adds `enable-openid-connect: true` to the upstream-renovate-deny-list caller. Without the flag the runner does not inject `ACTIONS_ID_TOKEN_REQUEST_URL` and the forgejo-jwt step in the reusable workflow fails with "Invalid URL".

The reusable workflow in shared/renovate-config got the flag and the dedicated JWT audience (`u:9:eb950648-…`) in e85ca27; forgejo-jwt now fails with a clear message instead of the cryptic URL error (6427eac).

Reviewed-on: hobbypunk/rails-base_app#120
Closes #121

The reusable workflow no longer accepts `renovate-token` / `endpoint` (commit 4cb8980 in shared/renovate-config) - the PAT arrives via `secrets: inherit` from the caller's `RENOVATE_TOKEN` secret and the endpoint is fixed. The caller is down to a single `repository` input.

Reviewed-on: hobbypunk/rails-base_app#122
Merge remote-tracking branch 'base/main' into chore/upstream-merge
Some checks failed
PR Triage / Triage pull request (pull_request) Successful in 0s
PR Triage / Triage pull request-1 (pull_request) Successful in 7s
CI / Quality (pull_request) Has been cancelled
CI / Tests (pull_request) Has been cancelled
CI / Container (pull_request) Has been cancelled
CI / Deploy (pull_request) Has been cancelled
CI / Tests / Coverage (pull_request) Has been cancelled
CI / Container / Build and push (pull_request) Has been cancelled
CI / Quality / Bundler Audit (pull_request) Has been cancelled
CI / Quality / Brakeman (pull_request) Has been cancelled
CI / Tests / System (pull_request) Has been cancelled
CI / Tests / Unit (pull_request) Has been cancelled
CI / Quality / RuboCop (pull_request) Has been cancelled
67e23c777b
forgejo-bot scheduled this pull request to auto merge when all checks succeed 2026-10-04 16:55:08 +00:00
forgejo-bot canceled auto merging this pull request when all checks succeed 2026-10-04 16:55:09 +00:00
forgejo-bot scheduled this pull request to auto merge when all checks succeed 2026-10-04 16:55:09 +00:00
hobbypunk deleted branch chore/upstream-merge 2026-10-04 16:55:41 +00:00
Sign in to join this conversation.
No description provided.