fix(ci): restore green CI — ruff install + mirror secret rename #131

Merged
pyr0ball merged 6 commits from fix/ci-workflows into main 2026-06-26 21:02:30 -07:00
Owner

Summary

  • ci.yml: adds explicit pip install ruff before lint step; ruff was missing from requirements.txt so the lint step was failing with command-not-found
  • ci.yml: adds freeze/** to push trigger so RC branches actually run CI
  • mirror.yml: renames GITHUB_MIRROR_TOKENGH_MIRROR_TOKEN (env var GITHUB_TOKENGH_MIRROR_PAT) — Forgejo reserves the GITHUB_* prefix for built-in secrets so the real token was silently shadowed, causing all mirror pushes to fail with auth errors

Test plan

  • CI runs green on this branch (backend + frontend)
  • After merge, a push to main triggers mirror workflow successfully
  • CI now triggers on freeze/** branch pushes
## Summary - `ci.yml`: adds explicit `pip install ruff` before lint step; ruff was missing from requirements.txt so the lint step was failing with command-not-found - `ci.yml`: adds `freeze/**` to push trigger so RC branches actually run CI - `mirror.yml`: renames `GITHUB_MIRROR_TOKEN` → `GH_MIRROR_TOKEN` (env var `GITHUB_TOKEN` → `GH_MIRROR_PAT`) — Forgejo reserves the `GITHUB_*` prefix for built-in secrets so the real token was silently shadowed, causing all mirror pushes to fail with auth errors ## Test plan - [ ] CI runs green on this branch (backend + frontend) - [ ] After merge, a push to main triggers mirror workflow successfully - [ ] CI now triggers on `freeze/**` branch pushes
pyr0ball added 1 commit 2026-06-26 19:25:26 -07:00
fix(ci): restore green CI — ruff install + mirror secret rename
Some checks failed
CI / Backend (Python) (push) Failing after 1s
CI / Frontend (Vue) (push) Failing after 1s
CI / Backend (Python) (pull_request) Failing after 1s
CI / Frontend (Vue) (pull_request) Failing after 1s
30423d7dd6
Two workflow fixes:
- ci.yml: add explicit `pip install ruff` before lint step; also add
  freeze/** to push trigger so RC branches run CI
- mirror.yml: rename GITHUB_MIRROR_TOKEN → GH_MIRROR_TOKEN to match
  org-level secret; Forgejo reserves the GITHUB_* prefix so that name
  was silently shadowed, causing mirror pushes to fail with auth errors
pyr0ball added 1 commit 2026-06-26 20:41:28 -07:00
ci: retrigger after Docker network pool fix
Some checks failed
CI / Backend (Python) (push) Failing after 33s
CI / Frontend (Vue) (push) Successful in 27s
CI / Backend (Python) (pull_request) Failing after 22s
CI / Frontend (Vue) (pull_request) Successful in 19s
c15bcaba57
pyr0ball added 1 commit 2026-06-26 20:46:59 -07:00
ci: add pyproject.toml with ruff config (exclude app/, suppress test noise)
Some checks failed
CI / Backend (Python) (push) Failing after 23s
CI / Frontend (Vue) (push) Successful in 20s
CI / Backend (Python) (pull_request) Failing after 23s
CI / Frontend (Vue) (pull_request) Successful in 20s
b6f9cc2370
pyr0ball added 1 commit 2026-06-26 20:50:32 -07:00
fix(ci): remove dead db_path_obj variable; suppress E402 in dev-api.py
Some checks failed
CI / Backend (Python) (push) Failing after 23s
CI / Frontend (Vue) (push) Successful in 20s
CI / Backend (Python) (pull_request) Failing after 23s
CI / Frontend (Vue) (pull_request) Successful in 22s
f20d671e42
pyr0ball added 1 commit 2026-06-26 20:52:45 -07:00
fix(lint): auto-fix 112 ruff F401/F541 errors in scripts and tests
Some checks failed
CI / Backend (Python) (push) Failing after 1m15s
CI / Frontend (Vue) (push) Successful in 20s
CI / Backend (Python) (pull_request) Failing after 1m15s
CI / Frontend (Vue) (pull_request) Successful in 20s
81e8a2f467
pyr0ball added 1 commit 2026-06-26 20:56:00 -07:00
fix(ci): restore TaskSpec re-export with noqa — tests import from here
All checks were successful
CI / Backend (Python) (push) Successful in 1m14s
CI / Frontend (Vue) (push) Successful in 20s
CI / Backend (Python) (pull_request) Successful in 1m20s
CI / Frontend (Vue) (pull_request) Successful in 20s
380a20a6f8
pyr0ball merged commit 201a867c60 into main 2026-06-26 21:02:30 -07:00
pyr0ball deleted branch fix/ci-workflows 2026-06-26 21:02:31 -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: Circuit-Forge/peregrine#131
No description provided.