From 00dff385bc60d0d84945596b58718d09601b6d41 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 2 Jun 2026 13:57:10 +0200 Subject: [PATCH] workflows/build-package.yaml: Remove "runs-on" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Forgejo versions before 15 didn't support workflow expansion, and "runs-on" was necessary in callers of reusable workflows. janware.com now runs Forgejo 15.x, and the requirement is gone, so remove the config option. Quoting from https://forgejo.org/docs/latest/user/actions/reference/ runs-on is typically a required field. However, if a job defines jobs..uses in order to reference a reusable workflow, then it is optional. See jobs..uses for more information on this behaviour. [...] It is recommended that jobs..runs-on is omitted when using uses, as this will allow Forgejo to perform workflow expansion. Workflow expansion results in the target workflow’s jobs appearing in the UI as separate jobs. This provides an easier to understand experience for accessing the logs of each job, and permits the jobs to run on separate runners with their own runs-on fields. Signed-off-by: Jan Lindemann --- .github/workflows/build-package.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build-package.yaml b/.github/workflows/build-package.yaml index b1e84a75..440cf640 100644 --- a/.github/workflows/build-package.yaml +++ b/.github/workflows/build-package.yaml @@ -3,5 +3,4 @@ name: Test repo on all supported platforms on: [pull_request, push] jobs: CI: - runs-on: public-ci uses: ci/action-build-package/.github/workflows/reusable.yaml@master