Create a Forgejo instance and a runner
Find a file
Renovate Bot 26fab6aa0d Update dependency forgejo/runner to v13 (#1107)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [forgejo/runner](https://code.forgejo.org/forgejo/runner) | major | `v12.13.2` → `v13.1.0` |

---

### Release Notes

<details>
<summary>forgejo/runner (forgejo/runner)</summary>

### [`v13.1.0`](https://code.forgejo.org/forgejo/runner/releases/tag/v13.1.0)

[Compare Source](https://code.forgejo.org/forgejo/runner/compare/v13.0.0...v13.1.0)

- [User guide](https://forgejo.org/docs/next/user/actions/overview/)
- [Administrator guide](https://forgejo.org/docs/next/admin/actions/)
- [Container images](https://code.forgejo.org/forgejo/-/packages/container/runner/versions)

Release Notes

***

<!--start release-notes-assistant-->

<!--URL:https://code.forgejo.org/forgejo/runner-->

- features
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1716): <!--number 1716 --><!--line 0 --><!--description ZmVhdChqb2JwYXJzZXIpOiBhZGQgJ0VuYWJsZU5hbWVzcGFjZXMnIHRvIGFsbG93IG1hdHJpeCByZXVzYWJsZSB3b3JrZmxvd3MgdG8gZGlzdGluZ3Vpc2ggYmV0d2VlbiBpbnRlcm5hbCBqb2Jz-->feat(jobparser): add 'EnableNamespaces' to allow matrix reusable workflows to distinguish between internal jobs<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1713): <!--number 1713 --><!--line 0 --><!--description ZmVhdChwbHVnaW4pOiBhbGxvdyBzdHJlYW1pbmcgbG9ncyBmcm9tIHN0YXJ0IG9wZXJhdGlvbg==-->feat(plugin): allow streaming logs from start operation<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1500): <!--number 1500 --><!--line 0 --><!--description ZmVhdChwbHVnaW4pOiBhZGQgZXhwZXJpbWVudGFsIGdSUEMgdjFhbHBoYSBwbHVnaW4gYmFja2VuZCBzdXBwb3J0-->feat(plugin): add experimental gRPC v1alpha plugin backend support<!--description-->
- bug fixes
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1719): <!--number 1719 --><!--line 0 --><!--description Zml4OiBtb3ZlIGVudmlyb25tZW50LXJlbGF0ZWQgZGVzY3JpcHRpb24gZmllbGRzIGZyb20gY2FwYWJpbGl0eSB0byBjcmVhdGUgUlBD-->fix: move environment-related description fields from capability to create RPC<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1710): <!--number 1710 --><!--line 0 --><!--description Zml4KHBsdWdpbik6IHJlbW92ZSBoYXJkLWNvZGVkICdta2RpciAtcCc=-->fix(plugin): remove hard-coded 'mkdir -p'<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1705): <!--number 1705 --><!--line 0 --><!--description Zml4KHBsdWdpbik6IGNsYXJpZnkgY29udGVudCBvZiBgRXhlY091dHB1dGAgdG8gaGF2aW5nIG9uZSB0eXBlIG9mIGRhdGEgYXQgYSB0aW1l-->fix(plugin): clarify content of `ExecOutput` to having one type of data at a time<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1686): <!--number 1686 --><!--line 0 --><!--description Zml4OiByZW1vdmUgZHVwbGljYXRlIHdvcmtpbmcgZGlyZWN0b3J5ICYgZW52aXJvbm1lbnQgZnJvbSBwbHVnaW4gcHJvdG9jb2w=-->fix: remove duplicate working directory & environment from plugin protocol<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1691): <!--number 1691 --><!--line 0 --><!--description Zml4OiBwcmV2ZW50IHJ1bm5lcidzIHN0ZG91dCBpc2F0dHkgYWZmZWN0aW5nIGRvY2tlciBjcmVhdGUsIGV4ZWMsIGF0dGFjaCBjb21tYW5kcw==-->fix: prevent runner's stdout isatty affecting docker create, exec, attach commands<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1692): <!--number 1692 --><!--line 0 --><!--description Zml4OiBkb24ndCBydW4gaG9zdC1iYXNlZCBleGVjdXRvciAmIExYQyBleGVjdXRvciBzdWJjb21tYW5kcyBpbiBhIFRUWQ==-->fix: don't run host-based executor & LXC executor subcommands in a TTY<!--description-->
- other
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1717): <!--number 1717 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBjb2RlLmZvcmdlam8ub3JnL2Zvcmdlam8vYWN0aW9ucy1wcm90byB0byB2MC44LjA=-->Update module code.forgejo.org/forgejo/actions-proto to v0.8.0<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1712): <!--number 1712 --><!--line 0 --><!--description VXBkYXRlIGRhdGEuZm9yZ2Vqby5vcmcvb2NpL2NpIERvY2tlciB0YWcgdG8gdjM=-->Update data.forgejo.org/oci/ci Docker tag to v3<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1711): <!--number 1711 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL3NpcnVwc2VuL2xvZ3J1cyB0byB2MS4xMC4y-->Update module github.com/sirupsen/logrus to v1.10.2<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1708): <!--number 1708 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnb29nbGUuZ29sYW5nLm9yZy9ncnBjIHRvIHYxLjgzLjI=-->Update module google.golang.org/grpc to v1.83.2<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1699): <!--number 1699 --><!--line 0 --><!--description Y2hvcmU6IGFkZCBkb2N1bWVudGF0aW9uIG9mIGNvbmN1cnJlbmN5ICYgY2FuY2VsbGF0aW9uIHRvIHBsdWdpbiBwcm90b2NvbA==-->chore: add documentation of concurrency & cancellation to plugin protocol<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1709): <!--number 1709 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBtdmRhbi5jYy9nb2Z1bXB0IHRvIHYwLjExLjA=-->Update module mvdan.cc/gofumpt to v0.11.0<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1706): <!--number 1706 --><!--line 0 --><!--description VXBkYXRlIGZvcmdlam8tcnVubmVyIHRvIHYxMw==-->Update forgejo-runner to v13<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1696): <!--number 1696 --><!--line 0 --><!--description Y2hvcmU6IHVwZGF0ZSBnbyB0byAxLjI2-->chore: update go to 1.26<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1704): <!--number 1704 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnb2xhbmcub3JnL3gvdGVybSB0byB2MC40NS4w-->Update module golang.org/x/term to v0.45.0<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1703): <!--number 1703 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL3N0cmV0Y2hyL3Rlc3RpZnkgdG8gdjEuMTIuMQ==-->Update module github.com/stretchr/testify to v1.12.1<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1702): <!--number 1702 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL3NpcnVwc2VuL2xvZ3J1cyB0byB2MS4xMC4x-->Update module github.com/sirupsen/logrus to v1.10.1<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1701): <!--number 1701 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL3Zla3RyYS9tb2NrZXJ5L3YzIHRvIHYzLjcuNA==-->Update module github.com/vektra/mockery/v3 to v3.7.4<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1695): <!--number 1695 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL2dvbGFuZ2NpL2dvbGFuZ2NpLWxpbnQvdjIvY21kL2dvbGFuZ2NpLWxpbnQgdG8gdjIuMTMuMQ==-->Update module github.com/golangci/golangci-lint/v2/cmd/golangci-lint to v2.13.1<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1698): <!--number 1698 --><!--line 0 --><!--description VXBkYXRlIGdvIHRvb2xjaGFpbiBkaXJlY3RpdmUgdG8gdjEuMjYuNw==-->Update go toolchain directive to v1.26.7<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1694): <!--number 1694 --><!--line 0 --><!--description VXBkYXRlIGRhdGEuZm9yZ2Vqby5vcmcvb2NpL2FscGluZSBEb2NrZXIgdGFnIHRvIHYzLjI0-->Update data.forgejo.org/oci/alpine Docker tag to v3.24<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1697): <!--number 1697 --><!--line 0 --><!--description VXBkYXRlIGdvIHRvb2xjaGFpbiBkaXJlY3RpdmUgdG8gdjEuMjYuNiBbU0VDVVJJVFld-->Update go toolchain directive to v1.26.6 \[SECURITY]<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1693): <!--number 1693 --><!--line 0 --><!--description dGVzdDogZml4IGBUZXN0UnVubmVyX1J1bkV2ZW50YCBub3QgY2hlY2tpbmcgZXJyb3IgbWVzc2FnZXMgb24gZXJyb3IgY2FzZXM=-->test: fix `TestRunner_RunEvent` not checking error messages on error cases<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1690): <!--number 1690 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1ZiB0byB2MS4zNi4xMg==-->Update module google.golang.org/protobuf to v1.36.12<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1689): <!--number 1689 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL3Zla3RyYS9tb2NrZXJ5L3YzIHRvIHYzLjcuMw==-->Update module github.com/vektra/mockery/v3 to v3.7.3<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1688): <!--number 1688 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL21vYnkvZ28tYXJjaGl2ZSB0byB2MC4zLjM=-->Update module github.com/moby/go-archive to v0.3.3<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1687): <!--number 1687 --><!--line 0 --><!--description VXBkYXRlIGRlcGVuZGVuY3kgZm9yZ2Vqby1ydW5uZXItc2VydmljZS15cSB0byB2NC41My42-->Update dependency forgejo-runner-service-yq to v4.53.6<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1685): <!--number 1685 --><!--line 0 --><!--description VXBkYXRlIGdvIHRvb2xjaGFpbiBkaXJlY3RpdmUgdG8gdjEuMjUuMTQ=-->Update go toolchain directive to v1.25.14<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1662): <!--number 1662 --><!--line 0 --><!--description VXBkYXRlIGRlcGVuZGVuY3kgYnVpbGR4IHRvIHYwLjM2LjE=-->Update dependency buildx to v0.36.1<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1670): <!--number 1670 --><!--line 0 --><!--description VXBkYXRlIGdvbGFuZy5vcmcveC9uZXQgKGluZGlyZWN0KSB0byB2MC41Ni4wIFtTRUNVUklUWV0=-->Update golang.org/x/net (indirect) to v0.56.0 \[SECURITY]<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1684): <!--number 1684 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL21vYnkvZ28tYXJjaGl2ZSB0byB2MC4zLjAgW1NFQ1VSSVRZXQ==-->Update module github.com/moby/go-archive to v0.3.0 \[SECURITY]<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1671): <!--number 1671 --><!--line 0 --><!--description VXBkYXRlIGdvbGFuZy5vcmcveC90ZXh0IChpbmRpcmVjdCkgdG8gdjAuMzkuMCBbU0VDVVJJVFld-->Update golang.org/x/text (indirect) to v0.39.0 \[SECURITY]<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1672): <!--number 1672 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnb29nbGUuZ29sYW5nLm9yZy9ncnBjIHRvIHYxLjgyLjEgW1NFQ1VSSVRZXQ==-->Update module google.golang.org/grpc to v1.82.1 \[SECURITY]<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1666): <!--number 1666 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL2RvY2tlci9jbGkgdG8gdjI5LjcuMitpbmNvbXBhdGlibGU=-->Update module github.com/docker/cli to v29.7.2+incompatible<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1669): <!--number 1669 --><!--line 0 --><!--description VXBkYXRlIGdvIHRvb2xjaGFpbiBkaXJlY3RpdmUgdG8gdjEuMjUuMTMgW1NFQ1VSSVRZXQ==-->Update go toolchain directive to v1.25.13 \[SECURITY]<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1659): <!--number 1659 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnby55YW1sLmluL3lhbWwvdjMgdG8gdjMuMC41-->Update module go.yaml.in/yaml/v3 to v3.0.5<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1661): <!--number 1661 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL2RvY2tlci9jbGkgdG8gdjI5LjcuMStpbmNvbXBhdGlibGU=-->Update module github.com/docker/cli to v29.7.1+incompatible<!--description-->

<!--end release-notes-assistant-->

### [`v13.0.0`](https://code.forgejo.org/forgejo/runner/releases/tag/v13.0.0)

[Compare Source](https://code.forgejo.org/forgejo/runner/compare/v12.13.2...v13.0.0)

- [User guide](https://forgejo.org/docs/next/user/actions/overview/)
- [Administrator guide](https://forgejo.org/docs/next/admin/actions/)
- [Container images](https://code.forgejo.org/forgejo/-/packages/container/runner/versions)

Release Notes

***

Forgejo v13 contains **breaking changes** in order to improve security and predictability of Forgejo Actions.  See the [v13.0.0 blog post](https://forgejo.org/2026-08-runner-release-v13/) for a description of each of those changes.

<!--start release-notes-assistant-->

<!--URL:https://code.forgejo.org/forgejo/runner-->

- bug fixes
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1656): <!--number 1656 --><!--line 0 --><!--description Zml4OiBpbnRlcnBvbGF0ZSB1c2VzIGtleSBvZiBEb2NrZXIgYWN0aW9ucw==-->fix: interpolate uses key of Docker actions<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1655): <!--number 1655 --><!--line 0 --><!--description Zml4OiBkbyBub3QgbG9nIGVycm9yIGlmIHJ1bnMtb24gaXMgYWJzZW50-->fix: do not log error if runs-on is absent<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1654): <!--number 1654 --><!--line 0 --><!--description Zml4OiB0dXJuIGludmFsaWQgbWF0cmljZXMgaW50byBhIGhhcmQgZXJyb3I=-->fix: turn invalid matrices into a hard error<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1646): <!--number 1646 --><!--line 0 --><!--description Zml4OiBmYWlsIGpvYnMsIHN0ZXBzIGlmIGV4cHJlc3Npb24gaW50ZXJwb2xhdGlvbiBmYWlscw==-->fix: fail jobs, steps if expression interpolation fails<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1643): <!--number 1643 --><!--line 0 --><!--description Zml4OiBFdmFsdWF0ZUlmKCkgbG9zZXMgJHt7IGlucHV0cy54IH19IG9uIHJldXNhYmxlIHdvcmtmbG93IGV4cGFuc2lvbg==-->fix: EvaluateIf() loses ${{ inputs.x }} on reusable workflow expansion<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1635): <!--number 1635 --><!--line 0 --><!--description Zml4OiBwcmV2ZW50IGNvbW1pdCBpbXBlcnNvbmF0aW9uIHZpYSBgcmVmcy9yZXBsYWNlLypgIGR1cmluZyBhY3Rpb24gY2hlY2tvdXQ=-->fix: prevent commit impersonation via `refs/replace/*` during action checkout<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1633): <!--number 1633 --><!--line 0 --><!--description Zml4OiBuaWwgZGVyZWZlcmVuY2Ugd2hlbiBFdmFsdWF0ZUlmIGlzIGNhbGxlZCB3LyBjYW5jZWxsZWQoKSBleHBy-->fix: nil dereference when EvaluateIf is called w/ cancelled() expr<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1623): <!--number 1623 --><!--line 0 --><!--description Zml4OiBydW4gZ2l0IHN1YnByb2Nlc3NlcyBpbiBhIHByb2Nlc3MgZ3JvdXA=-->fix: run git subprocesses in a process group<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1625): <!--number 1625 --><!--line 0 --><!--description Zml4OiBydW4gZm9yZ2Vqby1ydW5uZXIgdW5kZXIgZHVtYi1pbml0IGluIGl0cyBjb250YWluZXI=-->fix: run forgejo-runner under dumb-init in its container<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1624): <!--number 1624 --><!--line 0 --><!--description Zml4OiByZWFkIGdpdGVhXyogdmFyaWFibGVzIHNlbnQgYnkgRm9yZ2VqbyBhZ2Fpbg==-->fix: read gitea\_\* variables sent by Forgejo again<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1620): <!--number 1620 --><!--line 0 --><!--description Zml4OiBwb3RlbnRpYWwgbmlsIGRlcmVmZXJlbmNlIGluICgqU2luZ2xlV29ya2Zsb3cpLkhhc1Blcm1pc3Npb25zKCk=-->fix: potential nil dereference in (\*SingleWorkflow).HasPermissions()<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1606): <!--number 1606 --><!--line 0 --><!--description Zml4OiBiaW5kIHdvcmtzcGFjZSBpbnRvIGFjdGlvbnMgY29udGFpbmVyIGluIGhvc3QgbW9kZQ==-->fix: bind workspace into actions container in host mode<!--description-->
- other
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1645): <!--number 1645 --><!--line 0 --><!--description Y2hvcmU6IHByZXBhcmUgZm9yIHJ1bm5lciB2MTMgcmVsZWFzZQ==-->chore: prepare for runner v13 release<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1660): <!--number 1660 --><!--line 0 --><!--description VXBkYXRlIGRlcGVuZGVuY3kgYnVpbGR4IHRvIHYwLjM2LjA=-->Update dependency buildx to v0.36.0<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1653): <!--number 1653 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL2RvY2tlci9nby1jb25uZWN0aW9ucyB0byB2MC44LjE=-->Update module github.com/docker/go-connections to v0.8.1<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1652): <!--number 1652 --><!--line 0 --><!--description VXBkYXRlIGdvLm9wZW50ZWxlbWV0cnkuaW8vb3RlbCAoaW5kaXJlY3QpIHRvIHYxLjQ0LjAgW1NFQ1VSSVRZXQ==-->Update go.opentelemetry.io/otel (indirect) to v1.44.0 \[SECURITY]<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1649): <!--number 1649 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL21vYnkvZ28tYXJjaGl2ZSB0byB2MC4yLjE=-->Update module github.com/moby/go-archive to v0.2.1<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1650): <!--number 1650 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL3Zla3RyYS9tb2NrZXJ5L3YzIHRvIHYzLjcuMg==-->Update module github.com/vektra/mockery/v3 to v3.7.2<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1647): <!--number 1647 --><!--line 0 --><!--description VXBkYXRlIGZvcmdlam8tcnVubmVyIHRvIHYxMi4xMy4y-->Update forgejo-runner to v12.13.2<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1648): <!--number 1648 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL21hdHRuL2dvLWlzYXR0eSB0byB2MC4wLjI0-->Update module github.com/mattn/go-isatty to v0.0.24<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1617): <!--number 1617 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL3Bvd2VybWFuL2ZpbGV1cmkgdG8gdjAuMy4w-->Update module github.com/powerman/fileuri to v0.3.0<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1642): <!--number 1642 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL21vYnkvbW9ieS9jbGllbnQgdG8gdjAuNS4w-->Update module github.com/moby/moby/client to v0.5.0<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1641): <!--number 1641 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL21vYnkvbW9ieS9hcGkgdG8gdjEuNTUuMA==-->Update module github.com/moby/moby/api to v1.55.0<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1638): <!--number 1638 --><!--line 0 --><!--description VXBkYXRlIGFjdGlvbnMvY2hlY2tvdXQ=-->Update actions/checkout<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1637): <!--number 1637 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL2RvY2tlci9jbGkgdG8gdjI5LjYuMitpbmNvbXBhdGlibGU=-->Update module github.com/docker/cli to v29.6.2+incompatible<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1636): <!--number 1636 --><!--line 0 --><!--description VXBkYXRlIGh0dHBzOi8vZGF0YS5mb3JnZWpvLm9yZy9hY3Rpb25zL3NldHVwLWZvcmdlam8gYWN0aW9uIHRvIHYzLjIuNA==-->Update <https://data.forgejo.org/actions/setup-forgejo> action to v3.2.4<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1547): <!--number 1547 --><!--line 0 --><!--description Y2hvcmU6IHVwZ3JhZGUgZ2l0aHViLmNvbS9kb2NrZXIvY2xpIHRvIHYyOQ==-->chore: upgrade github.com/docker/cli to v29<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1634): <!--number 1634 --><!--line 0 --><!--description VXBkYXRlIGZvcmdlam8tcnVubmVyIHRvIHYxMi4xMy4x-->Update forgejo-runner to v12.13.1<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1632): <!--number 1632 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL21hdHRuL2dvLWlzYXR0eSB0byB2MC4wLjIz-->Update module github.com/mattn/go-isatty to v0.0.23<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1631): <!--number 1631 --><!--line 0 --><!--description Y2hvcmU6IHJlbW92ZSB3b3JrZmxvdyBjb21tYW5kIHNldC1vdXRwdXQ=-->chore: remove workflow command set-output<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1630): <!--number 1630 --><!--line 0 --><!--description Y2k6IGFkZCAnYXB0LWdldCB1cGRhdGUnIGJlZm9yZSBzZXR1cC1mb3JnZWpvIHN0ZXBz-->ci: add 'apt-get update' before setup-forgejo steps<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1629): <!--number 1629 --><!--line 0 --><!--description Y2hvcmU6IHVwZGF0ZSBoYXNoZmlsZXM=-->chore: update hashfiles<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1627): <!--number 1627 --><!--line 0 --><!--description Y2hvcmU6IHJlbW92ZSB3b3JrZmxvdyBjb21tYW5kIHNldC1lbnY=-->chore: remove workflow command set-env<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1626): <!--number 1626 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnb2xhbmcub3JnL3gvc3lzIHRvIHYwLjQ3LjA=-->Update module golang.org/x/sys to v0.47.0<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1628): <!--number 1628 --><!--line 0 --><!--description dGVzdDogcmVmcmVzaCBhcHQgY2FjaGUgYmVmb3JlIGluc3RhbGxpbmcgcGFja2FnZXM=-->test: refresh apt cache before installing packages<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1616): <!--number 1616 --><!--line 0 --><!--description Y2hvcmU6IHJlbW92ZSB3b3JrZmxvdyBjb21tYW5kIGFkZC1wYXRo-->chore: remove workflow command add-path<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1618): <!--number 1618 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnby5ldGNkLmlvL2Jib2x0IHRvIHYxLjUuMA==-->Update module go.etcd.io/bbolt to v1.5.0<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1611): <!--number 1611 --><!--line 0 --><!--description Y2hvcmU6IHJlbW92ZSBHaXRlYSBjb21wYXRpYmlsaXR5-->chore: remove Gitea compatibility<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1622): <!--number 1622 --><!--line 0 --><!--description dGVzdDogaW5jcmVhc2UgdGltZW91dCBvZiBQb2RtYW4gdGVzdHM=-->test: increase timeout of Podman tests<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1619): <!--number 1619 --><!--line 0 --><!--description dGVzdDogZml4IHRlc3RzIHRoYXQgYWNjaWRlbnRhbGx5IHJlcXVpcmUgRG9ja2VyLCBza2lwIHJlc3Q=-->test: fix tests that accidentally require Docker, skip rest<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1610): <!--number 1610 --><!--line 0 --><!--description Y2hvcmU6IHJlbW92ZSBhYmlsaXR5IHRvIHVzZSBzZWNyZXRzIGZvciByZWdpc3RyeSBhdXRoZW50aWNhdGlvbg==-->chore: remove ability to use secrets for registry authentication<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1614): <!--number 1614 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL29wZW5jb250YWluZXJzL3NlbGludXggdG8gdjEuMTUuMQ==-->Update module github.com/opencontainers/selinux to v1.15.1<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1607): <!--number 1607 --><!--line 0 --><!--description Y2hvcmU6IHJlbW92ZSBzdXBwb3J0IGZvciBkZXByZWNhdGVkIEdJVEVBXyBlbnZpcm9ubWVudCB2YXJpYWJsZXM=-->chore: remove support for deprecated GITEA\_ environment variables<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1613): <!--number 1613 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL2dvbGFuZ2NpL2dvbGFuZ2NpLWxpbnQvdjIvY21kL2dvbGFuZ2NpLWxpbnQgdG8gdjIuMTIuMg==-->Update module github.com/golangci/golangci-lint/v2/cmd/golangci-lint to v2.12.2<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1609): <!--number 1609 --><!--line 0 --><!--description Y2hvcmU6IHJlbW92ZSBsb3dlcmNhc2luZyBvZiBjcm9uLCB0aW1lem9uZSBhdHRyaWJ1dGVz-->chore: remove lowercasing of cron, timezone attributes<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1608): <!--number 1608 --><!--line 0 --><!--description Y2hvcmU6IHJlbW92ZSBkZXByZWNhdGVkIGNvbmZpZyB2YXJpYWJsZSBOZXR3b3JrTW9kZQ==-->chore: remove deprecated config variable NetworkMode<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1612): <!--number 1612 --><!--line 0 --><!--description VXBkYXRlIGRhdGEuZm9yZ2Vqby5vcmcvZm9yZ2Vqby9mb3JnZWpvIERvY2tlciB0YWcgdG8gdjExLjAuMTY=-->Update data.forgejo.org/forgejo/forgejo Docker tag to v11.0.16<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1604): <!--number 1604 --><!--line 0 --><!--description VXBkYXRlIGZvcmdlam8tcnVubmVyIHRvIHYxMi4xMy4w-->Update forgejo-runner to v12.13.0<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1605): <!--number 1605 --><!--line 0 --><!--description VXBkYXRlIGh0dHBzOi8vZGF0YS5mb3JnZWpvLm9yZy9hY3Rpb25zL3NldHVwLWdvIGFjdGlvbiB0byB2Ni41LjA=-->Update <https://data.forgejo.org/actions/setup-go> action to v6.5.0<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1602): <!--number 1602 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL3Zla3RyYS9tb2NrZXJ5L3YzIHRvIHYzLjcuMQ==-->Update module github.com/vektra/mockery/v3 to v3.7.1<!--description-->

<!--end release-notes-assistant-->

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - Between 12:00 AM and 03:59 AM (`* 0-3 * * *`)
- Automerge
  - Between 12:00 AM and 03:59 AM (`* 0-3 * * *`)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC41Mi4wIiwidXBkYXRlZEluVmVyIjoiNDQuNTIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/1107
2026-09-01 01:51:25 +00:00
.forgejo Update https://data.forgejo.org/actions/forgejo-release action to v2.13.4 (#1033) 2026-08-07 08:14:45 +00:00
testdata Update data.forgejo.org/oci/alpine Docker tag to v3.24 (#1073) 2026-08-09 00:25:35 +00:00
utils automatically build from source if the version is @branch 2023-10-14 23:22:19 +02:00
.editorconfig chore(cleanup): shfmt and .editorconfig applied to all scripts 2025-01-28 21:39:30 +01:00
.gitignore bootstrap 2023-03-24 15:59:04 +01:00
.gitmodules remove lxc-helpers as a submodule 2023-05-21 22:58:27 +02:00
action.yml Update dependency forgejo/runner to v13 (#1107) 2026-09-01 01:51:25 +00:00
forgejo-binary-app.ini forgejo app.ini ENABLE_PUSH_CREATE_ORG = true 2024-02-06 18:09:02 +01:00
forgejo-binary.sh chore(renovate): normalize versions as a preliminary step (#317) 2025-02-27 18:08:35 +00:00
forgejo-curl.sh Update forgejo-curl to v1.0.2 (#997) 2026-06-02 13:23:51 +00:00
forgejo-dependencies.sh chore(cleanup): shfmt and .editorconfig applied to all scripts 2025-01-28 21:39:30 +01:00
forgejo-lib.sh chore(renovate): normalize versions as a preliminary step (#317) 2025-02-27 18:08:35 +00:00
forgejo-runner.sh chore: add support for arm64 architecture set up (#1002) 2026-06-05 18:43:29 +00:00
forgejo-test-helper.sh fix!: s/FORGEJO_TOKEN/FORGEJO_TEST_TOKEN/ (#461) 2025-07-07 06:34:32 +00:00
forgejo.sh chore(renovate): normalize versions as a preliminary step (#317) 2025-02-27 18:08:35 +00:00
LICENSE LICENSE is MIT 2023-04-01 11:08:06 +02:00
lxc-helpers-lib.sh upgrade lxc-helpers 2023-12-04 18:06:06 +01:00
lxc-helpers.sh upgrade lxc-helpers 2023-12-04 18:06:06 +01:00
README.md Update dependency forgejo/runner to v13 (#1107) 2026-09-01 01:51:25 +00:00
runner-config.yaml IPv6 tests 2023-12-04 18:06:06 +01:00
RUNNER_REPOSITORY automatically build from source if the version is @branch 2023-10-14 23:22:19 +02:00
RUNNER_VERSION Update dependency forgejo/runner to v13 (#1107) 2026-09-01 01:51:25 +00:00

setup-forgejo

  • v1: only supports running Forgejo from container images
  • v2: only supports running Forgejo from binaries

Description

Setup Forgejo and a runner.

If binary is specified, Forgejo downloads the binary from the URL and uses it to start an instance.

Otherwise, image and image-version must be specified and Forgejo runs from the corresponding container image using docker.

The forgejo-test-helper.sh script is available to help test and debug actions.

forgejo=http://root:admin1234@${{ steps.forgejo.outputs.host-port }}

  • forgejo-test-helper.sh push_self_action $forgejo root myaction vTest Creates the repository $forgejo/root/myaction and populates it with the content of the repository under test, except for the .forgejo directory (it would otherwise create an infinite loop). The tag vTest is set to the SHA under test.
  • forgejo-test-helper.sh run_workflow testrepo $forgejo root testrepo myaction Creates the repository $forgejo/root/testrepo and populates it with the content of the testrepo directory. All occurrences of SELF in testrepo/.forgejo/workflows/*.yml are replaced with $forgejo/root/myaction.
  • forgejo-test-helper.sh push testrepo $forgejo root testrepo Creates the repository $forgejo/root/testrepo and populates it with the content of the testrepo directory.

The combination of push_self_action and run_workflow allows to run Forgejo Actions workflows from testrepo that use the action under test (myaction) to verify it works as intended.

The forgejo-curl.sh script is logged in the instance and ready to be used with web or api endpoints.

It can only be used in a job with a runs-on label that designates a Forgejo runner that provides a LXC container.

Inputs

name description required default
image

Container image

false code.forgejo.org/forgejo/forgejo
image-version

Container image version

false 15.0
binary

URL to a Forgejo binary

false ""
user

Administrator user name

false root
password

Administrator password

false admin1234
runner

Runner repository

false https://code.forgejo.org/forgejo/runner
runner-version

Runner version. If it starts with @ (for instance @featurebranch), the runner will be built from source using the specified branch.

false v13.1.0
container

Name of the container running the Forgejo instance

false forgejo
lxc-ip-prefix

Class C IP prefix used by LXC

false 10.0.23
install-only

Only install Forgejo and the Forgejo runner, do not launch them

false false

Outputs

name description
url

URL of the Forgejo instance

host-port

Host and port of the Forgejo instance, e.g 172.0.17.2:3000

token

Administrator application token with all scopes

runner-logs

Filename of the Forgejo runner logs

runner-file

Path to the runner file

Example

name: Setup Forgejo
on: [push]
jobs:
  setup-forgejo:
    runs-on: lxc
    steps:
      - uses: actions/checkout@v4
      - id: forgejo
        uses: actions/setup-forgejo@v1
        with:
          image-version: 7.0
      - run: |
          curl ${{ steps.forgejo.outputs.url }}/api/forgejo/v1/version | grep 7.0

Documentation

Update the README from the action file with https://github.com/npalm/action-docs action-docs --update-readme