ci(forgejo): port canola-branch automation workflows #344

Merged
barrettruth merged 1 commit from ci/forgejo-automation-workflows-canola into canola 2026-05-02 02:02:26 +00:00
Owner

Summary

  • add Forgejo-native issue/PR automation workflows for canola
  • port upstream digest to scripts/upstream_digest.py without the GitHub CLI
  • add Forgejo API helper for pushing/opening the canola upstream digest PR
  • set digest base/branch to canola and ci/upstream-digest-canola
  • add required curl, git, jq, and python3 tools to the dev shell

Branch note

This PR targets canola. It intentionally keeps workflow_dispatch but does not rely on schedule, because Forgejo ignores scheduled workflows on non-default branches. The scheduled canola digest is launched from the main workflow PR, which checks out canola and opens PRs back to canola.

Verification

  • workflow YAML parsed with yq
  • shell scripts passed shfmt, shellcheck, and bash -n
  • python3 -m py_compile scripts/upstream_digest.py
  • nix develop .#ci --command just format
  • nix develop .#ci --command just lint
  • upstream digest dry-run fetched upstream activity and reported pending additions
  • upstream digest PR helper dry-run confirmed ci/upstream-digest-canola and refused to push/open a PR
  • live smoke: temporary issue #343 had question removed and was closed
  • live smoke: requested Barrett review on draft canola PR #254, verified reviewer appeared, then canceled back to empty

Known test issue

Local just test currently fails on baseline origin/canola too: spec/altbuf_spec.lua @ 56 times out waiting for User. This appears pre-existing/local-environment-sensitive, not caused by this workflow port, but it must be fixed in follow-up and is recorded in nix AGENTS.md.

## Summary - add Forgejo-native issue/PR automation workflows for `canola` - port upstream digest to `scripts/upstream_digest.py` without the GitHub CLI - add Forgejo API helper for pushing/opening the `canola` upstream digest PR - set digest base/branch to `canola` and `ci/upstream-digest-canola` - add required `curl`, `git`, `jq`, and `python3` tools to the dev shell ## Branch note This PR targets `canola`. It intentionally keeps `workflow_dispatch` but does not rely on `schedule`, because Forgejo ignores scheduled workflows on non-default branches. The scheduled canola digest is launched from the `main` workflow PR, which checks out `canola` and opens PRs back to `canola`. ## Verification - workflow YAML parsed with `yq` - shell scripts passed `shfmt`, `shellcheck`, and `bash -n` - `python3 -m py_compile scripts/upstream_digest.py` - `nix develop .#ci --command just format` - `nix develop .#ci --command just lint` - upstream digest dry-run fetched upstream activity and reported pending additions - upstream digest PR helper dry-run confirmed `ci/upstream-digest-canola` and refused to push/open a PR - live smoke: temporary issue #343 had `question` removed and was closed - live smoke: requested Barrett review on draft `canola` PR #254, verified reviewer appeared, then canceled back to empty ## Known test issue Local `just test` currently fails on baseline `origin/canola` too: `spec/altbuf_spec.lua @ 56` times out waiting for `User`. This appears pre-existing/local-environment-sensitive, not caused by this workflow port, but it must be fixed in follow-up and is recorded in nix `AGENTS.md`.
ci(forgejo): port canola-branch automation workflows
All checks were successful
quality / Lint (pull_request) Successful in 10s
quality / Format (pull_request) Successful in 17s
quality / Test (pull_request) Successful in 10s
4eeb1b597c
barrettruth force-pushed ci/forgejo-automation-workflows-canola from 4eeb1b597c
All checks were successful
quality / Lint (pull_request) Successful in 10s
quality / Format (pull_request) Successful in 17s
quality / Test (pull_request) Successful in 10s
to 918159b1db
All checks were successful
quality / Format (pull_request) Successful in 9s
quality / Lint (pull_request) Successful in 6s
quality / Test (pull_request) Successful in 7s
2026-05-02 01:58:40 +00:00
Compare
barrettruth deleted branch ci/forgejo-automation-workflows-canola 2026-05-02 02:02:26 +00:00
Sign in to join this conversation.
No description provided.