fix: gate reusable workflows on the ref, not on event_name #1

Merged
Julscha merged 1 commit from fix/reusable-event-name into main 2026-11-16 09:53:37 +01:00
Owner

Inside an expanded reusable workflow forgejo.event_name is workflow_call,
so every check on it was dead:

  • go-scan, go-test, trivy-scan, buf-check were skipped on every pull
    request (and by design on feature branches), so neither ever ran
  • the develop SOFT mode never applied, develop findings blocked
  • node-package publish and mkdocs-pages deploy never ran on main

Scan, test, trivy and buf now run on every push and pull request.
SOFT and the main-only publish/deploy steps check the ref instead.
Registry pushes are unchanged (buildkit: main/develop only).

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Inside an expanded reusable workflow forgejo.event_name is workflow_call, so every check on it was dead: - go-scan, go-test, trivy-scan, buf-check were skipped on every pull request (and by design on feature branches), so neither ever ran - the develop SOFT mode never applied, develop findings blocked - node-package publish and mkdocs-pages deploy never ran on main Scan, test, trivy and buf now run on every push and pull request. SOFT and the main-only publish/deploy steps check the ref instead. Registry pushes are unchanged (buildkit: main/develop only). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Inside an expanded reusable workflow forgejo.event_name is workflow_call,
so every check on it was dead:

- go-scan, go-test, trivy-scan, buf-check were skipped on every pull
  request (and by design on feature branches), so neither ever ran
- the develop SOFT mode never applied, develop findings blocked
- node-package publish and mkdocs-pages deploy never ran on main

Scan, test, trivy and buf now run on every push and pull request.
SOFT and the main-only publish/deploy steps check the ref instead.
Registry pushes are unchanged (buildkit: main/develop only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Julscha deleted branch fix/reusable-event-name 2026-11-16 09:53:38 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
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
libs/ci-templates!1
No description provided.