chore: [117] call upstream deny list workflow #118

Merged
hobbypunk merged 3 commits from chore/117_upstream_deny_list into main 2026-10-04 14:23:11 +00:00
Owner

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
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`
feat: [117] call upstream deny list workflow
All checks were successful
PR Triage / Triage pull request-1 (pull_request) Successful in 23s
PR Triage / Triage pull request (pull_request) Successful in 0s
CI / Quality / Bundler Audit (pull_request) Successful in 54s
CI / Quality / Brakeman (pull_request) Successful in 57s
CI / Quality / RuboCop (pull_request) Successful in 58s
CI / Quality (pull_request) Successful in 0s
CI / Tests / Unit (pull_request) Successful in 1m13s
CI / Tests / System (pull_request) Successful in 1m20s
CI / Tests / Coverage (pull_request) Successful in 27s
CI / Tests (pull_request) Successful in 0s
CI / Container / Build and push (pull_request) Successful in 3s
CI / Container (pull_request) Successful in 0s
CI / Deploy (pull_request) Has been skipped
6fb7aac0c4
forgejo-actions changed title from feat: [117] call upstream deny list workflow to chore: [117] call upstream deny list workflow 2026-10-04 14:15:41 +00:00

📊 Coverage

Metrik Abdeckung
Zeilen 97.69% (2621/2683)
Branches 81.3% (639/786)
Methoden 96.72% (413/427)

Patch-Coverage: keine getrackten Zeilen geändert

Schwächste Dateien im Projekt

Datei Abdeckung
app/models/concerns/has_uuid_v7.rb 54.55%
app/components/form/select.rb 72.41%
app/components/layout/flash.rb 84.0%
app/components/concerns/actionable.rb 86.67%
app/components/layout/sidebar.rb 89.47%
app/controllers/settings/security_controller.rb 90.24%
app/controllers/sessions_controller.rb 90.32%
app/components/concerns/inferrable.rb 90.63%
app/components/users/avatar.rb 91.23%
app/controllers/settings/security/otps_controller.rb 91.67%

🔍 Report im Browser ansehen · 📄 Run-Artifact „coverage-report“

<!-- coverage-report --> ## 📊 Coverage | Metrik | Abdeckung | |---|---| | Zeilen | 97.69% (2621/2683) | | Branches | 81.3% (639/786) | | Methoden | 96.72% (413/427) | **Patch-Coverage**: keine getrackten Zeilen geändert **Schwächste Dateien im Projekt** | Datei | Abdeckung | |---|---| | app/models/concerns/has_uuid_v7.rb | 54.55% | | app/components/form/select.rb | 72.41% | | app/components/layout/flash.rb | 84.0% | | app/components/concerns/actionable.rb | 86.67% | | app/components/layout/sidebar.rb | 89.47% | | app/controllers/settings/security_controller.rb | 90.24% | | app/controllers/sessions_controller.rb | 90.32% | | app/components/concerns/inferrable.rb | 90.63% | | app/components/users/avatar.rb | 91.23% | | app/controllers/settings/security/otps_controller.rb | 91.67% | [🔍 Report im Browser ansehen](https://pages.hoppe-dev.eu/hobbypunk-rails-base_app/pr-118/coverage) · [📄 Run-Artifact „coverage-report“](https://code.hoppe-dev.eu/hobbypunk/rails-base_app/actions/runs/2314/artifacts/coverage-report)
refactor: [117] drop audience from the deny list caller
Some checks failed
PR Triage / Triage pull request-1 (pull_request) Successful in 44s
PR Triage / Triage pull request (pull_request) Successful in 0s
CI / Quality / Bundler Audit (pull_request) Successful in 1m2s
CI / Quality / Brakeman (pull_request) Successful in 1m3s
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 / RuboCop (pull_request) Has been cancelled
CI / Tests / Unit (pull_request) Has been cancelled
CI / Tests / System (pull_request) Has been cancelled
cd9c6eb7de
refactor: [117] rename deny list caller to upstream-renovate-deny-list
All checks were successful
PR Triage / Triage pull request-1 (pull_request) Successful in 21s
PR Triage / Triage pull request (pull_request) Successful in 0s
CI / Quality / Bundler Audit (pull_request) Successful in 51s
CI / Quality / RuboCop (pull_request) Successful in 53s
CI / Quality / Brakeman (pull_request) Successful in 54s
CI / Quality (pull_request) Successful in 0s
CI / Tests / Unit (pull_request) Successful in 1m13s
CI / Tests / System (pull_request) Successful in 1m19s
CI / Tests / Coverage (pull_request) Successful in 58s
CI / Tests (pull_request) Successful in 0s
CI / Container / Build and push (pull_request) Successful in 29s
CI / Container (pull_request) Successful in 0s
CI / Deploy (pull_request) Has been skipped
9d78061fc3
hobbypunk deleted branch chore/117_upstream_deny_list 2026-10-04 14:23:11 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
hobbypunk/rails-base_app!118
No description provided.