reposyncer: match Forgejo's empty name for nameless workflows #335

Merged
Doridian merged 1 commit from fix-nameless-workflow-checks into main 2026-10-11 09:49:09 -07:00
Owner

Since #331, reposyncer requires non-managed PR workflows. For a workflow without a name: key it built the pattern from the filename (lint.yml / * (pull_request)), but Forgejo uses an empty workflow name for those, so the actual status is / lint (pull_request). The required check never matches, which blocks every merge in FoxDen/core.

  • A nameless workflow now yields the pattern / * (pull_request).
  • workflow_check_pattern no longer takes a filename.

After this merges, the next reposyncer run will fix FoxDen/core's branch protection.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VRxT7frWFwJF8G53sDBucK

Since #331, reposyncer requires non-managed PR workflows. For a workflow without a `name:` key it built the pattern from the filename (`lint.yml / * (pull_request)`), but Forgejo uses an empty workflow name for those, so the actual status is `/ lint (pull_request)`. The required check never matches, which blocks every merge in FoxDen/core. - A nameless workflow now yields the pattern `/ * (pull_request)`. - `workflow_check_pattern` no longer takes a filename. After this merges, the next reposyncer run will fix FoxDen/core's branch protection. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01VRxT7frWFwJF8G53sDBucK
reposyncer: match Forgejo's empty name for nameless workflows
All checks were successful
Run reposyncer / test (pull_request) Successful in 11s
Run reposyncer / reposyncer (pull_request) Successful in 18s
NodeJS check / check-nodejs (pull_request) Successful in 1m22s
Run renovate / renovate (pull_request) Successful in 2m55s
c275f17f7e
Forgejo names commit statuses for a workflow without `name:` as
"/ <job> (<event>)", not "<filename> / ...". The filename fallback
produced required checks that never match (e.g. FoxDen/core's
"lint.yml / * (pull_request)"), blocking every merge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VRxT7frWFwJF8G53sDBucK
Doridian scheduled this pull request to auto merge when all checks succeed 2026-10-11 09:46:47 -07:00
Doridian deleted branch fix-nameless-workflow-checks 2026-10-11 09:49:09 -07:00
Doridian referenced this pull request from a commit 2026-10-11 09:50:21 -07:00
Sign in to join this conversation.
No reviewers
No milestone
No project
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
FoxDen/maid!335
No description provided.