Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package forgejo-runner for openSUSE:Factory
checked in at 2026-12-02 17:05:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/forgejo-runner (Old)
and /work/SRC/openSUSE:Factory/.forgejo-runner.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "forgejo-runner"
Wed Dec 2 17:05:07 2026 rev:54 rq:1402136 version:13.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/forgejo-runner/forgejo-runner.changes
2026-09-22 15:53:31.005974286 +0200
+++
/work/SRC/openSUSE:Factory/.forgejo-runner.new.1340718/forgejo-runner.changes
2026-12-02 17:07:32.761031883 +0100
@@ -1,0 +2,69 @@
+Tue Dec 1 18:00:37 UTC 2026 - Marcus Rueckert <[email protected]>
+
+- Update to 13.3.0
+ - features
+ - PR: feat: use node:22-bookworm in forgejo-runner exec by
+ default rather than 20-bullseye
+ - bug fixes
+ - PR: fix: prevent the usage of unsanitized user data in step
+ script path names
+ - PR: fix: prevent extremely large expression parsing through
+ actionlint
+ - PR: fix: update lxc-helpers to v1.1.5
+ - PR: fix(plugin): remove custom dialer for unix sockets
+ - PR: fix: workaround lxc sudo bug
+ - PR: fix: exponential growth in the runner's secret-mask list
+ w/ composite actions
+ - PR: fix: set container daemon socket to "-" if the default
+ socket is not available
+ - other
+ - PR: chore: exempt cascading-pr from "AI" compliance check
+ - PR: test: fix flakyness in tests
+ - PR: Update go.opentelemetry.io/otel (indirect) to v1.47.0
+ [SECURITY]
+ - PR: Update golang.org/x/net (indirect) to v0.62.0 [SECURITY]
+ - PR: Update https://data.forgejo.org/actions/setup-forgejo
+ action to v3.2.9
+ - PR: Update go toolchain directive to v1.26.11 [SECURITY]
+ - PR: Update https://data.forgejo.org/actions/cascading-pr
+ action to v2.5.0
+
+-------------------------------------------------------------------
+Thu Nov 19 15:50:13 UTC 2026 - Marcus Rueckert <[email protected]>
+
+- Update to 13.2.2
+ - bug fixes
+ - PR: fix: isolate cache writes of pull request triggered
+ reusable workflows
+ - PR: fix: update lxc-helpers to v1.1.4
+ - PR: fix(ci): install pre-commit via apt
+ - other
+ - PR: test: make linuxBind tests pass on machines with SELinux
+
+-------------------------------------------------------------------
+Thu Oct 29 22:34:20 UTC 2026 - Marcus Rueckert <[email protected]>
+
+- Update to 13.2.1
+ - PR: Update dependency buildx to v0.37.2
+ - PR: Update module github.com/moby/moby/client to v0.6.1
+ - PR: Update module github.com/docker/cli to v29.8.2+incompatible
+ - PR: Update dependency forgejo-runner-service-yq to v4.54.1
+ - PR: chore: workaround intermittent docker error on
+ multiplatform tests
+ - PR: chore: upgrade test environment from bookworm -> trixie
+ - PR: Update module
+ github.com/golangci/golangci-lint/v2/cmd/golangci-lint to
+ v2.14.0
+ - PR: chore: require AI Agreement conformance statement for PRs
+ - PR: Update module golang.org/x/time to v0.16.0
+ - PR: Update module google.golang.org/grpc to v1.84.0
+ - PR: Update
+ https://data.forgejo.org/forgejo/forgejo-build-publish action
+ to v5.8.0
+ - PR: Update https://data.forgejo.org/actions/setup-forgejo
+ action to v3.2.6
+ - PR: Update module github.com/vektra/mockery/v3 to v3.8.0
+ - PR: Update forgejo-runner to v13.2.0
+ - PR: Update module golang.org/x/term to v0.46.0
+
+-------------------------------------------------------------------
Old:
----
forgejo-runner-13.2.0.obscpio
New:
----
forgejo-runner-13.3.0.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ forgejo-runner.spec ++++++
--- /var/tmp/diff_new_pack.RiJ7RR/_old 2026-12-02 17:07:34.800118042 +0100
+++ /var/tmp/diff_new_pack.RiJ7RR/_new 2026-12-02 17:07:34.801118084 +0100
@@ -18,7 +18,7 @@
%define services %{name}.service
Name: forgejo-runner
-Version: 13.2.0
+Version: 13.3.0
Release: 0
Summary: Daemon that connects to a Forgejo instance and runs CI jobs
License: GPL-3.0-or-later
++++++ _service ++++++
--- /var/tmp/diff_new_pack.RiJ7RR/_old 2026-12-02 17:07:34.838119647 +0100
+++ /var/tmp/diff_new_pack.RiJ7RR/_new 2026-12-02 17:07:34.841119774 +0100
@@ -2,7 +2,7 @@
<service name="obs_scm" mode="manual">
<param name="url">https://code.forgejo.org/forgejo/runner</param>
<param name="scm">git</param>
- <param name="revision">refs/tags/v13.2.0</param>
+ <param name="revision">refs/tags/v13.3.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">disable</param>
<param name="versionrewrite-pattern">v(.*)</param>
++++++ forgejo-runner-13.2.0.obscpio -> forgejo-runner-13.3.0.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/.forgejo/pull_request_template.md
new/forgejo-runner-13.3.0/.forgejo/pull_request_template.md
--- old/forgejo-runner-13.2.0/.forgejo/pull_request_template.md 1970-01-01
01:00:00.000000000 +0100
+++ new/forgejo-runner-13.3.0/.forgejo/pull_request_template.md 2026-12-01
17:37:43.000000000 +0100
@@ -0,0 +1,12 @@
+---
+
+name: "Pull Request Template"
+about: "Template for all Pull Requests"
+
+---
+
+## Checklist
+
+### Compliance
+
+- [ ] I confirm that I make this contribution in accordance with [Forgejo's AI
Agreement](https://codeberg.org/forgejo/governance/src/commit/9084720dc6a7fbf1d3f358919d46bd6adfb55287/AIAgreement.md).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/.forgejo/testdata/ipv6.yml
new/forgejo-runner-13.3.0/.forgejo/testdata/ipv6.yml
--- old/forgejo-runner-13.2.0/.forgejo/testdata/ipv6.yml 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/.forgejo/testdata/ipv6.yml 2026-12-01
17:37:43.000000000 +0100
@@ -4,7 +4,7 @@
ipv6:
runs-on: docker
container:
- image: code.forgejo.org/oci/debian:bookworm
+ image: code.forgejo.org/oci/debian:trixie
steps:
- run: |
apt update -qq ; apt --quiet install -qq --yes iputils-ping
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/.forgejo/testdata/var.yml
new/forgejo-runner-13.3.0/.forgejo/testdata/var.yml
--- old/forgejo-runner-13.2.0/.forgejo/testdata/var.yml 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/.forgejo/testdata/var.yml 2026-12-01
17:37:43.000000000 +0100
@@ -4,6 +4,6 @@
var:
runs-on: docker
container:
- image: code.forgejo.org/oci/debian:bookworm
+ image: code.forgejo.org/oci/debian:trixie
steps:
- run: echo "VAR -> ${{ vars.MY_VAR }}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/.forgejo/workflows/build-release-integration.yml
new/forgejo-runner-13.3.0/.forgejo/workflows/build-release-integration.yml
--- old/forgejo-runner-13.2.0/.forgejo/workflows/build-release-integration.yml
2026-09-18 23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/.forgejo/workflows/build-release-integration.yml
2026-12-01 17:37:43.000000000 +0100
@@ -30,7 +30,7 @@
- run: apt-get update
- id: forgejo
- uses:
https://data.forgejo.org/actions/setup-forgejo@26fab6aa0daec97133b4e0145cf9791f87386757
# v3.2.5
+ uses:
https://data.forgejo.org/actions/setup-forgejo@b6c423f1fe9c37c00f9c9b93cfab4d19a1dad81f
# v3.2.9
with:
user: root
password: admin1234
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/.forgejo/workflows/build-release.yml
new/forgejo-runner-13.3.0/.forgejo/workflows/build-release.yml
--- old/forgejo-runner-13.2.0/.forgejo/workflows/build-release.yml
2026-09-18 23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/.forgejo/workflows/build-release.yml
2026-12-01 17:37:43.000000000 +0100
@@ -62,7 +62,7 @@
- name: build without TOKEN
if: ${{ secrets.TOKEN == '' }}
- uses:
https://data.forgejo.org/forgejo/forgejo-build-publish/build@c219f52c4d9a15f8f9f979111b1b79801f6857f3
# v5.7.3
+ uses:
https://data.forgejo.org/forgejo/forgejo-build-publish/build@9ed66ada30e6b8b1a6f0a74752cc482d2ded196e
# v5.8.0
with:
forgejo: "${{ env.FORGEJO_SERVER_URL }}"
owner: "${{ env.FORGEJO_REPOSITORY_OWNER }}"
@@ -78,7 +78,7 @@
- name: build with TOKEN
if: ${{ secrets.TOKEN != '' }}
- uses:
https://data.forgejo.org/forgejo/forgejo-build-publish/build@c219f52c4d9a15f8f9f979111b1b79801f6857f3
# v5.7.3
+ uses:
https://data.forgejo.org/forgejo/forgejo-build-publish/build@9ed66ada30e6b8b1a6f0a74752cc482d2ded196e
# v5.8.0
with:
forgejo: "${{ env.FORGEJO_SERVER_URL }}"
owner: "${{ env.FORGEJO_REPOSITORY_OWNER }}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/.forgejo/workflows/cascade-forgejo.yml
new/forgejo-runner-13.3.0/.forgejo/workflows/cascade-forgejo.yml
--- old/forgejo-runner-13.2.0/.forgejo/workflows/cascade-forgejo.yml
2026-09-18 23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/.forgejo/workflows/cascade-forgejo.yml
2026-12-01 17:37:43.000000000 +0100
@@ -91,7 +91,7 @@
- uses:
https://data.forgejo.org/actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16
# v6.5.0
with:
go-version-file: go.mod
- - uses:
https://data.forgejo.org/actions/cascading-pr@b52d5b1f4f7bc3dd8b9f6ceca3a05aea6e9920be
# v2.3.2
+ - uses:
https://data.forgejo.org/actions/cascading-pr@7a76e93c6887d5bc93986b9b5a8ef6c2b7ac328b
# v2.5.0
with:
origin-url: ${{ forge.server_url }}
origin-repo: ${{ forge.repository }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/.forgejo/workflows/cascade-setup-forgejo.yml
new/forgejo-runner-13.3.0/.forgejo/workflows/cascade-setup-forgejo.yml
--- old/forgejo-runner-13.2.0/.forgejo/workflows/cascade-setup-forgejo.yml
2026-09-18 23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/.forgejo/workflows/cascade-setup-forgejo.yml
2026-12-01 17:37:43.000000000 +0100
@@ -81,7 +81,7 @@
container:
image: 'data.forgejo.org/oci/node:24-trixie'
steps:
- - uses:
https://data.forgejo.org/actions/cascading-pr@b52d5b1f4f7bc3dd8b9f6ceca3a05aea6e9920be
# v2.3.2
+ - uses:
https://data.forgejo.org/actions/cascading-pr@7a76e93c6887d5bc93986b9b5a8ef6c2b7ac328b
# v2.5.0
with:
origin-url: ${{ forge.server_url }}
origin-repo: ${{ forge.repository }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/.forgejo/workflows/docker-build-push-action-in-lxc.yml
new/forgejo-runner-13.3.0/.forgejo/workflows/docker-build-push-action-in-lxc.yml
---
old/forgejo-runner-13.2.0/.forgejo/workflows/docker-build-push-action-in-lxc.yml
2026-09-18 23:03:02.000000000 +0200
+++
new/forgejo-runner-13.3.0/.forgejo/workflows/docker-build-push-action-in-lxc.yml
2026-12-01 17:37:43.000000000 +0100
@@ -35,7 +35,7 @@
- run: apt-get update
- name: install Forgejo so it can be used as a container registry
id: registry
- uses:
https://data.forgejo.org/actions/setup-forgejo@26fab6aa0daec97133b4e0145cf9791f87386757
# v3.2.5
+ uses:
https://data.forgejo.org/actions/setup-forgejo@b6c423f1fe9c37c00f9c9b93cfab4d19a1dad81f
# v3.2.9
with:
user: ${{ env.FORGEJO_USER }}
password: ${{ env.FORGEJO_PASSWORD }}
@@ -59,7 +59,7 @@
- uses:
https://data.forgejo.org/docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130
# v3.7.0
- uses:
https://data.forgejo.org/docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f
# v3.12.0
with:
- version: v0.37.1 # renovate: datasource=github-releases
depName=buildx packageName=docker/buildx
+ version: v0.37.2 # renovate: datasource=github-releases
depName=buildx packageName=docker/buildx
# insecure / http connections to the registry are allowed
config-inline: |
[registry."${{ steps.registry.outputs.host-port }}"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/.forgejo/workflows/example-lxc-systemd.yml
new/forgejo-runner-13.3.0/.forgejo/workflows/example-lxc-systemd.yml
--- old/forgejo-runner-13.2.0/.forgejo/workflows/example-lxc-systemd.yml
2026-09-18 23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/.forgejo/workflows/example-lxc-systemd.yml
2026-12-01 17:37:43.000000000 +0100
@@ -54,7 +54,7 @@
done
- id: forgejo
- uses:
https://data.forgejo.org/actions/setup-forgejo@26fab6aa0daec97133b4e0145cf9791f87386757
# v3.2.5
+ uses:
https://data.forgejo.org/actions/setup-forgejo@b6c423f1fe9c37c00f9c9b93cfab4d19a1dad81f
# v3.2.9
with:
user: root
password: admin1234
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/.forgejo/workflows/example-on-demand.yml
new/forgejo-runner-13.3.0/.forgejo/workflows/example-on-demand.yml
--- old/forgejo-runner-13.2.0/.forgejo/workflows/example-on-demand.yml
2026-09-18 23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/.forgejo/workflows/example-on-demand.yml
2026-12-01 17:37:43.000000000 +0100
@@ -30,7 +30,7 @@
- uses:
https://data.forgejo.org/actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
# v5.1.0
- run: apt-get update
- - uses:
https://data.forgejo.org/actions/setup-forgejo@26fab6aa0daec97133b4e0145cf9791f87386757
# v3.2.5
+ - uses:
https://data.forgejo.org/actions/setup-forgejo@b6c423f1fe9c37c00f9c9b93cfab4d19a1dad81f
# v3.2.9
with:
user: "${{ env.username }}"
password: "${{ env.password }}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/.forgejo/workflows/pr-ai-check.yml
new/forgejo-runner-13.3.0/.forgejo/workflows/pr-ai-check.yml
--- old/forgejo-runner-13.2.0/.forgejo/workflows/pr-ai-check.yml
1970-01-01 01:00:00.000000000 +0100
+++ new/forgejo-runner-13.3.0/.forgejo/workflows/pr-ai-check.yml
2026-12-01 17:37:43.000000000 +0100
@@ -0,0 +1,22 @@
+on:
+ pull_request_target:
+ types: [opened]
+
+name: pr-checklist
+
+jobs:
+ warn-user:
+ runs-on: docker
+ container:
+ image: data.forgejo.org/oci/ci:3
+ if: "!contains(forgejo.event.pull_request.body, '[x] I confirm that I make
this contribution in accordance with [Forgejo''s AI Agreement]') &&
!contains(fromJSON('[\"viceice-bot\", \"cascading-pr\"]'), forgejo.actor)"
+ steps:
+ - run: |
+ body=$(jq -n '{body: "Please ensure that the standard [Forgejo pull
request
template](https://code.forgejo.org/forgejo/runner/src/branch/main/.forgejo/pull_request_template.md)
is included in the pull request description, and that the AI Agreement
compliance checkbox has been checked."}')
+ curl \
+ -v --fail \
+ -H "Authorization: bearer ${{ secrets.forgejo_token }}" \
+ -H "Content-Type: application/json" \
+ -X POST \
+ -d "$body" \
+ "${{ forgejo.server_url }}/api/v1/repos/${{
forgejo.event.repository.full_name }}/issues/${{
forgejo.event.pull_request.number }}/comments"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/.forgejo/workflows/publish-release.yml
new/forgejo-runner-13.3.0/.forgejo/workflows/publish-release.yml
--- old/forgejo-runner-13.2.0/.forgejo/workflows/publish-release.yml
2026-09-18 23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/.forgejo/workflows/publish-release.yml
2026-12-01 17:37:43.000000000 +0100
@@ -30,7 +30,7 @@
- uses:
https://data.forgejo.org/actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
# v5.1.0
- name: copy & sign
- uses:
https://data.forgejo.org/forgejo/forgejo-build-publish/publish@c219f52c4d9a15f8f9f979111b1b79801f6857f3
# v5.7.3
+ uses:
https://data.forgejo.org/forgejo/forgejo-build-publish/publish@9ed66ada30e6b8b1a6f0a74752cc482d2ded196e
# v5.8.0
with:
from-forgejo: ${{ vars.FORGEJO }}
to-forgejo: ${{ vars.FORGEJO }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/.forgejo/workflows/test-multi-platform.yml
new/forgejo-runner-13.3.0/.forgejo/workflows/test-multi-platform.yml
--- old/forgejo-runner-13.2.0/.forgejo/workflows/test-multi-platform.yml
2026-09-18 23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/.forgejo/workflows/test-multi-platform.yml
2026-12-01 17:37:43.000000000 +0100
@@ -29,7 +29,7 @@
(
(forge.event_name == 'pull_request' || forge.event_name ==
'workflow_call') &&
(
- (forge.event.action == 'synchronized' &&
contains(forge.event.pull_request.labels.*.name, 'run-multi-platform-tests')) ||
+ ((forge.event.action == 'synchronized' || forge.event.action ==
'opened') && contains(forge.event.pull_request.labels.*.name,
'run-multi-platform-tests')) ||
(forge.event.action == 'label_updated' && forge.event.label.name
== 'run-multi-platform-tests')
)
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/.forgejo/workflows/test.yml
new/forgejo-runner-13.3.0/.forgejo/workflows/test.yml
--- old/forgejo-runner-13.2.0/.forgejo/workflows/test.yml 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/.forgejo/workflows/test.yml 2026-12-01
17:37:43.000000000 +0100
@@ -117,7 +117,7 @@
runner-exec-tests-with-docker:
name: Run exec tests with Docker (docker-${{ matrix.docker }})
if: vars.ROLE == 'forgejo-coding'
- runs-on: ${{ inputs.runner_prefix || '' }}lxc-bookworm
+ runs-on: ${{ inputs.runner_prefix || '' }}lxc-trixie
needs: [build]
strategy:
matrix:
@@ -176,7 +176,7 @@
integration-tests-with-docker:
name: Run integration tests with Docker (docker-${{ matrix.docker }})
if: vars.ROLE == 'forgejo-coding'
- runs-on: ${{ inputs.runner_prefix || '' }}lxc-bookworm
+ runs-on: ${{ inputs.runner_prefix || '' }}lxc-trixie
needs: [build]
strategy:
matrix:
@@ -221,7 +221,10 @@
"base": "fd05:d0ca:2::/104",
"size": 112
}
- ]
+ ],
+ "features": {
+ "containerd-snapshotter": false
+ }
}
EOF
./.forgejo/install-docker.sh ${{ matrix.docker }}
@@ -362,9 +365,8 @@
PIP_BREAK_SYSTEM_PACKAGES: 1
PIP_PROGRESS_BAR: off
run: |
- apt-get update -qq
- apt-get install -y -qq python3-pip
- python3 -m pip install 'pre-commit>=3.2.0'
+ apt-get update -q
+ apt-get install -y -q pre-commit
- name: validate .pre-commit-hooks.yaml
run: pre-commit validate-manifest .pre-commit-hooks.yaml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/Makefile
new/forgejo-runner-13.3.0/Makefile
--- old/forgejo-runner-13.2.0/Makefile 2026-09-18 23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/Makefile 2026-12-01 17:37:43.000000000 +0100
@@ -14,8 +14,8 @@
GOFILES := $(shell find . -type f -name "*.go" -o -name "go.mod" ! -name
"generated.*")
GOFUMPT_PACKAGE ?= mvdan.cc/[email protected] # renovate: datasource=go
-GOLANGCI_LINT_PACKAGE ?=
github.com/golangci/golangci-lint/v2/cmd/[email protected] # renovate:
datasource=go
-MOCKERY_PACKAGE ?= github.com/vektra/mockery/[email protected] # renovate:
datasource=go
+GOLANGCI_LINT_PACKAGE ?=
github.com/golangci/golangci-lint/v2/cmd/[email protected] # renovate:
datasource=go
+MOCKERY_PACKAGE ?= github.com/vektra/mockery/[email protected] # renovate:
datasource=go
BUF_PACKAGE=github.com/bufbuild/buf/cmd/[email protected] # renovate: datasource=go
PROTOC_GEN_GO_PACKAGE=google.golang.org/protobuf/cmd/[email protected] #
renovate: datasource=go
PROTOC_GEN_GO_GRPC_PACKAGE=google.golang.org/grpc/cmd/[email protected]
# renovate: datasource=go
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/act/artifactcache/mocks_test.go
new/forgejo-runner-13.3.0/act/artifactcache/mocks_test.go
--- old/forgejo-runner-13.2.0/act/artifactcache/mocks_test.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/act/artifactcache/mocks_test.go 2026-12-01
17:37:43.000000000 +0100
@@ -20,10 +20,19 @@
Cleanup(func())
},
) *mockcaches {
+ if helper, ok := t.(interface{ Helper() }); ok {
+ helper.Helper()
+ }
+
mock := &mockcaches{}
mock.Mock.Test(t)
- t.Cleanup(func() { mock.AssertExpectations(t) })
+ t.Cleanup(func() {
+ if helper, ok := t.(interface{ Helper() }); ok {
+ helper.Helper()
+ }
+ mock.AssertExpectations(t)
+ })
return mock
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/act/container/mocks_test.go
new/forgejo-runner-13.3.0/act/container/mocks_test.go
--- old/forgejo-runner-13.2.0/act/container/mocks_test.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/act/container/mocks_test.go 2026-12-01
17:37:43.000000000 +0100
@@ -20,10 +20,19 @@
Cleanup(func())
},
) *MockContainer {
+ if helper, ok := t.(interface{ Helper() }); ok {
+ helper.Helper()
+ }
+
mock := &MockContainer{}
mock.Mock.Test(t)
- t.Cleanup(func() { mock.AssertExpectations(t) })
+ t.Cleanup(func() {
+ if helper, ok := t.(interface{ Helper() }); ok {
+ helper.Helper()
+ }
+ mock.AssertExpectations(t)
+ })
return mock
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/act/exprparser/interpreter.go
new/forgejo-runner-13.3.0/act/exprparser/interpreter.go
--- old/forgejo-runner-13.2.0/act/exprparser/interpreter.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/act/exprparser/interpreter.go 2026-12-01
17:37:43.000000000 +0100
@@ -93,7 +93,13 @@
}
}
+const maxExpressionLength = 1024 * 1024
+
func (impl *interpreterImpl) Evaluate(input string, defaultStatusCheck
DefaultStatusCheck) (any, error) {
+ if len(input) > maxExpressionLength {
+ return nil, fmt.Errorf("expression length %d exceeds the
maximum supported expression length %d for expression (truncated): %q",
len(input), maxExpressionLength, input[:1024])
+ }
+
input = strings.TrimPrefix(input, "${{")
if defaultStatusCheck != DefaultStatusCheckNone && input == "" {
input = "success()"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/act/exprparser/interpreter_test.go
new/forgejo-runner-13.3.0/act/exprparser/interpreter_test.go
--- old/forgejo-runner-13.2.0/act/exprparser/interpreter_test.go
2026-09-18 23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/act/exprparser/interpreter_test.go
2026-12-01 17:37:43.000000000 +0100
@@ -4,6 +4,7 @@
"fmt"
"math"
"slices"
+ "strings"
"testing"
"code.forgejo.org/forgejo/runner/v13/act/model"
@@ -549,6 +550,24 @@
}
}
+func TestEvalSizeLimit(t *testing.T) {
+ expr := strings.Builder{}
+ for range 1024 * 1024 {
+ expr.WriteString("(")
+ }
+ expr.WriteString("100")
+ for range 1024 * 1024 {
+ expr.WriteString(")")
+ }
+ env := &EvaluationEnvironment{
+ Github: &model.GithubContext{
+ Action: "push",
+ },
+ }
+ _, err := NewInterpreter(env, Config{}).Evaluate(expr.String(),
DefaultStatusCheckNone)
+ require.ErrorContains(t, err, "expression length 2097155 exceeds the
maximum supported expression length 1048576 for expression (truncated): \"(")
+}
+
func TestContexts(t *testing.T) {
table := []struct {
input string
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/act/plugin/client.go
new/forgejo-runner-13.3.0/act/plugin/client.go
--- old/forgejo-runner-13.2.0/act/plugin/client.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/act/plugin/client.go 2026-12-01
17:37:43.000000000 +0100
@@ -7,7 +7,6 @@
"context"
"crypto/tls"
"fmt"
- "net"
"strings"
"time"
@@ -121,13 +120,6 @@
PermitWithoutStream: false,
}),
}
- if isUnix {
- socketPath := strings.TrimPrefix(address, "unix://")
- opts = append(opts, grpc.WithContextDialer(func(ctx
context.Context, _ string) (net.Conn, error) {
- return (&net.Dialer{}).DialContext(ctx, "unix",
socketPath)
- }))
- address = "passthrough:///" + socketPath
- }
conn, err := grpc.NewClient(address, opts...)
if err != nil {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/act/runner/action_composite.go
new/forgejo-runner-13.3.0/act/runner/action_composite.go
--- old/forgejo-runner-13.2.0/act/runner/action_composite.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/act/runner/action_composite.go 2026-12-01
17:37:43.000000000 +0100
@@ -5,6 +5,7 @@
"errors"
"fmt"
"regexp"
+ "slices"
"strings"
"code.forgejo.org/forgejo/runner/v13/act/common"
@@ -80,7 +81,7 @@
ActionPath: actionPath,
Env: env,
GlobalEnv: parent.GlobalEnv,
- Masks: parent.Masks,
+ Masks: slices.Clone(parent.Masks),
ExtraPath: parent.ExtraPath,
Parent: parent,
EventJSON: parent.EventJSON,
@@ -108,6 +109,8 @@
return fmt.Errorf("missing steps in composite action")
}
+ // Include masks added since this composite context was prepared
+ compositeRC.AddMask(rc.Masks...)
ctx = WithCompositeLogger(ctx, &compositeRC.Masks)
// It is expected that outputs, even in case of an execution
error, are propagated.
@@ -126,7 +129,8 @@
rc.setOutput(ctx, map[string]string{"name":
outputName}, interpolatedOutput)
}
- rc.Masks = append(rc.Masks, compositeRC.Masks...)
+ // Preserve masks for later steps
+ rc.AddMask(compositeRC.Masks...)
rc.ExtraPath = compositeRC.ExtraPath
// compositeRC.Env is dirty, contains INPUT_ and merged step
env, only rely on compositeRC.GlobalEnv
mergeIntoMap := mergeIntoMapCaseSensitive
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/act/runner/lxc-helpers-lib.sh
new/forgejo-runner-13.3.0/act/runner/lxc-helpers-lib.sh
--- old/forgejo-runner-13.2.0/act/runner/lxc-helpers-lib.sh 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/act/runner/lxc-helpers-lib.sh 2026-12-01
17:37:43.000000000 +0100
@@ -330,7 +330,11 @@
local logs
if $LXC_VERBOSE; then
- logs="--logfile=/dev/tty"
+ if { : >/dev/tty; } 2>/dev/null; then
+ logs="--logfile=/dev/tty"
+ else
+ logs="--logfile=/dev/stderr"
+ fi
fi
$LXC_SUDO lxc-start $logs $name
@@ -393,7 +397,12 @@
fi
local draft=$(lxc_transaction_draft_name)
- $LXC_SUDO lxc-create --name $draft --template debian --
--release=$LXC_CONTAINER_RELEASE
+ local options=""
+ if test "$LXC_CONTAINER_RELEASE" = bullseye; then
+ # bullseye is EOL: its security updates moved to archive.debian.org
+ options="--security-mirror=http://archive.debian.org/debian-security/"
+ fi
+ $LXC_SUDO lxc-create --name $draft --template debian --
--release=$LXC_CONTAINER_RELEASE $options
echo 'lxc.apparmor.profile = unconfined' | $LXC_SUDO tee -a $(lxc_config
$draft)
lxc_container_install_lxc_helpers $draft
lxc_container_start $draft
@@ -448,9 +457,19 @@
}
function lxc_apt_install_inside() {
+ # Update sources, they can be out of date
+ apt-get update -qq
apt-get install -y -qq "$@"
}
+function lxc_accept_ra_inside() {
+ # forwarding gets enabled by lxc-net and docker; with accept_ra=1 the
+ # kernel then ignores router advertisements and the IPv6 default route
+ # learned from the parent bridge is lost
+ echo 'net.ipv6.conf.eth0.accept_ra = 2'
>/etc/sysctl.d/60-lxc-helpers-accept-ra.conf
+ sysctl -qw net.ipv6.conf.eth0.accept_ra=2 || true
+}
+
function lxc_install_lxc() {
local name="$1"
local prefix="$2"
@@ -463,6 +482,8 @@
local prefix="$1"
local prefixv6="${2:-$LXC_IPV6_PREFIX_DEFAULT}"
+ lxc_accept_ra_inside
+
local packages="make git libvirt0 libpam-cgfs bridge-utils uidmap
dnsmasq-base dnsmasq dnsmasq-utils qemu-user-static lxc-templates debootstrap"
if test "$(lxc_release)" != bullseye; then
packages="$packages distro-info"
@@ -472,7 +493,7 @@
if ! grep --quiet LXC_ADDR=.$prefix.1. /etc/default/lxc-net; then
systemctl disable --now dnsmasq
- apt-get install -y -qq lxc
+ lxc_apt_install_inside lxc
systemctl stop lxc-net
sed -i -e '/ConditionVirtualization/d'
/usr/lib/systemd/system/lxc-net.service
systemctl daemon-reload
@@ -498,11 +519,15 @@
}
function lxc_install_docker_inside() {
+ lxc_accept_ra_inside
+
mkdir /etc/docker
cat >/etc/docker/daemon.json <<EOF
{
"insecure-registries": [ "10.0.0.0/8", "192.168.0.0/16" ],
"ipv6": true,
+ "experimental": true,
+ "ip6tables": true,
"fixed-cidr-v6": "$LXC_IPV6_DOCKER_PREFIX_DEFAULT:1::/64",
"default-address-pools": [
{"base": "$LXC_DOCKER_PREFIX_DEFAULT.0.0/16", "size": 24},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/act/runner/mocks_test.go
new/forgejo-runner-13.3.0/act/runner/mocks_test.go
--- old/forgejo-runner-13.2.0/act/runner/mocks_test.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/act/runner/mocks_test.go 2026-12-01
17:37:43.000000000 +0100
@@ -16,10 +16,19 @@
Cleanup(func())
},
) *MockFieldLogger {
+ if helper, ok := t.(interface{ Helper() }); ok {
+ helper.Helper()
+ }
+
mock := &MockFieldLogger{}
mock.Mock.Test(t)
- t.Cleanup(func() { mock.AssertExpectations(t) })
+ t.Cleanup(func() {
+ if helper, ok := t.(interface{ Helper() }); ok {
+ helper.Helper()
+ }
+ mock.AssertExpectations(t)
+ })
return mock
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/act/runner/run_context.go
new/forgejo-runner-13.3.0/act/runner/run_context.go
--- old/forgejo-runner-13.2.0/act/runner/run_context.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/act/runner/run_context.go 2026-12-01
17:37:43.000000000 +0100
@@ -17,6 +17,7 @@
"path/filepath"
"regexp"
"runtime"
+ "slices"
"strings"
"sync"
"text/template"
@@ -44,6 +45,7 @@
GlobalEnv map[string]string // to pass env changes of
GITHUB_ENV correctly, due to dirty Env field
ExtraPath []string
CurrentStep string
+ CurrentStepNumber int
stepSummarySizes map[string]int
StepResults map[string]*model.StepResult
IntraActionState map[string]map[string]string
@@ -78,8 +80,12 @@
return ep, nil
}
-func (rc *RunContext) AddMask(mask string) {
- rc.Masks = append(rc.Masks, mask)
+func (rc *RunContext) AddMask(masks ...string) {
+ for _, mask := range masks {
+ if !slices.Contains(rc.Masks, mask) {
+ rc.Masks = append(rc.Masks, mask)
+ }
+ }
}
type MappableOutput struct {
@@ -305,13 +311,16 @@
return err
}
+ // sudo crashes when called with an empty environment (Debian bug
#1154725)
+ lxcEnv := map[string]string{"FORGEJO_RUNNER_LXC": "1"}
+
return common.NewPipelineExecutor(
rc.JobContainer.Copy(rc.JobContainer.GetActPath()+"/",
&container.FileEntry{
Name: "workflow/stop-lxc.sh",
Mode: 0o755,
Body: stopScript.String(),
}),
- rc.JobContainer.Exec([]string{rc.JobContainer.GetActPath() +
"/workflow/stop-lxc.sh"}, map[string]string{}, "root", "/tmp"),
+ rc.JobContainer.Exec([]string{rc.JobContainer.GetActPath() +
"/workflow/stop-lxc.sh"}, lxcEnv, "root", "/tmp"),
)(ctx)
}
@@ -415,6 +424,9 @@
return err
}
+ // sudo crashes when called with an empty environment
(Debian bug #1154725)
+ lxcEnv := map[string]string{"FORGEJO_RUNNER_LXC": "1"}
+
executors = append(
executors,
rc.JobContainer.Copy(rc.JobContainer.GetActPath()+"/", &container.FileEntry{
@@ -432,7 +444,7 @@
Mode: 0o755,
Body: startScript.String(),
}),
-
rc.JobContainer.Exec([]string{rc.JobContainer.GetActPath() +
"/workflow/start-lxc.sh"}, map[string]string{}, "root", "/tmp"),
+
rc.JobContainer.Exec([]string{rc.JobContainer.GetActPath() +
"/workflow/start-lxc.sh"}, lxcEnv, "root", "/tmp"),
)
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/act/runner/run_context_test.go
new/forgejo-runner-13.3.0/act/runner/run_context_test.go
--- old/forgejo-runner-13.2.0/act/runner/run_context_test.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/act/runner/run_context_test.go 2026-12-01
17:37:43.000000000 +0100
@@ -18,6 +18,7 @@
"code.forgejo.org/forgejo/runner/v13/testutils"
"gotest.tools/v3/skip"
+ "github.com/opencontainers/selinux/go-selinux"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
@@ -225,6 +226,9 @@
if runtime.GOOS == "darwin" {
fullBind += ":delegated"
}
+ if selinux.GetEnabled() {
+ fullBind += ":z"
+ }
assert.Contains(t, gotbind,
fullBind)
} else {
mountkey :=
testcase.rc.getInternalVolumeWorkdir(t.Context())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/act/runner/runner_test.go
new/forgejo-runner-13.3.0/act/runner/runner_test.go
--- old/forgejo-runner-13.2.0/act/runner/runner_test.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/act/runner/runner_test.go 2026-12-01
17:37:43.000000000 +0100
@@ -23,6 +23,7 @@
"github.com/moby/moby/client"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
log "github.com/sirupsen/logrus"
+ "github.com/sirupsen/logrus/hooks/test"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.yaml.in/yaml/v3"
@@ -574,6 +575,32 @@
assertNoSecret(output, "YWJjCg==")
}
+func TestRunner_MaskValuesDeduplication(t *testing.T) {
+ if testing.Short() {
+ t.Skip("skipping integration test")
+ }
+ testutils.RequireTestFeatures(t, testutils.TestFeatureDocker)
+
+ tjfi := TestJobFileInfo{
+ eventName: "push",
+ platforms: platforms,
+ workdir: workdir,
+ workflowPath: "composite-mask-deduplication",
+ }
+
+ hook := &test.Hook{}
+ ctx := common.WithLoggerHook(t.Context(), hook)
+ tjfi.runTest(ctx, t, &Config{})
+
+ for _, entry := range hook.AllEntries() {
+ if entry.Data["jobResult"] == "success" {
+ assert.ElementsMatch(t, []string{"first-secret",
"second-secret"}, *Masks(entry.Context))
+ return
+ }
+ }
+ t.Fatal("job did not report success")
+}
+
func TestRunner_RunEventSecrets(t *testing.T) {
if testing.Short() {
t.Skip("skipping integration test")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/act/runner/step.go
new/forgejo-runner-13.3.0/act/runner/step.go
--- old/forgejo-runner-13.2.0/act/runner/step.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/act/runner/step.go 2026-12-01
17:37:43.000000000 +0100
@@ -133,6 +133,7 @@
ifExpression := step.getIfExpression(ctx, stage)
rc.CurrentStep = stepModel.ID
+ rc.CurrentStepNumber = stepModel.Number
stepResult := &model.StepResult{
Outcome: model.StepStatusSuccess,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/act/runner/step_run.go
new/forgejo-runner-13.3.0/act/runner/step_run.go
--- old/forgejo-runner-13.2.0/act/runner/step_run.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/act/runner/step_run.go 2026-12-01
17:37:43.000000000 +0100
@@ -5,6 +5,7 @@
"fmt"
"maps"
"runtime"
+ "strconv"
"strings"
"github.com/kballard/go-shellquote"
@@ -87,9 +88,9 @@
}
func getScriptName(rc *RunContext, step *model.Step) string {
- scriptName := step.ID
+ scriptName := strconv.Itoa(step.Number)
for rcs := rc; rcs.Parent != nil; rcs = rcs.Parent {
- scriptName = fmt.Sprintf("%s-composite-%s",
rcs.Parent.CurrentStep, scriptName)
+ scriptName = fmt.Sprintf("%d-composite-%s",
rcs.Parent.CurrentStepNumber, scriptName)
}
return fmt.Sprintf("workflow/%s", scriptName)
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/act/runner/step_run_test.go
new/forgejo-runner-13.3.0/act/runner/step_run_test.go
--- old/forgejo-runner-13.2.0/act/runner/step_run_test.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/act/runner/step_run_test.go 2026-12-01
17:37:43.000000000 +0100
@@ -43,7 +43,8 @@
JobContainer: cm,
},
Step: &model.Step{
- ID: "1",
+ ID: "build",
+ Number: 1,
Run: "cmd",
WorkingDirectory: "workdir",
},
@@ -79,10 +80,33 @@
err := sr.main()(ctx)
assert.Nil(t, err)
+ assert.Equal(t, sr.Step.ID, sr.RunContext.CurrentStep)
+ assert.Equal(t, sr.Step.Number, sr.RunContext.CurrentStepNumber)
cm.AssertExpectations(t)
}
+func TestGetScriptName(t *testing.T) {
+ step := &model.Step{ID: "build", Number: 0}
+ job := &RunContext{CurrentStep: "outer", CurrentStepNumber: 2}
+ composite := &RunContext{
+ Parent: job,
+ CurrentStep: "inner",
+ CurrentStepNumber: 3,
+ }
+
+ t.Run("job step", func(t *testing.T) {
+ assert.Equal(t, "workflow/0", getScriptName(job, step))
+ })
+ t.Run("composite step", func(t *testing.T) {
+ assert.Equal(t, "workflow/2-composite-0",
getScriptName(composite, step))
+ })
+ t.Run("nested composite step", func(t *testing.T) {
+ nested := &RunContext{Parent: composite}
+ assert.Equal(t, "workflow/2-composite-3-composite-0",
getScriptName(nested, step))
+ })
+}
+
func TestStepRunPrePost(t *testing.T) {
ctx := t.Context()
sr := &stepRun{}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/act/runner/testdata/composite-mask-deduplication/mask1/action.yml
new/forgejo-runner-13.3.0/act/runner/testdata/composite-mask-deduplication/mask1/action.yml
---
old/forgejo-runner-13.2.0/act/runner/testdata/composite-mask-deduplication/mask1/action.yml
1970-01-01 01:00:00.000000000 +0100
+++
new/forgejo-runner-13.3.0/act/runner/testdata/composite-mask-deduplication/mask1/action.yml
2026-12-01 17:37:43.000000000 +0100
@@ -0,0 +1,8 @@
+name: mask1
+description: Register the first mask
+
+runs:
+ using: composite
+ steps:
+ - run: echo "::add-mask::first-secret"
+ shell: bash
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/act/runner/testdata/composite-mask-deduplication/mask2/action.yml
new/forgejo-runner-13.3.0/act/runner/testdata/composite-mask-deduplication/mask2/action.yml
---
old/forgejo-runner-13.2.0/act/runner/testdata/composite-mask-deduplication/mask2/action.yml
1970-01-01 01:00:00.000000000 +0100
+++
new/forgejo-runner-13.3.0/act/runner/testdata/composite-mask-deduplication/mask2/action.yml
2026-12-01 17:37:43.000000000 +0100
@@ -0,0 +1,8 @@
+name: mask2
+description: Register the second mask
+
+runs:
+ using: composite
+ steps:
+ - run: echo "::add-mask::second-secret"
+ shell: bash
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/act/runner/testdata/composite-mask-deduplication/nomask/action.yml
new/forgejo-runner-13.3.0/act/runner/testdata/composite-mask-deduplication/nomask/action.yml
---
old/forgejo-runner-13.2.0/act/runner/testdata/composite-mask-deduplication/nomask/action.yml
1970-01-01 01:00:00.000000000 +0100
+++
new/forgejo-runner-13.3.0/act/runner/testdata/composite-mask-deduplication/nomask/action.yml
2026-12-01 17:37:43.000000000 +0100
@@ -0,0 +1,8 @@
+name: nomask
+description: Run without registering a mask
+
+runs:
+ using: composite
+ steps:
+ - run: echo "No new masks"
+ shell: bash
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/act/runner/testdata/composite-mask-deduplication/push.yml
new/forgejo-runner-13.3.0/act/runner/testdata/composite-mask-deduplication/push.yml
---
old/forgejo-runner-13.2.0/act/runner/testdata/composite-mask-deduplication/push.yml
1970-01-01 01:00:00.000000000 +0100
+++
new/forgejo-runner-13.3.0/act/runner/testdata/composite-mask-deduplication/push.yml
2026-12-01 17:37:43.000000000 +0100
@@ -0,0 +1,13 @@
+name: composite-mask-deduplication
+on: push
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: https://data.forgejo.org/actions/checkout@v3
+ - uses: ./composite-mask-deduplication/mask1
+ - uses: ./composite-mask-deduplication/mask2
+ - uses: ./composite-mask-deduplication/mask1
+ - uses: ./composite-mask-deduplication/mask2
+ - uses: ./composite-mask-deduplication/nomask
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/act/runner/testdata/multi-architecture/push.yml
new/forgejo-runner-13.3.0/act/runner/testdata/multi-architecture/push.yml
--- old/forgejo-runner-13.2.0/act/runner/testdata/multi-architecture/push.yml
2026-09-18 23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/act/runner/testdata/multi-architecture/push.yml
2026-12-01 17:37:43.000000000 +0100
@@ -10,6 +10,7 @@
echo architecture is $(uname -m)
[[ "$(uname -m)" = "aarch64" ]] || exit 1
check-amd64:
+ needs: check-arm64 # otherwise this will be flaky
runs-on: alpine
container:
options: --platform linux/amd64
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/examples/docker-compose/compose-forgejo-and-runner.yml
new/forgejo-runner-13.3.0/examples/docker-compose/compose-forgejo-and-runner.yml
---
old/forgejo-runner-13.2.0/examples/docker-compose/compose-forgejo-and-runner.yml
2026-09-18 23:03:02.000000000 +0200
+++
new/forgejo-runner-13.3.0/examples/docker-compose/compose-forgejo-and-runner.yml
2026-12-01 17:37:43.000000000 +0100
@@ -57,7 +57,7 @@
- 8080:3000
runner-register:
- image: data.forgejo.org/forgejo/runner:13.1.0
+ image: data.forgejo.org/forgejo/runner:13.2.0
links:
- docker-in-docker
- forgejo
@@ -81,7 +81,7 @@
'
runner-daemon:
- image: data.forgejo.org/forgejo/runner:13.1.0
+ image: data.forgejo.org/forgejo/runner:13.2.0
links:
- docker-in-docker
- forgejo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/examples/lxc-systemd/forgejo-runner-service.sh
new/forgejo-runner-13.3.0/examples/lxc-systemd/forgejo-runner-service.sh
--- old/forgejo-runner-13.2.0/examples/lxc-systemd/forgejo-runner-service.sh
2026-09-18 23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/examples/lxc-systemd/forgejo-runner-service.sh
2026-12-01 17:37:43.000000000 +0100
@@ -22,13 +22,13 @@
: ${INPUTS_LIFETIME:=7d}
DEFAULT_LXC_HELPERS_VERSION=1.1.3 # renovate: datasource=forgejo-tags
depName=forgejo/lxc-helpers
: ${INPUTS_LXC_HELPERS_VERSION:=$DEFAULT_LXC_HELPERS_VERSION}
-DEFAULT_RUNNER_VERSION=13.1.0 # renovate: datasource=forgejo-releases
depName=forgejo/runner
+DEFAULT_RUNNER_VERSION=13.2.0 # renovate: datasource=forgejo-releases
depName=forgejo/runner
: ${INPUTS_RUNNER_VERSION:=$DEFAULT_RUNNER_VERSION}
: ${KILL_AFTER:=21600} # 6h == 21600
NODEJS_VERSION=24 # renovate: datasource=node-version
depName=forgejo-runner-service-node
DEBIAN_RELEASE=trixie # renovate: datasource=docker
depName=forgejo-runner-service-debian packageName=code.forgejo.org/oci/debian
versioning=debian
-YQ_VERSION=v4.53.6 # renovate: datasource=github-releases
depName=forgejo-runner-service-yq packageName=mikefarah/yq
+YQ_VERSION=v4.54.1 # renovate: datasource=github-releases
depName=forgejo-runner-service-yq packageName=mikefarah/yq
SELF=${BASH_SOURCE[0]}
SELF_FILENAME=$(basename "$SELF")
SELF_INSTALLED=/usr/local/bin/$SELF_FILENAME
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/go.mod
new/forgejo-runner-13.3.0/go.mod
--- old/forgejo-runner-13.2.0/go.mod 2026-09-18 23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/go.mod 2026-12-01 17:37:43.000000000 +0100
@@ -2,7 +2,7 @@
go 1.26.0
-toolchain go1.26.8
+toolchain go1.26.11
require (
code.forgejo.org/forgejo/actions-proto v0.8.0
@@ -13,7 +13,7 @@
github.com/containerd/errdefs v1.0.0
github.com/creack/pty v1.1.24
github.com/distribution/reference v0.6.0
- github.com/docker/cli v29.8.1+incompatible
+ github.com/docker/cli v29.8.2+incompatible
github.com/docker/go-connections v0.8.1
github.com/gdgvda/cron v0.7.0
github.com/gobwas/glob v0.2.3
@@ -24,8 +24,8 @@
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
github.com/mattn/go-isatty v0.0.24
github.com/moby/go-archive v0.3.3
- github.com/moby/moby/api v1.56.0
- github.com/moby/moby/client v0.6.0
+ github.com/moby/moby/api v1.56.1
+ github.com/moby/moby/client v0.6.1
github.com/moby/patternmatcher v0.6.1
github.com/opencontainers/image-spec v1.1.1
github.com/opencontainers/selinux v1.15.1
@@ -38,10 +38,10 @@
github.com/timshannon/bolthold v0.0.0-20240314194003-30aac6950928
go.etcd.io/bbolt v1.5.0
go.yaml.in/yaml/v3 v3.0.5
- golang.org/x/sys v0.48.0
- golang.org/x/term v0.45.0
- golang.org/x/time v0.15.0
- google.golang.org/grpc v1.83.2
+ golang.org/x/sys v0.49.0
+ golang.org/x/term v0.47.0
+ golang.org/x/time v0.16.0
+ google.golang.org/grpc v1.84.0
google.golang.org/protobuf v1.36.12
gotest.tools/v3 v3.5.2
tags.cncf.io/container-device-interface v1.1.1
@@ -59,8 +59,8 @@
github.com/docker/docker-credential-helpers v0.8.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/fatih/color v1.19.0 // indirect
- github.com/felixge/httpsnoop v1.0.4 // indirect
- github.com/go-logr/logr v1.4.3 // indirect
+ github.com/felixge/httpsnoop v1.1.0 // indirect
+ github.com/go-logr/logr v1.4.4 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
@@ -78,13 +78,14 @@
github.com/santhosh-tekuri/jsonschema/v6 v6.0.3 // indirect
github.com/stretchr/objx v0.5.3 // indirect
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0
// indirect
- go.opentelemetry.io/otel v1.44.0 // indirect
- go.opentelemetry.io/otel/metric v1.44.0 // indirect
- go.opentelemetry.io/otel/trace v1.44.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0
// indirect
+ go.opentelemetry.io/otel v1.47.0 // indirect
+ go.opentelemetry.io/otel/log v1.47.0 // indirect
+ go.opentelemetry.io/otel/metric v1.47.0 // indirect
+ go.opentelemetry.io/otel/trace v1.47.0 // indirect
go.yaml.in/yaml/v4 v4.0.0-rc.3 // indirect
- golang.org/x/net v0.58.0 // indirect
- golang.org/x/sync v0.22.0 // indirect
- golang.org/x/text v0.41.0 // indirect
- google.golang.org/genproto/googleapis/rpc
v0.0.0-20260526163538-3dc84a4a5aaa // indirect
+ golang.org/x/net v0.62.0 // indirect
+ golang.org/x/sync v0.24.0 // indirect
+ golang.org/x/text v0.43.0 // indirect
+ google.golang.org/genproto/googleapis/rpc
v0.0.0-20260706201446-f0a921348800 // indirect
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/go.sum
new/forgejo-runner-13.3.0/go.sum
--- old/forgejo-runner-13.2.0/go.sum 2026-09-18 23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/go.sum 2026-12-01 17:37:43.000000000 +0100
@@ -37,8 +37,8 @@
github.com/distribution/reference v0.6.0/go.mod
h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
github.com/dlclark/regexp2 v1.11.0
h1:G/nrcoOa7ZXlpoa/91N3X7mM3r8eIlMBBJZvsz/mxKI=
github.com/dlclark/regexp2 v1.11.0/go.mod
h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8=
-github.com/docker/cli v29.8.1+incompatible
h1:qYL1bCp6cRw2SB1xmLlIOPyV171dilw9W2Jew38vy9c=
-github.com/docker/cli v29.8.1+incompatible/go.mod
h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
+github.com/docker/cli v29.8.2+incompatible
h1:2zgdFuoFst2T80oS42vhKGxkd0JRo305eIEKTsxR7pQ=
+github.com/docker/cli v29.8.2+incompatible/go.mod
h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
github.com/docker/docker-credential-helpers v0.8.0
h1:YQFtbBQb4VrpoPxhFuzEBPQ9E16qz5SpHLS+uswaCp8=
github.com/docker/docker-credential-helpers v0.8.0/go.mod
h1:UGFXcuoQ5TxPiB54nHOZ32AWRqQdECoh/Mg0AlEYb40=
github.com/docker/go-connections v0.8.1
h1:JibmG5hULs5qXSr/cp/w3Pw5fZuStt4MOHMUExb29/M=
@@ -47,13 +47,13 @@
github.com/docker/go-units v0.5.0/go.mod
h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
github.com/fatih/color v1.19.0 h1:Zp3PiM21/9Ld6FzSKyL5c/BULoe/ONr9KlbYVOfG8+w=
github.com/fatih/color v1.19.0/go.mod
h1:zNk67I0ZUT1bEGsSGyCZYZNrHuTkJJB+r6Q9VuMi0LE=
-github.com/felixge/httpsnoop v1.0.4
h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
-github.com/felixge/httpsnoop v1.0.4/go.mod
h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
+github.com/felixge/httpsnoop v1.1.0
h1:3YtUj32ZZkqZtt3sZZsClsymw/QDuVfpNhoA31zeORc=
+github.com/felixge/httpsnoop v1.1.0/go.mod
h1:Zqxgdd+1Rkcz8euOqdr7lqgCRJztwr5hp9vDSi5UZCE=
github.com/gdgvda/cron v0.7.0 h1:LFPZUTbCb5ZpzYxavbQDDbjd6nwTwkiNUWyulOdlY2I=
github.com/gdgvda/cron v0.7.0/go.mod
h1:caBF+mzTZGtQqFE05T1m6u9OmCASY3EK51XAICf3wio=
github.com/go-logr/logr v1.2.2/go.mod
h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
-github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI=
-github.com/go-logr/logr v1.4.3/go.mod
h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
+github.com/go-logr/logr v1.4.4 h1:tG4xh9yMsRCAiodLVTxyrkzSZ9+o0L1Kg/+cPVcbP/8=
+github.com/go-logr/logr v1.4.4/go.mod
h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
github.com/go-logr/stdr v1.2.2/go.mod
h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
github.com/go-viper/mapstructure/v2 v2.4.0
h1:EBsztssimR/CONLSZZ04E8qAkxNYq4Qp9LvH92wZUgs=
@@ -90,10 +90,10 @@
github.com/moby/docker-image-spec v1.3.1/go.mod
h1:eKmb5VW8vQEh/BAr2yvVNvuiJuY6UIocYsFu/DxxRpo=
github.com/moby/go-archive v0.3.3
h1:OxxR9paxsluYi+zDUEXTTaIxtkK3viymW+Ka7vRhhME=
github.com/moby/go-archive v0.3.3/go.mod
h1:Npdv43fFqlhZW7Xo8fbm3ZMYFvAGNviUPqX21VERbcE=
-github.com/moby/moby/api v1.56.0
h1:GQzua3NA599ASSIICx0iFgiJeO9YkdDARvQsm23ZZuQ=
-github.com/moby/moby/api v1.56.0/go.mod
h1:sZ+THbVWkjOmBPPfbnzdD/G1LuIexWhqlSHHPTDQ1Uk=
-github.com/moby/moby/client v0.6.0
h1:AJjEB21QPbXSXjDsZorFBoDZPhMrfbpaPLgSMAW9Bgs=
-github.com/moby/moby/client v0.6.0/go.mod
h1:OCo00wNRyA3m4lmJ228W3JbyCN4ZNNYjpOXiJydBdcQ=
+github.com/moby/moby/api v1.56.1
h1:PpWkvVPB7Fr/No8w+TfyJ/I6rWZ2YPZhT3JorIg+06c=
+github.com/moby/moby/api v1.56.1/go.mod
h1:sZ+THbVWkjOmBPPfbnzdD/G1LuIexWhqlSHHPTDQ1Uk=
+github.com/moby/moby/client v0.6.1
h1:gvfKmdcWw+9MzXYP0vAUKQtBTGu1L8475K2nsmL7O98=
+github.com/moby/moby/client v0.6.1/go.mod
h1:XHgTFqz9NCgS/VuoxXMmEDVmVgXQ4vFEc15wsCIwb24=
github.com/moby/patternmatcher v0.6.1
h1:qlhtafmr6kgMIJjKJMDmMWq7WLkKIo23hsrpR3x084U=
github.com/moby/patternmatcher v0.6.1/go.mod
h1:hDPoyOpDY7OrrMDLaYoY3hf52gNCR/YOUYxkhApJIxc=
github.com/moby/sys/mount v0.3.5
h1:eS3fsZTjHaBihwjp4/+5Z3jxqLXYsbwxqpVSfFv3M00=
@@ -147,43 +147,45 @@
go.etcd.io/gofail v0.1.0/go.mod h1:VZBCXYGZhHAinaBiiqYvuDynvahNsAyLFwB3kEHKz1M=
go.opentelemetry.io/auto/sdk v1.2.1
h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64=
go.opentelemetry.io/auto/sdk v1.2.1/go.mod
h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0
h1:F7Jx+6hwnZ41NSFTO5q4LYDtJRXBf2PD0rNBkeB/lus=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0/go.mod
h1:UHB22Z8QsdRDrnAtX4PntOl36ajSxcdUMt1sF7Y6E7Q=
-go.opentelemetry.io/otel v1.44.0
h1:JjwHmHpA4iZ3wBxluu2fbbE7j4kqlE8jXyAyPXH7HqU=
-go.opentelemetry.io/otel v1.44.0/go.mod
h1:BMgjTHL9WPRlRjL2oZCBTL4whCGtXch2H4BhOPIAyYc=
-go.opentelemetry.io/otel/metric v1.44.0
h1:1w0gILTcHdr3YI+ixLyjemwrVnsMURbTZFrSYCdDdmc=
-go.opentelemetry.io/otel/metric v1.44.0/go.mod
h1:8O7hanEPBNgEMmybD3s2VBKcgWOCsA6tzHBPODAiquo=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0
h1:8tvICD4vSTOOsNrsI4Ljf6C+6UKvpTEH5XY3JMoyPoo=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0/go.mod
h1:z9+yiacE0IHRqM4qFfkbt/JYlmYXgss8GY/jXoNuPJI=
+go.opentelemetry.io/otel v1.47.0
h1:j7ALJ/zgkS7Z6aeJW09p8VC9804bC+PpeTfCD4XPnOM=
+go.opentelemetry.io/otel v1.47.0/go.mod
h1:8wS9O2qfXrYrzp6hIF/HOYJJf/wIhFPhR2xLuP+iXQU=
+go.opentelemetry.io/otel/log v1.47.0
h1:cOTS1CcLbSQeZKanGJ+0JpF/+t4PELi3O3bbl2lqCcI=
+go.opentelemetry.io/otel/log v1.47.0/go.mod
h1:9byitSQ5pLC6PpqwGXjqdMKya6ZTswHRZh2vvXT33nw=
+go.opentelemetry.io/otel/metric v1.47.0
h1:4PptaldXx3Eat1XjMZ68pPJEs5wrhlemctZE9a3UdWY=
+go.opentelemetry.io/otel/metric v1.47.0/go.mod
h1:ADGSXxRrXM6bjbvLo535EstVFlPpPYZm4LBKixjDHwU=
go.opentelemetry.io/otel/sdk v1.44.0
h1:nHYwb9lK+fJPU/dnT6s7W7Z8itMWyqrnVfbheVYrZ58=
go.opentelemetry.io/otel/sdk v1.44.0/go.mod
h1:Osuydd3Se74nqjAKxid74N5eC+jfEqfTegHRnq58oK0=
go.opentelemetry.io/otel/sdk/metric v1.44.0
h1:3LlKgI+VjbVsjNRFZJZAJ30WjXC5VkNRks6si09iEfI=
go.opentelemetry.io/otel/sdk/metric v1.44.0/go.mod
h1:5B5pMARnXxKhltooO4xUuCBorl65a4EpnTalObqOigA=
-go.opentelemetry.io/otel/trace v1.44.0
h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/6gtIk=
-go.opentelemetry.io/otel/trace v1.44.0/go.mod
h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE=
+go.opentelemetry.io/otel/trace v1.47.0
h1:JOjX/Oci8K94QHddo+bbfya/Ai/nf6/dt9ZfrFNWSrM=
+go.opentelemetry.io/otel/trace v1.47.0/go.mod
h1:jNaSLa2PZEYFG6fRjJABAu+bw4FS08uDmPg28lTghu0=
go.yaml.in/yaml/v3 v3.0.4/go.mod
h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw=
go.yaml.in/yaml/v3 v3.0.5/go.mod
h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg=
go.yaml.in/yaml/v4 v4.0.0-rc.3 h1:3h1fjsh1CTAPjW7q/EMe+C8shx5d8ctzZTrLcs/j8Go=
go.yaml.in/yaml/v4 v4.0.0-rc.3/go.mod
h1:aZqd9kCMsGL7AuUv/m/PvWLdg5sjJsZ4oHDEnfPPfY0=
-golang.org/x/net v0.58.0 h1:ynWG7rqYi4ccpTEuPZ2QGWHktVEM9DMCj9yzDE0Q7To=
-golang.org/x/net v0.58.0/go.mod h1:YwCddHnFlT7eLQqVprV19OnhLGtc5xOKgE0RyqgfWAU=
-golang.org/x/sync v0.22.0 h1:SZjpbeLmrCk4xhRSZFNZW5gFUeCeFgjekvI/+gfScek=
-golang.org/x/sync v0.22.0/go.mod
h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
+golang.org/x/net v0.62.0 h1:18ELalfM5+XNRwzM2nYqXsZQ9ByS1uhj2O/U7+5jqRY=
+golang.org/x/net v0.62.0/go.mod h1:WgDCOTH8iwtB66T4/GfI94AHo/hhdb7Hah9NDseQfiI=
+golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA=
+golang.org/x/sync v0.24.0/go.mod
h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0=
golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
-golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo=
-golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
-golang.org/x/term v0.45.0 h1:NwWyBmoJCbfTHpxrWoZ9C6/VxOf7ic219I8xZZFdrf0=
-golang.org/x/term v0.45.0/go.mod
h1:9aqxs0blBcrm/n0L9QW0aRVD+ktan8ssZromtqJC43w=
-golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8=
-golang.org/x/text v0.41.0/go.mod
h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M=
-golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U=
-golang.org/x/time v0.15.0/go.mod
h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno=
+golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA=
+golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
+golang.org/x/term v0.47.0 h1:cpyOwQkr2Nzxe2p6KnrTG7Ei2wtzjsuSjhpXXepZ/BM=
+golang.org/x/term v0.47.0/go.mod
h1:efAfAuG6RKABvg1ArGebRkvX6LXul14SM67o2e4mUCY=
+golang.org/x/text v0.43.0 h1:1QivrlhwAsnMOcqgOdl9my7s9OyZl8O5/UGUTJVXoWc=
+golang.org/x/text v0.43.0/go.mod
h1:hbSIYA/amXcRXTFSZqh8tWHEoqRvvbKPJ2uz/KU+a+s=
+golang.org/x/time v0.16.0 h1:vMb6ptszcQMkcwiRTAuNNU50gom6++Q/6gY2hDM6VDE=
+golang.org/x/time v0.16.0/go.mod
h1:rVKOqvZeKvrDKTQiAHJ7wmwP0RzleSphoEA9RcdLA0s=
gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4=
gonum.org/v1/gonum v0.17.0/go.mod
h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa
h1:mZHHdPZl0dbGHCflZgAq/Q468DWVFcU2whhB2KAo8fk=
-google.golang.org/genproto/googleapis/rpc
v0.0.0-20260526163538-3dc84a4a5aaa/go.mod
h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8=
-google.golang.org/grpc v1.83.2 h1:EManeRomTObA0BU7I8vXgg/78uE5MJ9M8B39EX2WscU=
-google.golang.org/grpc v1.83.2/go.mod
h1:YPI1hK3kDked6iHvgX3tR0y+nX/qpMFKhPgFsokw1S8=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20260706201446-f0a921348800
h1:qEHAMpSaUhtD0p3NbEEI83HwNGFxEwaSJ1G9PLnCBZE=
+google.golang.org/genproto/googleapis/rpc
v0.0.0-20260706201446-f0a921348800/go.mod
h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8=
+google.golang.org/grpc v1.84.0 h1:soMyaPJ8pAak5PIQ0DGBUir0XRo2fRoMqhNWMLlLxO0=
+google.golang.org/grpc v1.84.0/go.mod
h1:ljCht0DrxQrXBDRTZp52Qxh3Ffk8CdYm2sj4O2QN2C0=
google.golang.org/protobuf v1.36.12
h1:pJOKDDOyeXErUroCihFAd5LQuwXBSpVnKGrj5o/fwxc=
google.golang.org/protobuf v1.36.12/go.mod
h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod
h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/internal/app/cmd/exec.go
new/forgejo-runner-13.3.0/internal/app/cmd/exec.go
--- old/forgejo-runner-13.2.0/internal/app/cmd/exec.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/internal/app/cmd/exec.go 2026-12-01
17:37:43.000000000 +0100
@@ -20,6 +20,7 @@
"code.forgejo.org/forgejo/runner/v13/act/runner"
"github.com/joho/godotenv"
"github.com/moby/moby/api/types/container"
+ "github.com/moby/moby/client"
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"golang.org/x/term"
@@ -375,7 +376,29 @@
log.Infof("cache handler listens on: %v", handler.ExternalURL())
execArgs.cacheHandler = handler
- if execArgs.containerDaemonSocket != "/var/run/docker.sock" {
+ // Check for default value of argument --container-daemon-socket
+ // If the default container deamon socket '/var/run/docker.sock' is not
available, fall back on '-'
+ if execArgs.containerDaemonSocket == "/var/run/docker.sock" {
+ defaultSocketURL := "unix://" + execArgs.containerDaemonSocket
+
+ c, err := client.New(client.WithHost(defaultSocketURL))
+ if err != nil {
+ return fmt.Errorf(
+ "Could not create client for the default
container daemon socket '%s': %w",
+ defaultSocketURL, err,
+ )
+ }
+ defer c.Close()
+
+ _, err = c.Ping(ctx, client.PingOptions{})
+ if err != nil {
+ log.WithError(err).Infof(
+ "Ping to the default container daemon socket
'%s' did not succeed, falling back on '-'",
+ defaultSocketURL,
+ )
+ execArgs.containerDaemonSocket = "-"
+ }
+ } else {
log.Warnf("--container-daemon-socket %s: please use the
DOCKER_HOST environment variable as documented at
https://forgejo.org/docs/next/admin/actions/runner-installation/#setting-up-the-container-environment
instead. See https://code.forgejo.org/forgejo/runner/issues/577 for more
information.", execArgs.containerDaemonSocket)
}
@@ -479,7 +502,7 @@
execCmd.PersistentFlags().BoolVarP(&execArg.noSkipCheckout,
"no-skip-checkout", "", false, "Do not skip actions/checkout")
execCmd.PersistentFlags().BoolVarP(&execArg.debug, "debug", "d", false,
"enable debug log")
execCmd.PersistentFlags().BoolVarP(&execArg.dryrun, "dryrun", "n",
false, "dryrun mode")
- execCmd.PersistentFlags().StringVarP(&execArg.image, "image", "i",
"node:20-bullseye", "Docker image to use. Use \"-self-hosted\" to run directly
on the host.")
+ execCmd.PersistentFlags().StringVarP(&execArg.image, "image", "i",
"node:22-bookworm", "Docker image to use. Use \"-self-hosted\" to run directly
on the host.")
execCmd.PersistentFlags().StringVarP(&execArg.network, "network", "",
"", "Specify the network to which the container will connect")
execCmd.PersistentFlags().BoolVarP(&execArg.enableIPv6, "enable-ipv6",
"6", false, "Create network with IPv6 enabled.")
execCmd.PersistentFlags().StringVarP(&execArg.githubInstance,
"forgejo-instance", "", "", "Forgejo instance to use.")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/internal/app/poll/mocks/poller.go
new/forgejo-runner-13.3.0/internal/app/poll/mocks/poller.go
--- old/forgejo-runner-13.2.0/internal/app/poll/mocks/poller.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/internal/app/poll/mocks/poller.go 2026-12-01
17:37:43.000000000 +0100
@@ -17,10 +17,19 @@
Cleanup(func())
},
) *MockPoller {
+ if helper, ok := t.(interface{ Helper() }); ok {
+ helper.Helper()
+ }
+
mock := &MockPoller{}
mock.Mock.Test(t)
- t.Cleanup(func() { mock.AssertExpectations(t) })
+ t.Cleanup(func() {
+ if helper, ok := t.(interface{ Helper() }); ok {
+ helper.Helper()
+ }
+ mock.AssertExpectations(t)
+ })
return mock
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/internal/app/poll/mocks/single.go
new/forgejo-runner-13.3.0/internal/app/poll/mocks/single.go
--- old/forgejo-runner-13.2.0/internal/app/poll/mocks/single.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/internal/app/poll/mocks/single.go 2026-12-01
17:37:43.000000000 +0100
@@ -17,10 +17,19 @@
Cleanup(func())
},
) *MockSingleTaskPoller {
+ if helper, ok := t.(interface{ Helper() }); ok {
+ helper.Helper()
+ }
+
mock := &MockSingleTaskPoller{}
mock.Mock.Test(t)
- t.Cleanup(func() { mock.AssertExpectations(t) })
+ t.Cleanup(func() {
+ if helper, ok := t.(interface{ Helper() }); ok {
+ helper.Helper()
+ }
+ mock.AssertExpectations(t)
+ })
return mock
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/internal/app/run/mocks/runner.go
new/forgejo-runner-13.3.0/internal/app/run/mocks/runner.go
--- old/forgejo-runner-13.2.0/internal/app/run/mocks/runner.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/internal/app/run/mocks/runner.go 2026-12-01
17:37:43.000000000 +0100
@@ -18,10 +18,19 @@
Cleanup(func())
},
) *MockRunner {
+ if helper, ok := t.(interface{ Helper() }); ok {
+ helper.Helper()
+ }
+
mock := &MockRunner{}
mock.Mock.Test(t)
- t.Cleanup(func() { mock.AssertExpectations(t) })
+ t.Cleanup(func() {
+ if helper, ok := t.(interface{ Helper() }); ok {
+ helper.Helper()
+ }
+ mock.AssertExpectations(t)
+ })
return mock
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/forgejo-runner-13.2.0/internal/app/run/runner.go
new/forgejo-runner-13.3.0/internal/app/run/runner.go
--- old/forgejo-runner-13.2.0/internal/app/run/runner.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/internal/app/run/runner.go 2026-12-01
17:37:43.000000000 +0100
@@ -192,7 +192,11 @@
}
func getWriteIsolationKey(ctx context.Context, eventName, ref string, event
map[string]any) (string, error) {
- if eventName == "pull_request" {
+ // A reusable (workflow_call) job triggered by a pull request keeps the
+ // pull request's authoritative ref in the task context, so it must be
+ // write-isolated like the pull_request event that triggered it. Jobs
+ // triggered by anything else keep the trusted namespace.
+ if eventName == "pull_request" || (eventName == "workflow_call" &&
strings.HasPrefix(ref, "refs/pull/")) {
// The "closed" action of a pull request event runs in the
context of the base repository
// and was merged by a user with write access to the base
repository. It is authorized to
// write the repository cache.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/internal/app/run/runner_test.go
new/forgejo-runner-13.3.0/internal/app/run/runner_test.go
--- old/forgejo-runner-13.2.0/internal/app/run/runner_test.go 2026-09-18
23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/internal/app/run/runner_test.go 2026-12-01
17:37:43.000000000 +0100
@@ -261,6 +261,44 @@
require.Empty(t, key)
assert.ErrorContains(t, err, "not a bool but string")
})
+
+ t.Run("workflow_call from pull request key is ref", func(t *testing.T) {
+ expectedKey := "refs/pull/1/head"
+ actualKey, err := getWriteIsolationKey(t.Context(),
"workflow_call", expectedKey, map[string]any{
+ "action": "synchronized",
+ })
+ require.NoError(t, err)
+ assert.Equal(t, expectedKey, actualKey)
+ })
+
+ t.Run("workflow_call from pull request closed and not merged key is
ref", func(t *testing.T) {
+ expectedKey := "refs/pull/1/head"
+ actualKey, err := getWriteIsolationKey(t.Context(),
"workflow_call", expectedKey, map[string]any{
+ "action": "closed",
+ "pull_request": map[string]any{
+ "merged": false,
+ },
+ })
+ require.NoError(t, err)
+ assert.Equal(t, expectedKey, actualKey)
+ })
+
+ t.Run("workflow_call from pull request closed and merged key is empty",
func(t *testing.T) {
+ key, err := getWriteIsolationKey(t.Context(), "workflow_call",
"refs/pull/1/head", map[string]any{
+ "action": "closed",
+ "pull_request": map[string]any{
+ "merged": true,
+ },
+ })
+ require.NoError(t, err)
+ assert.Empty(t, key)
+ })
+
+ t.Run("workflow_call from push key is empty", func(t *testing.T) {
+ key, err := getWriteIsolationKey(t.Context(), "workflow_call",
"refs/heads/main", nil)
+ require.NoError(t, err)
+ assert.Empty(t, key)
+ })
}
func TestRunnerCacheConfiguration(t *testing.T) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/forgejo-runner-13.2.0/internal/pkg/client/mocks/client.go
new/forgejo-runner-13.3.0/internal/pkg/client/mocks/client.go
--- old/forgejo-runner-13.2.0/internal/pkg/client/mocks/client.go
2026-09-18 23:03:02.000000000 +0200
+++ new/forgejo-runner-13.3.0/internal/pkg/client/mocks/client.go
2026-12-01 17:37:43.000000000 +0100
@@ -22,10 +22,19 @@
Cleanup(func())
},
) *MockClient {
+ if helper, ok := t.(interface{ Helper() }); ok {
+ helper.Helper()
+ }
+
mock := &MockClient{}
mock.Mock.Test(t)
- t.Cleanup(func() { mock.AssertExpectations(t) })
+ t.Cleanup(func() {
+ if helper, ok := t.(interface{ Helper() }); ok {
+ helper.Helper()
+ }
+ mock.AssertExpectations(t)
+ })
return mock
}
++++++ forgejo-runner.obsinfo ++++++
--- /var/tmp/diff_new_pack.RiJ7RR/_old 2026-12-02 17:07:35.656154212 +0100
+++ /var/tmp/diff_new_pack.RiJ7RR/_new 2026-12-02 17:07:35.662154466 +0100
@@ -1,5 +1,5 @@
name: forgejo-runner
-version: 13.2.0
-mtime: 1789765382
-commit: df6b843fb929bb04b933b09c6bf208774d42480b
+version: 13.3.0
+mtime: 1796143063
+commit: 141cae9de4e13c32c489d99b94bdffa38ca0a431
++++++ vendor.tar.gz ++++++
++++ 74664 lines of diff (skipped)