Akkuman
96b866a3a8
chore: update config.example.yaml for https://gitea.com/gitea/act_runner/pulls/724 ( #763 )
...
for pr https://gitea.com/gitea/act_runner/pulls/724
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/763
Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com >
Co-authored-by: Akkuman <akkumans@qq.com >
Co-committed-by: Akkuman <akkumans@qq.com >
2025-11-18 07:18:38 +00:00
dependabot[bot]
ab0f6c6172
build(deps): bump the dependencies group with 2 updates ( #140 )
...
Bumps the dependencies group with 2 updates: [megalinter/megalinter](https://github.com/megalinter/megalinter ) and [actions/setup-node](https://github.com/actions/setup-node ).
Updates `megalinter/megalinter` from 9.0.1 to 9.1.0
- [Release notes](https://github.com/megalinter/megalinter/releases )
- [Changelog](https://github.com/oxsecurity/megalinter/blob/main/CHANGELOG.md )
- [Commits](https://github.com/megalinter/megalinter/compare/v9.0.1...v9.1.0 )
Updates `actions/setup-node` from 5 to 6
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-version: 9.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: actions/setup-node
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-02 20:04:37 +01:00
dependabot[bot]
e0727de02b
build(deps): bump the dependencies group with 6 updates ( #139 )
...
Bumps the dependencies group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [github.com/docker/cli](https://github.com/docker/cli ) | `28.4.0+incompatible` | `28.5.1+incompatible` |
| [github.com/docker/docker](https://github.com/docker/docker ) | `28.4.0+incompatible` | `28.5.1+incompatible` |
| [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) | `5.16.2` | `5.16.3` |
| [golang.org/x/term](https://github.com/golang/term ) | `0.35.0` | `0.36.0` |
| [golang.org/x/crypto](https://github.com/golang/crypto ) | `0.42.0` | `0.43.0` |
| google.golang.org/protobuf | `1.36.9` | `1.36.10` |
Updates `github.com/docker/cli` from 28.4.0+incompatible to 28.5.1+incompatible
- [Commits](https://github.com/docker/cli/compare/v28.4.0...v28.5.1 )
Updates `github.com/docker/docker` from 28.4.0+incompatible to 28.5.1+incompatible
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v28.4.0...v28.5.1 )
Updates `github.com/go-git/go-git/v5` from 5.16.2 to 5.16.3
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.16.2...v5.16.3 )
Updates `golang.org/x/term` from 0.35.0 to 0.36.0
- [Commits](https://github.com/golang/term/compare/v0.35.0...v0.36.0 )
Updates `golang.org/x/crypto` from 0.42.0 to 0.43.0
- [Commits](https://github.com/golang/crypto/compare/v0.42.0...v0.43.0 )
Updates `google.golang.org/protobuf` from 1.36.9 to 1.36.10
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-version: 28.5.1+incompatible
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: github.com/docker/docker
dependency-version: 28.5.1+incompatible
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: github.com/go-git/go-git/v5
dependency-version: 5.16.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: golang.org/x/term
dependency-version: 0.36.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: golang.org/x/crypto
dependency-version: 0.43.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: google.golang.org/protobuf
dependency-version: 1.36.10
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-02 20:04:21 +01:00
dependabot[bot]
6c36ce9805
build(deps): bump github.com/go-viper/mapstructure/v2 ( #138 )
...
Bumps [github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure ) from 2.2.1 to 2.4.0.
- [Release notes](https://github.com/go-viper/mapstructure/releases )
- [Changelog](https://github.com/go-viper/mapstructure/blob/main/CHANGELOG.md )
- [Commits](https://github.com/go-viper/mapstructure/compare/v2.2.1...v2.4.0 )
---
updated-dependencies:
- dependency-name: github.com/go-viper/mapstructure/v2
dependency-version: 2.4.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-25 11:03:04 +00:00
WANG Xuerui
3b11bac2ad
ci: release binary for linux/loong64 ( #756 )
...
Signed-off-by: WANG Xuerui <git@xen0n.name >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/756
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: WANG Xuerui <git@xen0n.name >
Co-committed-by: WANG Xuerui <git@xen0n.name >
2025-10-21 17:42:08 +00:00
Zettat123
47caafd037
Bump gitea/act ( #753 )
...
Related to https://gitea.com/gitea/act/pulls/123
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/753
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2025-10-14 03:32:35 +00:00
ChristopherHX
50e0509007
Do not implicitly mount /var/run/docker.sock ( #751 )
...
* podman creates an folder
* dind sees a folder and fails
Was adding the mount a mistake?, a feature with side effects?
Closes https://gitea.com/gitea/act_runner/issues/750
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/751
Reviewed-by: Jason Song <wolfogre@noreply.gitea.com >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-committed-by: ChristopherHX <christopher.homberger@web.de >
2025-10-09 07:16:56 +00:00
ChristopherHX
114e57f94e
chore(docs): Mention YAML Anchor support ( #130 )
2025-10-06 13:53:29 +02:00
ChristopherHX
82dccc7820
Replace expressions engine ( #133 )
2025-10-06 13:53:15 +02:00
dependabot[bot]
418c708bb0
build(deps): bump the dependencies group with 5 updates ( #136 )
...
Bumps the dependencies group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [actions/setup-go](https://github.com/actions/setup-go ) | `5` | `6` |
| [megalinter/megalinter](https://github.com/megalinter/megalinter ) | `8.8.0` | `9.0.1` |
| [actions/setup-node](https://github.com/actions/setup-node ) | `4` | `5` |
| [actions/github-script](https://github.com/actions/github-script ) | `7` | `8` |
| [actions/stale](https://github.com/actions/stale ) | `9` | `10` |
Updates `actions/setup-go` from 5 to 6
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v5...v6 )
Updates `megalinter/megalinter` from 8.8.0 to 9.0.1
- [Release notes](https://github.com/megalinter/megalinter/releases )
- [Changelog](https://github.com/oxsecurity/megalinter/blob/main/CHANGELOG.md )
- [Commits](https://github.com/megalinter/megalinter/compare/v8.8.0...v9.0.1 )
Updates `actions/setup-node` from 4 to 5
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v4...v5 )
Updates `actions/github-script` from 7 to 8
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v7...v8 )
Updates `actions/stale` from 9 to 10
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v9...v10 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: megalinter/megalinter
dependency-version: 9.0.1
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: actions/setup-node
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: actions/github-script
dependency-version: '8'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: actions/stale
dependency-version: '10'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-01 15:35:14 +02:00
dependabot[bot]
874bd724fe
build(deps): bump the dependencies group with 7 updates ( #135 )
...
Bumps the dependencies group with 7 updates:
| Package | From | To |
| --- | --- | --- |
| [github.com/docker/cli](https://github.com/docker/cli ) | `28.3.3+incompatible` | `28.4.0+incompatible` |
| [github.com/docker/docker](https://github.com/docker/docker ) | `28.3.3+incompatible` | `28.4.0+incompatible` |
| [github.com/spf13/pflag](https://github.com/spf13/pflag ) | `1.0.9` | `1.0.10` |
| [golang.org/x/term](https://github.com/golang/term ) | `0.34.0` | `0.35.0` |
| [golang.org/x/crypto](https://github.com/golang/crypto ) | `0.41.0` | `0.42.0` |
| [golang.org/x/sync](https://github.com/golang/sync ) | `0.16.0` | `0.17.0` |
| google.golang.org/protobuf | `1.36.8` | `1.36.9` |
Updates `github.com/docker/cli` from 28.3.3+incompatible to 28.4.0+incompatible
- [Commits](https://github.com/docker/cli/compare/v28.3.3...v28.4.0 )
Updates `github.com/docker/docker` from 28.3.3+incompatible to 28.4.0+incompatible
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v28.3.3...v28.4.0 )
Updates `github.com/spf13/pflag` from 1.0.9 to 1.0.10
- [Release notes](https://github.com/spf13/pflag/releases )
- [Commits](https://github.com/spf13/pflag/compare/v1.0.9...v1.0.10 )
Updates `golang.org/x/term` from 0.34.0 to 0.35.0
- [Commits](https://github.com/golang/term/compare/v0.34.0...v0.35.0 )
Updates `golang.org/x/crypto` from 0.41.0 to 0.42.0
- [Commits](https://github.com/golang/crypto/compare/v0.41.0...v0.42.0 )
Updates `golang.org/x/sync` from 0.16.0 to 0.17.0
- [Commits](https://github.com/golang/sync/compare/v0.16.0...v0.17.0 )
Updates `google.golang.org/protobuf` from 1.36.8 to 1.36.9
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-version: 28.4.0+incompatible
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: github.com/docker/docker
dependency-version: 28.4.0+incompatible
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: github.com/spf13/pflag
dependency-version: 1.0.10
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: golang.org/x/term
dependency-version: 0.35.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: golang.org/x/crypto
dependency-version: 0.42.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: golang.org/x/sync
dependency-version: 0.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: google.golang.org/protobuf
dependency-version: 1.36.9
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-01 15:34:59 +02:00
ChristopherHX
9c2f3e9f70
Fix self referencing anchors should cause error ( #132 )
2025-09-27 00:04:03 +02:00
ChristopherHX
67f0e3d852
Update Version ( #129 )
2025-09-13 13:55:02 +00:00
ChristopherHX
79360e4ed1
fix: explode yaml anchors ( #126 )
...
* do not require code changes at several places
2025-09-13 15:46:46 +02:00
dependabot[bot]
0274911c8d
build(deps): bump the dependencies group with 8 updates ( #128 )
...
Bumps the dependencies group with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [github.com/docker/go-connections](https://github.com/docker/go-connections ) | `0.5.0` | `0.6.0` |
| [github.com/spf13/cobra](https://github.com/spf13/cobra ) | `1.9.1` | `1.10.1` |
| [github.com/spf13/pflag](https://github.com/spf13/pflag ) | `1.0.7` | `1.0.9` |
| [github.com/stretchr/testify](https://github.com/stretchr/testify ) | `1.10.0` | `1.11.1` |
| [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt ) | `1.4.2` | `1.4.3` |
| [golang.org/x/term](https://github.com/golang/term ) | `0.33.0` | `0.34.0` |
| [golang.org/x/crypto](https://github.com/golang/crypto ) | `0.40.0` | `0.41.0` |
| google.golang.org/protobuf | `1.36.6` | `1.36.8` |
Updates `github.com/docker/go-connections` from 0.5.0 to 0.6.0
- [Commits](https://github.com/docker/go-connections/compare/v0.5.0...v0.6.0 )
Updates `github.com/spf13/cobra` from 1.9.1 to 1.10.1
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.9.1...v1.10.1 )
Updates `github.com/spf13/pflag` from 1.0.7 to 1.0.9
- [Release notes](https://github.com/spf13/pflag/releases )
- [Commits](https://github.com/spf13/pflag/compare/v1.0.7...v1.0.9 )
Updates `github.com/stretchr/testify` from 1.10.0 to 1.11.1
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.10.0...v1.11.1 )
Updates `go.etcd.io/bbolt` from 1.4.2 to 1.4.3
- [Release notes](https://github.com/etcd-io/bbolt/releases )
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.4.2...v1.4.3 )
Updates `golang.org/x/term` from 0.33.0 to 0.34.0
- [Commits](https://github.com/golang/term/compare/v0.33.0...v0.34.0 )
Updates `golang.org/x/crypto` from 0.40.0 to 0.41.0
- [Commits](https://github.com/golang/crypto/compare/v0.40.0...v0.41.0 )
Updates `google.golang.org/protobuf` from 1.36.6 to 1.36.8
---
updated-dependencies:
- dependency-name: github.com/docker/go-connections
dependency-version: 0.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: github.com/spf13/cobra
dependency-version: 1.10.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: github.com/spf13/pflag
dependency-version: 1.0.9
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: github.com/stretchr/testify
dependency-version: 1.11.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: go.etcd.io/bbolt
dependency-version: 1.4.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: golang.org/x/term
dependency-version: 0.34.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: golang.org/x/crypto
dependency-version: 0.41.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: google.golang.org/protobuf
dependency-version: 1.36.8
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-03 21:28:04 +02:00
dependabot[bot]
b2dcaeb2ee
build(deps): bump actions/checkout from 4 to 5 in the dependencies group ( #127 )
...
Bumps the dependencies group with 1 update: [actions/checkout](https://github.com/actions/checkout ).
Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-03 21:27:53 +02:00
Christopher Homberger
8920c4a170
Timeout to wait for and optionally require docker always ( #741 )
...
* do not require docker cli in the runner image for waiting for a sidecar dockerd
* allow to specify that `:host` labels would also only be accepted if docker is reachable
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/741
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de >
v0.2.13
2025-08-28 17:28:08 +00:00
Akkuman
bbf9d7e90f
feat: support github mirror ( #716 )
...
ref: https://github.com/go-gitea/gitea/issues/34858
when github_mirror='https://ghfast.top/https://github.com '
it will clone from the github mirror
However, there is an exception: because the cache is hashed using the string, if the same cache has been used before, it will still be pulled from github, only for the newly deployed act_ruuner
In the following two scenarios, it will solve the problem encountered:
1. some github mirror is https://xxx.com/https://github.com/actions/checkout@v4 , it will report error `Expected format {org}/{repo}[/path]@ref. Actual ‘https://xxx.com/https://github.com/actions/checkout@v4’ Input string was not in a correct format`
2. If I use an action that has a dependency on another action, even if I configure the url of the action I want to use, the action that the action introduces will still pull from github.
for example 02882cc2d9/action.yml (L127-L132)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/716
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Akkuman <akkumans@qq.com >
Co-committed-by: Akkuman <akkumans@qq.com >
2025-08-28 16:57:01 +00:00
Daan Selen
46f471a900
refac(workflow): use matrix to compile different docker images ( #740 )
...
I have made this to speed up and make it more robust.
The matrix executes the jobs in parallel, doing some things perhaps double. But making overall management easier due to the simple defined variables at the top of the matrix declaration.
Co-authored-by: Daan Selen <dselen@systemec.nl >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/740
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: Daan Selen <dselen@nerthus.nl >
Co-committed-by: Daan Selen <dselen@nerthus.nl >
2025-08-22 23:49:20 +00:00
DaanSelen
aa28f8d99c
feat(docker): add TZ env variable working ( #738 )
...
Relevant: https://gitea.com/gitea/act_runner/issues/735
See my example below, `edit` is my PR, `non-edit` is the origin/main.
```
dselen@N-DESKTOP1:~/development/act_runner$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
runner edit b12322f8c3f0 26 seconds ago 43.5MB
runner non-edit e5593ad32c16 34 minutes ago 43.1MB
dselen@N-DESKTOP1:~/development/act_runner$ docker run -d -e TZ=Europe/Amsterdam runner:non-edit
5f26979515f461a2a7e342aa586d7b91224d2d3c3dcf1ed0c1e7293ff00645a4
dselen@N-DESKTOP1:~/development/act_runner$ docker run -d -e TZ=Europe/Amsterdam runner:edit
9cc5fc6b364cf07776d97c6c60c03f23372eb2c93c7da8d3d80f4f6dc2a6b10e
dselen@N-DESKTOP1:~/development/act_runner$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9cc5fc6b364c runner:edit "/sbin/tini -- run.sh" 2 seconds ago Up 2 seconds serene_bardeen
5f26979515f4 runner:non-edit "/sbin/tini -- run.sh" 5 seconds ago Up 5 seconds jovial_euler
dselen@N-DESKTOP1:~/development/act_runner$ docker exec -it jovial_euler bash
5f26979515f4:/# date
Thu Aug 21 16:40:35 UTC 2025
dselen@N-DESKTOP1:~/development/act_runner$ docker exec -it serene_bardeen bash
9cc5fc6b364c:/# date
Thu Aug 21 18:40:42 CEST 2025
```
I do not see why this would not be acceptable, its only 400KB
Regards.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/738
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com >
Co-authored-by: DaanSelen <daanselen@noreply.gitea.com >
Co-committed-by: DaanSelen <daanselen@noreply.gitea.com >
2025-08-21 23:56:32 +00:00
Christopher Homberger
6a7e18b124
Allow node24 actions ( #737 )
...
* `node` Tool is used regardless of this change
* upgrade images with `node` = `node24` if required
* actions/checkout@v5 now passing validation
Fixes #729
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/737
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de >
2025-08-21 17:47:26 +00:00
ChristopherHX
2478a22d8c
Update VERSION ( #124 )
2025-08-04 17:08:08 +02:00
ChristopherHX
cd57d482c3
support yaml anchors ( #65 )
2025-08-04 16:57:51 +02:00
dependabot[bot]
8ae335c273
build(deps): bump the dependencies group with 7 updates ( #123 )
...
Bumps the dependencies group with 7 updates:
| Package | From | To |
| --- | --- | --- |
| [github.com/docker/cli](https://github.com/docker/cli ) | `28.3.0+incompatible` | `28.3.3+incompatible` |
| [github.com/docker/docker](https://github.com/docker/docker ) | `28.3.0+incompatible` | `28.3.3+incompatible` |
| [github.com/spf13/pflag](https://github.com/spf13/pflag ) | `1.0.6` | `1.0.7` |
| [golang.org/x/term](https://github.com/golang/term ) | `0.32.0` | `0.33.0` |
| [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt ) | `5.2.2` | `5.3.0` |
| [golang.org/x/crypto](https://github.com/golang/crypto ) | `0.39.0` | `0.40.0` |
| [golang.org/x/sync](https://github.com/golang/sync ) | `0.15.0` | `0.16.0` |
Updates `github.com/docker/cli` from 28.3.0+incompatible to 28.3.3+incompatible
- [Commits](https://github.com/docker/cli/compare/v28.3.0...v28.3.3 )
Updates `github.com/docker/docker` from 28.3.0+incompatible to 28.3.3+incompatible
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v28.3.0...v28.3.3 )
Updates `github.com/spf13/pflag` from 1.0.6 to 1.0.7
- [Release notes](https://github.com/spf13/pflag/releases )
- [Commits](https://github.com/spf13/pflag/compare/v1.0.6...v1.0.7 )
Updates `golang.org/x/term` from 0.32.0 to 0.33.0
- [Commits](https://github.com/golang/term/compare/v0.32.0...v0.33.0 )
Updates `github.com/golang-jwt/jwt/v5` from 5.2.2 to 5.3.0
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.2.2...v5.3.0 )
Updates `golang.org/x/crypto` from 0.39.0 to 0.40.0
- [Commits](https://github.com/golang/crypto/compare/v0.39.0...v0.40.0 )
Updates `golang.org/x/sync` from 0.15.0 to 0.16.0
- [Commits](https://github.com/golang/sync/compare/v0.15.0...v0.16.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-version: 28.3.3+incompatible
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: github.com/docker/docker
dependency-version: 28.3.3+incompatible
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: github.com/spf13/pflag
dependency-version: 1.0.7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: golang.org/x/term
dependency-version: 0.33.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: github.com/golang-jwt/jwt/v5
dependency-version: 5.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: golang.org/x/crypto
dependency-version: 0.40.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: golang.org/x/sync
dependency-version: 0.16.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-01 17:23:07 +02:00
ChristopherHX
42ec8a5ab5
fix: Allow almost all node<number> variants in actions.runs ( #120 )
2025-07-24 23:33:11 +02:00
ChristopherHX
aeb7c01c61
Bump Test image to bookworm ( #121 )
...
* buster is end of life since 2024
2025-07-24 23:25:36 +02:00
telackey
53329c46ff
Add ubuntu-24.04 label to defaults. ( #724 )
...
Simple change to include ubuntu-24.04 in the default list. While ubuntu-latest already points to the same image (at this time) it is appropriate to have it by version as well.
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/724
Co-authored-by: telackey <telackey@noreply.gitea.com >
Co-committed-by: telackey <telackey@noreply.gitea.com >
2025-07-22 14:47:30 +00:00
dependabot[bot]
338af29e5e
build(deps): bump megalinter/megalinter in the dependencies group ( #118 )
...
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-version: 8.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-15 12:40:53 +02:00
dependabot[bot]
ff8eada0d4
build(deps): bump the dependencies group with 5 updates ( #119 )
...
Bumps the dependencies group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [github.com/docker/cli](https://github.com/docker/cli ) | `28.2.2+incompatible` | `28.3.0+incompatible` |
| [github.com/docker/docker](https://github.com/docker/docker ) | `28.2.2+incompatible` | `28.3.0+incompatible` |
| [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) | `5.16.0` | `5.16.2` |
| [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt ) | `1.4.0` | `1.4.2` |
| [golang.org/x/crypto](https://github.com/golang/crypto ) | `0.38.0` | `0.39.0` |
Updates `github.com/docker/cli` from 28.2.2+incompatible to 28.3.0+incompatible
- [Commits](https://github.com/docker/cli/compare/v28.2.2...v28.3.0 )
Updates `github.com/docker/docker` from 28.2.2+incompatible to 28.3.0+incompatible
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v28.2.2...v28.3.0 )
Updates `github.com/go-git/go-git/v5` from 5.16.0 to 5.16.2
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.16.0...v5.16.2 )
Updates `go.etcd.io/bbolt` from 1.4.0 to 1.4.2
- [Release notes](https://github.com/etcd-io/bbolt/releases )
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.4.0...v1.4.2 )
Updates `golang.org/x/crypto` from 0.38.0 to 0.39.0
- [Commits](https://github.com/golang/crypto/compare/v0.38.0...v0.39.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-version: 28.3.0+incompatible
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: github.com/docker/docker
dependency-version: 28.3.0+incompatible
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: github.com/go-git/go-git/v5
dependency-version: 5.16.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: go.etcd.io/bbolt
dependency-version: 1.4.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: golang.org/x/crypto
dependency-version: 0.39.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-15 12:40:37 +02:00
Lunny Xiao
6b1aea9c04
Upgrade github.com/go-git/go-git/v5 to v5.16.2 ( #706 )
...
Fix #695
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/706
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
v0.2.12
2025-06-11 17:59:35 +00:00
lautriva
edec9a8f91
Add a way to specify vars in act_runner exec ( #704 )
...
Before this commit, when running locally `act_runner exec` to test workflows, we could only fill env and secrets but not vars
This commit add a new exec option `--var` based on what is done for env and secret
Example:
`act_runner exec --env MY_ENV=testenv -s MY_SECRET=testsecret --var MY_VAR=testvariable`
workflow
```
name: Gitea Actions test
on: [push]
jobs:
TestAction:
runs-on: ubuntu-latest
steps:
- run: echo "VAR -> ${{ vars.MY_VAR }}"
- run: echo "ENV -> ${{ env.MY_ENV }}"
- run: echo "SECRET -> ${{ secrets.MY_SECRET }}"
```
Will echo var, env and secret values sent in the command line
Fixes gitea/act_runner#692
Co-authored-by: Lautriva <gitlactr@dbn.re >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/704
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: lautriva <lautriva@noreply.gitea.com >
Co-committed-by: lautriva <lautriva@noreply.gitea.com >
2025-06-11 17:38:29 +00:00
ChristopherHX
4c7216f69b
fix: matrix expansion logic ( #115 )
...
* add another test
* remove //nolint:gocyclo
2025-06-08 13:23:33 +02:00
ChristopherHX
3293d725a7
feat: add parallel flag ( #114 )
...
* add parallel flag
2025-06-08 12:41:42 +02:00
ChristopherHX
f36df5592d
feat: CustomExecutor Provide Custom Job Runner Implementation ( #113 )
2025-06-08 11:41:38 +02:00
Pablo Carranza
6a9a447f86
Report errors by setting raw_output when it's error level ( #645 )
...
This solves #643 by setting the "raw_output" entry attribute when the log level is error. This results in the log line being shipped to the Gitea UI.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/645
Reviewed-by: Zettat123 <zettat123@noreply.gitea.com >
Co-authored-by: Pablo Carranza <pcarranza@gmail.com >
Co-committed-by: Pablo Carranza <pcarranza@gmail.com >
2025-06-05 17:53:13 +00:00
ChristopherHX
d5a1a09aa4
fix: GITHUB_ENV and GITHUB_OUTPUT allow larger lines ( #112 )
...
* Specify larger buffer
2025-06-03 22:59:05 +02:00
dependabot[bot]
9d4a12f0b7
build(deps): bump the dependencies group with 2 updates ( #111 )
...
* build(deps): bump the dependencies group with 2 updates
Bumps the dependencies group with 2 updates: [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) and [megalinter/megalinter](https://github.com/megalinter/megalinter ).
Updates `golangci/golangci-lint-action` from 7.0.0 to 8.0.0
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v7.0.0...v8.0.0 )
Updates `megalinter/megalinter` from 8.6.0 to 8.7.0
- [Release notes](https://github.com/megalinter/megalinter/releases )
- [Changelog](https://github.com/oxsecurity/megalinter/blob/main/CHANGELOG.md )
- [Commits](https://github.com/megalinter/megalinter/compare/v8.6.0...v8.7.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-version: 8.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: megalinter/megalinter
dependency-version: 8.7.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update .github/workflows/checks.yml
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2025-06-01 16:14:58 +02:00
ChristopherHX
e6ba3086c3
chore(deps): Migrate docker api usage ( #110 )
...
* do not use deprecated types / functions
2025-06-01 13:53:07 +00:00
dependabot[bot]
1c2ac5e507
build(deps): bump the dependencies group with 5 updates ( #109 )
...
Bumps the dependencies group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [github.com/docker/cli](https://github.com/docker/cli ) | `28.1.1+incompatible` | `28.2.2+incompatible` |
| [github.com/docker/docker](https://github.com/docker/docker ) | `28.1.1+incompatible` | `28.2.2+incompatible` |
| [golang.org/x/term](https://github.com/golang/term ) | `0.31.0` | `0.32.0` |
| [dario.cat/mergo](https://github.com/imdario/mergo ) | `1.0.1` | `1.0.2` |
| [golang.org/x/crypto](https://github.com/golang/crypto ) | `0.37.0` | `0.38.0` |
Updates `github.com/docker/cli` from 28.1.1+incompatible to 28.2.2+incompatible
- [Commits](https://github.com/docker/cli/compare/v28.1.1...v28.2.2 )
Updates `github.com/docker/docker` from 28.1.1+incompatible to 28.2.2+incompatible
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v28.1.1...v28.2.2 )
Updates `golang.org/x/term` from 0.31.0 to 0.32.0
- [Commits](https://github.com/golang/term/compare/v0.31.0...v0.32.0 )
Updates `dario.cat/mergo` from 1.0.1 to 1.0.2
- [Release notes](https://github.com/imdario/mergo/releases )
- [Commits](https://github.com/imdario/mergo/compare/v1.0.1...v1.0.2 )
Updates `golang.org/x/crypto` from 0.37.0 to 0.38.0
- [Commits](https://github.com/golang/crypto/compare/v0.37.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-version: 28.2.2+incompatible
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: github.com/docker/docker
dependency-version: 28.2.2+incompatible
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: golang.org/x/term
dependency-version: 0.32.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: dario.cat/mergo
dependency-version: 1.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: golang.org/x/crypto
dependency-version: 0.38.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-01 15:35:17 +02:00
ChristopherHX
61237a1bdd
Update README.md ( #108 )
2025-05-31 10:31:24 +02:00
ChristopherHX
5ca0d3cb71
chore(deps): Update Workflow Schema ( #107 )
...
* add ai permission
* add workflow description
2025-05-21 10:02:35 +00:00
ChristopherHX
b634fba677
feat: contextdata overlay api and more gh/gt instance flags ( #105 )
...
* add TestGetGitHubContextOverlay
2025-05-18 13:44:33 +02:00
ChristopherHX
6440a419d2
fix: stability of docker cancel test ( #106 )
2025-05-18 13:24:33 +02:00
ChristopherHX
1dc7a4d269
feat: allow ctx overlay + case sensitive env ctx ( #99 )
...
* switch to fork of actionlint
2025-05-18 11:35:05 +02:00
ChristopherHX
bb140f1a38
feat: log parsed command data in json logger ( #103 )
...
* feat: log parsed command data in json logger
* add logging info to other commands as well
2025-05-17 16:14:53 +02:00
Jack Jackson
5302c25feb
Add environment variables for OIDC token service ( #674 )
...
Resurrecting [this PR](https://gitea.com/gitea/act_runner/pulls/272 ) (a dependency of [this one](https://github.com/go-gitea/gitea/pull/33945 )) after the original author [lost motivation](https://github.com/go-gitea/gitea/pull/25664#issuecomment-2737099259 ) - though, to be clear, all credit belongs to them, and all blame for mistakes or misunderstandings to me.
Co-authored-by: Søren L. Hansen <sorenisanerd@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/674
Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Jack Jackson <scubbojj@gmail.com >
Co-committed-by: Jack Jackson <scubbojj@gmail.com >
2025-05-08 01:58:31 +00:00
Christopher Homberger
a616ed1a10
feat: register interactive with values from cli ( #682 )
...
I used to be able to do something like `./act_runner register --instance https://gitea.com --token testdcff --name test` on GitHub Actions Runners, but act_runner always asked me to enter instance, token etc. again and requiring me to use `--no-interactive` including passing everything per cli.
My idea was to extract the preset input of some stages to skip the prompt for this value if it is a non empty string. Labels is the only question that has been asked more than once if validation failed, in this case the error path have to unset the values of the input structure to not end in a non-interactive loop.
_I have written this initially for my own gitea runner, might be useful to everyone using the official runner as well_
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/682
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de >
2025-05-08 01:57:53 +00:00
Christopher Homberger
f0b5aff3bb
fix: invalid label NoInteractive exit code ( #683 )
...
* add test
* return validation error not nil from function
Closes #665
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/683
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de >
2025-05-07 17:17:26 +00:00
Christopher Homberger
44b4736703
feat: docker env vars for ephemeral and once ( #685 )
...
* GITEA_RUNNER_EPHEMERAL=1
* GITEA_RUNNER_ONCE=1
Related https://gitea.com/gitea/act_runner/issues/684
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/685
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de >
2025-05-07 15:43:05 +00:00
dependabot[bot]
7c0b21a846
build(deps): bump megalinter/megalinter in the dependencies group ( #101 )
...
Bumps the dependencies group with 1 update: [megalinter/megalinter](https://github.com/megalinter/megalinter ).
Updates `megalinter/megalinter` from 8.5.0 to 8.6.0
- [Release notes](https://github.com/megalinter/megalinter/releases )
- [Changelog](https://github.com/oxsecurity/megalinter/blob/main/CHANGELOG.md )
- [Commits](https://github.com/megalinter/megalinter/compare/v8.5.0...v8.6.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-version: 8.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-03 09:21:39 +00:00