ci: make workflows work on the Forgejo runner #38

Open
pistonmaster wants to merge 3 commits from ci/forgejo-actions-compat into main
Owner

Fixes three problems the first CI runs on git.6b6t.org showed:

  • Artifacts: GitHub's actions/upload-artifact and download-artifact v4+ refuse to run outside github.com (GHESNotSupportedError). They are replaced with Forgejo's versions (forgejo/[email protected], forgejo/[email protected]), pinned to their commits.
  • zizmor: zizmor-action pulls in github/codeql-action, which the runner can't resolve, and its online audits call the GitHub API. The workflow now runs the same zizmor version as a CLI with --offline, with the same inputs and minimum severity.
  • protoc (Fox fuzzing only): the runner image has no protoc, so the fuzz job installs protobuf-compiler like build.yml already does.

Only workflow files change.

Fixes three problems the first CI runs on git.6b6t.org showed: - **Artifacts:** GitHub's `actions/upload-artifact` and `download-artifact` v4+ refuse to run outside github.com (`GHESNotSupportedError`). They are replaced with Forgejo's versions (`forgejo/[email protected]`, `forgejo/[email protected]`), pinned to their commits. - **zizmor:** `zizmor-action` pulls in `github/codeql-action`, which the runner can't resolve, and its online audits call the GitHub API. The workflow now runs the same zizmor version as a CLI with `--offline`, with the same inputs and minimum severity. - **protoc** (Fox fuzzing only): the runner image has no `protoc`, so the fuzz job installs `protobuf-compiler` like `build.yml` already does. Only workflow files change.
ci: make workflows work on the Forgejo runner
Some checks failed
build-release-artifacts.yml / ci: make workflows work on the Forgejo runner (pull_request) Failing after 0s
build-release-artifacts.yml / ci: make workflows work on the Forgejo runner (push) Failing after 0s
zizmor / Audit GitHub Actions workflows (push) Has been cancelled
CI / Build and test (pull_request) Has been cancelled
CI / Build iOS launcher (pull_request) Has been cancelled
Commit style / Conventional Commits (pull_request) Has been cancelled
Gradle wrapper / Validate wrapper (pull_request) Has been cancelled
zizmor / Audit GitHub Actions workflows (pull_request) Has been cancelled
c55d85c737
ci: pass zizmor's inputs and severity to the CLI
Some checks failed
build-release-artifacts.yml / ci: pass zizmor's inputs and severity to the CLI (push) Failing after 0s
build-release-artifacts.yml / ci: pass zizmor's inputs and severity to the CLI (pull_request) Failing after 0s
zizmor / Audit GitHub Actions workflows (push) Successful in 10s
Commit style / Conventional Commits (pull_request) Successful in 4s
Gradle wrapper / Validate wrapper (pull_request) Successful in 6s
zizmor / Audit GitHub Actions workflows (pull_request) Successful in 10s
CI / Build and test (pull_request) Failing after 27m13s
CI / Build iOS launcher (pull_request) Has been cancelled
50089167e7
pistonmaster scheduled this pull request to auto merge when all checks succeed 2026-11-24 20:49:36 +00:00
approval-bot approved these changes 2026-11-24 21:09:38 +00:00
Dismissed
approval-bot left a comment

Automatic approval. Required checks still have to pass before merging.

Automatic approval. Required checks still have to pass before merging.
ci: pin Forgejo's patched artifact actions
Some checks failed
build-release-artifacts.yml / ci: pin Forgejo's patched artifact actions (push) Failing after 0s
build-release-artifacts.yml / ci: pin Forgejo's patched artifact actions (pull_request) Failing after 0s
CI / Build iOS launcher (pull_request) Waiting to run
zizmor / Audit GitHub Actions workflows (push) Successful in 9s
Commit style / Conventional Commits (pull_request) Successful in 5s
Gradle wrapper / Validate wrapper (pull_request) Successful in 5s
zizmor / Audit GitHub Actions workflows (pull_request) Successful in 9s
CI / Build and test (pull_request) Failing after 5m11s
9f8a27aa50
pistonmaster dismissed approval-bot's review 2026-11-24 23:33:38 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

approval-bot left a comment

Automatic approval. Required checks still have to pass before merging.

Automatic approval. Required checks still have to pass before merging.
Some checks failed
build-release-artifacts.yml / ci: pin Forgejo's patched artifact actions (push) Failing after 0s
build-release-artifacts.yml / ci: pin Forgejo's patched artifact actions (pull_request) Failing after 0s
CI / Build iOS launcher (pull_request) Waiting to run
zizmor / Audit GitHub Actions workflows (push) Successful in 9s
Commit style / Conventional Commits (pull_request) Successful in 5s
Required
Details
Gradle wrapper / Validate wrapper (pull_request) Successful in 5s
Required
Details
zizmor / Audit GitHub Actions workflows (pull_request) Successful in 9s
CI / Build and test (pull_request) Failing after 5m11s
Required
Details
Some required checks were not successful.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'ci/forgejo-actions-compat:ci/forgejo-actions-compat'
git switch 'ci/forgejo-actions-compat'
Sign in to join this conversation.
No description provided.