ci: use Forgejo-native workflow context #398

Merged
barrettruth merged 1 commit from forgejo-native-workflow-context into main 2026-05-04 17:24:31 +00:00
Owner

Summary

  • update .forgejo/scripts/wait-for-quality.sh to read Forgejo-native env and poll commit statuses with curl/jq
  • remove GitHub compatibility env wiring from deploy waits
  • switch deploy ref and nightly specrev logic to Forgejo env variables

Changed files

  • .forgejo/scripts/wait-for-quality.sh
  • .forgejo/workflows/deploy.yaml
  • .forgejo/workflows/deploy-nightly.yaml

Verification

  • .forgejo scan for GITHUB_ and ${{ github.* }} returned no matches
  • nix shell nixpkgs#yq-go -c yq . .forgejo/workflows/deploy.yaml .forgejo/workflows/deploy-nightly.yaml
  • nix shell nixpkgs#shellcheck -c shellcheck .forgejo/scripts/wait-for-quality.sh
  • mocked helper run: two identical pending responses produce exactly one Waiting for quality checks: line before success
  • git diff --check
## Summary - update `.forgejo/scripts/wait-for-quality.sh` to read Forgejo-native env and poll commit statuses with curl/jq - remove GitHub compatibility env wiring from deploy waits - switch deploy ref and nightly specrev logic to Forgejo env variables ## Changed files - `.forgejo/scripts/wait-for-quality.sh` - `.forgejo/workflows/deploy.yaml` - `.forgejo/workflows/deploy-nightly.yaml` ## Verification - `.forgejo` scan for `GITHUB_` and `${{ github.* }}` returned no matches - `nix shell nixpkgs#yq-go -c yq . .forgejo/workflows/deploy.yaml .forgejo/workflows/deploy-nightly.yaml` - `nix shell nixpkgs#shellcheck -c shellcheck .forgejo/scripts/wait-for-quality.sh` - mocked helper run: two identical pending responses produce exactly one `Waiting for quality checks:` line before success - `git diff --check`
ci: use Forgejo-native workflow context
All checks were successful
quality / Format (pull_request) Successful in 14s
quality / Lint (pull_request) Successful in 16s
quality / Test (pull_request) Successful in 9s
27b559de77
barrettruth deleted branch forgejo-native-workflow-context 2026-05-04 17:24:31 +00:00
Sign in to join this conversation.
No description provided.