Christopher Homberger
b53c54f73d
fix last error
2026-02-23 14:09:30 +01:00
silverwind
1670945af3
Fix all 93 lint-go errors
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 13:59:05 +01:00
Christopher Homberger
09d18916bf
more lint errors
2026-02-23 00:30:44 +01:00
Christopher Homberger
bffc600775
fixes
2026-02-22 21:12:25 +01:00
Christopher Homberger
a27473e6a8
fixes
2026-02-22 21:04:33 +01:00
Christopher Homberger
a77f10683d
assert => require
2026-02-22 21:00:42 +01:00
Christopher Homberger
d187ac2fc1
auto adjust code
2026-02-22 20:58:46 +01:00
Christopher Homberger
949a40c7a5
Merge https://gitea.com/actions-oss/act-cli into act-runner-merged
2026-02-22 20:56:21 +01:00
Christopher Homberger
3413919161
update import path
2026-02-22 20:54:58 +01:00
Christopher Homberger
9fd95d203f
Merge https://github.com/actions-oss/act-cli into act-runner-merged
2026-02-22 20:38:07 +01:00
Christopher Homberger
52eb6e43cd
Merge branch 'main' of gitea.com:gitea/act_runner into act-runner-actions-oss-act
2026-02-22 20:26:32 +01:00
silverwind
658101d9cb
chore(lint): add golangci-lint v2 and fix all lint issues ( #803 )
...
## Summary
- Replace old `.golangci.yml` (v1 format) with v2 format, aligned with gitea's lint config
- Add `lint-go`, `lint-go-fix`, and `lint` Makefile targets using golangci-lint v2.10.1
- Replace `make vet` with `make lint` in CI workflow (lint includes vet)
- Fix all 35 lint issues: modernize (maps.Copy, range over int, any), perfsprint (errors.New), unparam (remove unused parameters), revive (var naming), staticcheck, forbidigo exclusion for cmd/
- Make `security-check` non-fatal (apply https://github.com/go-gitea/gitea/pull/36681 )
- Remove dead gocritic exclusion rules (commentFormatting, exitAfterDefer)
- Remove dead linter exclusions and disabled checks (singleCaseSwitch, ST1003, QF1001, QF1006, QF1008, testifylint go-require/require-error, test file exclusions for dupl/errcheck/staticcheck/unparam)
## Test plan
- [x] `golangci-lint run` passes
- [x] `go build ./...` passes
- [x] `go test ./...` passes
---------
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/803
Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com >
2026-02-22 17:35:08 +00:00
Christopher Homberger
b48c9c29e9
Merge branch 'act-runner-actions-oss-act' of gitea.com:gitea/act_runner into act-runner-actions-oss-act
2026-02-22 17:34:49 +01:00
Christopher Homberger
cfbb124754
Move logging to another file
2026-02-22 17:34:18 +01:00
Christopher Homberger
340e1de2e3
fix GitHubAPIServerURL
2026-02-22 17:28:48 +01:00
silverwind
f98673129b
Merge branch 'main' into act-runner-actions-oss-act
2026-02-22 15:07:57 +00:00
Christopher Homberger
3f008b3310
forget needs
2026-02-22 16:05:39 +01:00
ChristopherHX
f0f9f0c8ab
fix: composite action log result reported as step result ( #801 )
...
Act logs an array of stepID to signal that this is an partial step result within an composite actions, this is the case for years and act_runner never handled it correctly.
Ref: <43e6958fa3/pkg/runner/logger.go (L142) >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/801
Reviewed-by: silverwind <silverwind@noreply.gitea.com >
2026-02-22 14:56:09 +00:00
silverwind
ae6e5dfcf7
fix: race condition in reporter between RunDaemon and Close ( #796 )
...
## Summary
- Fix data race on `r.closed` between `RunDaemon()` and `Close()` by protecting it with the existing `stateMu` — `closed` is part of the reporter state. `RunDaemon()` reads it under `stateMu.RLock()`, `Close()` sets it inside the existing `stateMu.Lock()` block
- `ReportState` now has a parameter to not report results from runDaemon even if set, from now on `Close` reports the result
- `Close` waits for `RunDaemon()` to signal exit via a closed channel `daemon` before reporting the final logs and state with result, unless something really wrong happens it does not time out
- Add `TestReporter_EphemeralRunnerDeletion` which reproduces the exact scenario from #793 : RunDaemon's `ReportState` racing with `Close`, causing the ephemeral runner to be deleted before final logs are sent
- Add `TestReporter_RunDaemonClose_Race` which exercises `RunDaemon()` and `Close()` concurrently to verify no data race on `r.closed` under `go test -race`
- Enable `-race` flag in `make test` so CI catches data races going forward
Based on #794 , with fixes for the remaining unprotected `r.closed` reads that the race detector catches.
Fixes #793
---------
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-authored-by: rmawatson <rmawatson@hotmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/796
Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: silverwind <me@silverwind.io >
Co-committed-by: silverwind <me@silverwind.io >
2026-02-22 14:52:49 +00:00
Christopher Homberger
9f7b881426
fix lint
2026-02-22 15:51:52 +01:00
Christopher Homberger
0ab72505cc
Merge branch 'main' of gitea.com:gitea/act_runner into act-runner-actions-oss-act
2026-02-22 15:45:00 +01:00
silverwind
f4418eff18
chore(deps): update go dependencies ( #802 )
...
## Summary
- Update all Go dependencies to latest compatible versions
- Notable updates: connectrpc v1.19.1, cobra v1.10.2, protobuf v1.36.11, otel v1.40.0, actionlint v1.7.11
- docker/docker kept at v25 (v28+ has breaking module restructuring)
- Fix govulncheck issues: update go-git v5.16.2 → v5.16.5 (GO-2026-4473), containerd v1.7.13 → v1.7.29 (GO-2025-4108, GO-2025-4100, GO-2025-3528)
- Remove unnecessary go-git replace directive
- Add `make tidy` and `make tidy-check` Makefile targets
- Clarify `distribution/reference` replace directive comment (needed because `docker/distribution@v2.8.3` uses `reference.SplitHostname` removed in v0.6.0)
## Test plan
- [x] `go build ./...` passes
- [x] `go test ./...` passes
- [x] `govulncheck ./...` passes
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/802
Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com >
Co-authored-by: silverwind <me@silverwind.io >
Co-committed-by: silverwind <me@silverwind.io >
2026-02-22 11:59:47 +00:00
Christopher Homberger
d4c46e538e
add strategy
2026-02-20 21:44:30 +01:00
Christopher Homberger
ae82ca2e97
adapt
2026-02-20 21:37:36 +01:00
Christopher Homberger
d9948c0df4
fix add more ctx
2026-02-20 21:10:28 +01:00
Christopher Homberger
995551f1aa
experiment
2026-02-20 21:10:28 +01:00
Christopher Homberger
579b7af04f
wip
...
update go mod
2026-02-20 21:10:16 +01:00
Christopher Homberger
40ee0f3ef6
feat: add act runner compat code ( #35 )
...
* attempt to build an act_runner using this implementation of act with minimal changes on act side.
Reviewed-on: https://gitea.com/actions-oss/act-cli/pulls/35
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de >
2026-02-20 20:06:04 +00:00
Christopher Homberger
17bc93f003
migrate to WithJobLoggerFactory
2026-02-20 14:17:04 +01:00
Christopher Homberger
35df5a61e4
WIP evaluate upgrade
2026-02-20 14:10:55 +01:00
silverwind
0f7efae806
chore(deps): update workflow action versions ( #792 )
...
checks / check and test (push) Successful in 1m41s
## Summary
- `actions/checkout`: v4/v5 → v6
- `actions/setup-go`: v5 → v6
- `docker/build-push-action`: v5 → v6
All other actions (`goreleaser/goreleaser-action@v6`, `docker/setup-qemu-action@v3`, `docker/setup-buildx-action@v3`, `docker/login-action@v3`, `crazy-max/ghaction-import-gpg@v6`) were already at their latest major versions.
No breaking changes affect the current workflow configurations. The main changes in the updated actions are Node.js 24 runtime upgrades and minor feature additions.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/792
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: silverwind <me@silverwind.io >
Co-committed-by: silverwind <me@silverwind.io >
2026-02-18 06:05:34 +00:00
silverwind
aab249000c
chore(deps): update act to v0.261.8 ( #791 )
...
## Summary
- Update `gitea.com/gitea/act` from pseudo-version `v0.261.7-0.20251202193638-5417d3ac6742` to `v0.261.8`
- Update yaml import in `workflow.go` from `gopkg.in/yaml.v3` to `go.yaml.in/yaml/v4` to match act's yaml v4 migration
- Add tests to verify yaml/v4 upgrade works correctly
## Changes included in act v0.261.8
- Recover from panics in parallel executor workers ([gitea/act#153 ](https://gitea.com/gitea/act/pulls/153 ))
- Fix max-parallel support for matrix jobs ([gitea/act#150 ](https://gitea.com/gitea/act/pulls/150 ))
- Fix yaml with prefixed newline broken setjob + yaml v4 ([gitea/act#144 ](https://gitea.com/gitea/act/pulls/144 ))
- Fixed typo ([gitea/act#151 ](https://gitea.com/gitea/act/pulls/151 ))
## Tests added
- **`Test_generateWorkflow`**: 7 new cases (was 1), covering: no needs, needs as list, workflow env/triggers, container+services, matrix strategy, special YAML characters, and invalid YAML error handling
- **`Test_yamlV4NodeRoundTrip`**: Directly exercises `go.yaml.in/yaml/v4` — `yaml.Node` construction, marshal/unmarshal round-trip, and node kind constants
Fixes: https://gitea.com/gitea/act_runner/issues/371
Fixes: https://gitea.com/gitea/act_runner/issues/772
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/791
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: silverwind <me@silverwind.io >
Co-committed-by: silverwind <me@silverwind.io >
2026-02-18 05:37:21 +00:00
stecklars
c82077e6b5
examples: improve DIND rootless network performance ( #786 )
...
checks / check and test (push) Successful in 1m13s
## Summary
- Add `DOCKERD_ROOTLESS_ROOTLESSKIT_NET=slirp4netns` and `DOCKERD_ROOTLESS_ROOTLESSKIT_MTU=65520` to the DIND docker-compose example
- The `docker:dind-rootless` base image defaults to vpnkit as the network driver, which has substantially lower throughput than slirp4netns
## The problem
I noticed that pulling containers as well as downloading data within the container when running act_runner as DIND was very slow (see Ookla speedtest results in the following). While analysing the issue, I found that this was caused by the usage of vpnkit.
The `docker:dind-rootless` base image defaults to vpnkit as the network driver. slirp4netns was [added as an opt-in option](https://github.com/docker-library/docker/pull/543 ) and must be explicitly enabled via `DOCKERD_ROOTLESS_ROOTLESSKIT_NET=slirp4netns`.
This means anyone following the current DIND example gets vpnkit, which has significantly lower network throughput. This affects **all** network operations in the container — image pulls, package installs, and CI tasks.
Per the [rootlesskit iperf3 benchmarks](https://github.com/rootless-containers/rootlesskit/blob/master/docs/network.md ):
| Driver | MTU 1500 | MTU 65520 |
|--------|----------|-----------|
| **vpnkit** | 0.60 Gbps | not supported |
| **slirp4netns** | 1.06 Gbps | 7.55 Gbps |
## Real-world benchmark results (Ookla speedtest, same server)
| | Download | Upload |
|---|---|---|
| **Default (vpnkit)** | ~130 Mbps | ~126 Mbps |
| **slirp4netns + MTU 65520** | ~958 Mbps | ~462 Mbps |
## References
- [docker-library/docker#543 ](https://github.com/docker-library/docker/pull/543 ) — added slirp4netns to dind-rootless as opt-in (vpnkit remains default)
- [rootlesskit network docs](https://github.com/rootless-containers/rootlesskit/blob/master/docs/network.md ) — iperf3 benchmarks
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/786
Reviewed-by: silverwind <silverwind@noreply.gitea.com >
Co-authored-by: stecklars <stecklars@noreply.gitea.com >
Co-committed-by: stecklars <stecklars@noreply.gitea.com >
2026-02-16 07:56:45 +00:00
Christopher Homberger
933c4a5bd5
feat: allow configuring gitea schema mode ( #23 )
...
* config entries for schema change
* remove broken/unused syntetic nodejs action
* specify desired schema in model struct that is read by unmarshal
* replace params by config
* allows gitea context + env names
* act --gitea now parses a subset of gitea specific workflows
Reviewed-on: https://gitea.com/actions-oss/act-cli/pulls/23
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de >
2026-02-14 16:23:59 +00:00
Christopher Homberger
faa252c8e9
fix: add branding ( #33 )
...
Closes https://gitea.com/actions-oss/act-cli/issues/31
Reviewed-on: https://gitea.com/actions-oss/act-cli/pulls/33
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de >
2026-02-14 16:16:53 +00:00
silverwind
9f91fdd0eb
chore(deps): bump Go version to 1.26 in Dockerfile and Makefile ( #788 )
...
checks / check and test (push) Successful in 1m13s
## Summary
- Bump Dockerfile builder image from `golang:1.24-alpine` to `golang:1.26-alpine`
- Bump Makefile `XGO_VERSION` from `go-1.24.x` to `go-1.26.x`
These were missed in #787 which bumped `go.mod` to Go 1.26.0, causing CI build failures.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/788
Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com >
Co-authored-by: silverwind <me@silverwind.io >
Co-committed-by: silverwind <me@silverwind.io >
2026-02-14 10:32:16 +00:00
silverwind
7a7a5d9051
chore(deps): bump Go version to 1.26.0 ( #787 )
...
## Summary
- Bumps Go version from 1.24.0 (toolchain go1.24.11) to 1.26.0
- Fixes CI `govulncheck` failures caused by three standard library vulnerabilities in go1.24.11:
- GO-2026-4341: Memory exhaustion in `net/url` query parameter parsing
- GO-2026-4340: Handshake messages at incorrect encryption level in `crypto/tls`
- GO-2026-4337: Unexpected session resumption in `crypto/tls`
## Test plan
- [x] `make vet` passes
- [x] `make build` passes
- [x] `make test` passes (includes `govulncheck` and all unit tests)
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/787
Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com >
Co-authored-by: silverwind <me@silverwind.io >
Co-committed-by: silverwind <me@silverwind.io >
2026-02-14 10:19:45 +00:00
Christopher Homberger
8505f73fe4
fix: fallback of localRepository cache being nil ( #29 )
...
Doing `act --local-repository test/self-ref@main=/folder-path/self-ref` caused a null pointer exception while fetching a non mapped entry, due to missing remote fallback.
Reviewed-on: https://gitea.com/actions-oss/act-cli/pulls/29
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de >
2026-02-06 11:11:34 +00:00
Christopher Homberger
6c827eba95
fix: anchor cyclic detection ( #30 )
...
Closes #25
Reviewed-on: https://gitea.com/actions-oss/act-cli/pulls/30
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de >
2026-02-02 20:43:49 +00:00
ChristopherHX
13e0654fd7
fix: gitea release workflow ( #22 )
...
Creating release v0.4.0 failed
Reviewed-on: https://gitea.com/actions-oss/act-cli/pulls/22
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-committed-by: ChristopherHX <christopher.homberger@web.de >
2026-01-31 23:24:09 +00:00
mkesper
90d11b8692
Remove duplicate assignment of DIST ( #777 )
...
checks / check and test (push) Successful in 1m36s
The assignment already happens at line 1.
Signed-off-by: mkesper <mkesper@noreply.gitea.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/777
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: mkesper <mkesper@noreply.gitea.com >
Co-committed-by: mkesper <mkesper@noreply.gitea.com >
2025-12-26 00:38:38 +00:00
Christopher Homberger
c4b57fbcb2
chore(deps): upgrade dependencies ( #775 )
...
checks / check and test (push) Successful in 2m31s
CI uses latest go 24, we may need a cron job after go updates.
Closes https://gitea.com/gitea/act_runner/issues/774
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/775
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-12-20 23:35:15 +00:00
Christopher Homberger
0cdc6fd88b
test: missing shell property in composite action ( #20 )
...
Make sure we report schema errors consistently
Reviewed-on: https://gitea.com/actions-oss/act-cli/pulls/20
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de >
2025-12-19 16:25:23 +00:00
ChristopherHX
ce0890578a
refactor: move getContainerActionPaths into step interface ( #13 )
...
* allows to specialize local vs remote action implementation
* allow paths like ./.. for local action
Closes https://gitea.com/actions-oss/act-cli/issues/12
Reviewed-on: https://gitea.com/actions-oss/act-cli/pulls/13
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-committed-by: ChristopherHX <christopher.homberger@web.de >
2025-12-19 16:24:48 +00:00
ChristopherHX
ee2e0135d5
feat: implement case function ( #16 )
...
Follow GitHub Actions
* added unit tests
Closes #15
Reviewed-on: https://gitea.com/actions-oss/act-cli/pulls/16
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-committed-by: ChristopherHX <christopher.homberger@web.de >
2025-12-18 19:27:30 +00:00
Zettat123
e6dbe2a1ca
Bump gitea/act ( #770 )
...
checks / check and test (push) Successful in 16m58s
Related to https://gitea.com/gitea/act/pulls/145
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/770
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2025-12-02 22:38:31 +00:00
Christopher Homberger
83cbf1f2b8
Port CI to Gitea.com ( #1 )
...
# Problems
- [x] Some env variables from act itself / act_runner let the tests fail.
- [ ] CI takes too long to clone actions, need to speed up the used act_runner by sparse checkout
- Runners are reused this speeds up once every runner has ran every job
- [ ] Qemu setup is broken and do not add all platforms like GitHub CI expected` linux/amd64,linux/amd64/v2,linux/amd64/v3,linux/amd64/v4,linux/arm64,linux/riscv64,linux/ppc64le,linux/s390x,linux/386,linux/mips64le,linux/mips64,linux/loong64,linux/arm/v7,linux/arm/v6` got `linux/amd64,linux/amd64/v2,linux/amd64/v3,linux/amd64/v4,linux/386` without qemu set up
- Test Disabled
- [x] ACTIONS_RUNTIME_TOKEN needs to be unset
- [ ] Snapshot needs our version of the npm package / patching
- Test Disabled
- [ ] ACTIONS_RESULTS_URL:http://127.0.0.1:12345/ seems to be a fallback to localhost this is a problem
- Test Disabled
Reviewed-on: https://gitea.com/actions-oss/act-cli/pulls/1
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
Co-committed-by: Christopher Homberger <christopher.homberger@web.de >
2025-11-27 14:57:23 +00:00
ChristopherHX
2c1a559406
Bump version from 0.3.5 to 0.4.0 ( #143 )
2025-11-27 14:19:30 +01:00
dependabot[bot]
5c84be1b5b
build(deps): bump golang.org/x/crypto from 0.43.0 to 0.45.0 ( #142 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.43.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.43.0...v0.45.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.45.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-27 13:04:58 +00:00
dependabot[bot]
6c766cb3b5
build(deps): bump github.com/opencontainers/selinux ( #141 )
...
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/v1.12.0...v1.13.0 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/selinux
dependency-version: 1.13.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-27 13:56:24 +01:00
Max P.
774f316c8b
fix(dockerfile): Pin docker dind images to version 28, as version 29 has breaking changes in the API that are currently causing problems with the act fork of Gitea ( #769 )
...
checks / check and test (push) Successful in 13m42s
The effect probably does not **yet** occur in the published versions because the last publication took place before the release of Docker v29.
Therefore, no one should expect version 29 of Docker to be used, so there are basically no side effects.
---
fix #768
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/769
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: Max P. <mail@0xMax42.io >
Co-committed-by: Max P. <mail@0xMax42.io >
2025-11-25 14:40:27 +00:00
DavidToneian
823e9489d6
Fix some typos in internal/pkg/config/config.example.yaml ( #764 )
...
checks / check and test (push) Successful in 14m22s
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/764
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: DavidToneian <davidtoneian@noreply.gitea.com >
Co-committed-by: DavidToneian <davidtoneian@noreply.gitea.com >
2025-11-19 18:16:45 +00:00
DavidToneian
dc38bf1895
Fix URL to documentation of runner images ( #765 )
...
The previous URL, `https://gitea.com/docker.gitea.com/runner-images `, leads to a 404 currently.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/765
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: DavidToneian <davidtoneian@noreply.gitea.com >
Co-committed-by: DavidToneian <davidtoneian@noreply.gitea.com >
2025-11-19 18:16:08 +00:00
Akkuman
96b866a3a8
chore: update config.example.yaml for https://gitea.com/gitea/act_runner/pulls/724 ( #763 )
...
checks / check and test (push) Successful in 13m56s
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 )
...
checks / check and test (push) Successful in 14m10s
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 )
...
checks / check and test (push) Successful in 13m44s
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 )
...
checks / check and test (push) Successful in 13m36s
* 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 )
...
checks / check and test (push) Successful in 15m35s
* 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 >
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 )
...
checks / check and test (push) Successful in 14m20s
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 )
...
checks / check and test (push) Successful in 13m50s
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 )
...
checks / check and test (push) Successful in 15m19s
* `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 )
...
checks / check and test (push) Successful in 14m47s
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 )
...
checks / check and test (push) Successful in 14m31s
Fix #695
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/706
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
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 )
...
checks / check and test (push) Successful in 13m43s
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 )
...
checks / check and test (push) Successful in 1m52s
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 )
...
checks / check and test (push) Successful in 1m47s
* 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 )
...
checks / check and test (push) Successful in 4m57s
* 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
ChristopherHX
268a69b6d1
fix: use moby/go-archive due to deprecation ( #102 )
2025-05-03 11:12:48 +02:00
dependabot[bot]
4a17e5199a
build(deps): bump the dependencies group with 5 updates ( #100 )
...
Bumps the dependencies group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [github.com/docker/cli](https://github.com/docker/cli ) | `28.0.4+incompatible` | `28.1.1+incompatible` |
| [github.com/docker/docker](https://github.com/docker/docker ) | `28.0.4+incompatible` | `28.1.1+incompatible` |
| [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) | `5.14.0` | `5.16.0` |
| [golang.org/x/term](https://github.com/golang/term ) | `0.30.0` | `0.31.0` |
| [golang.org/x/crypto](https://github.com/golang/crypto ) | `0.36.0` | `0.37.0` |
Updates `github.com/docker/cli` from 28.0.4+incompatible to 28.1.1+incompatible
- [Commits](https://github.com/docker/cli/compare/v28.0.4...v28.1.1 )
Updates `github.com/docker/docker` from 28.0.4+incompatible to 28.1.1+incompatible
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v28.0.4...v28.1.1 )
Updates `github.com/go-git/go-git/v5` from 5.14.0 to 5.16.0
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.14.0...v5.16.0 )
Updates `golang.org/x/term` from 0.30.0 to 0.31.0
- [Commits](https://github.com/golang/term/compare/v0.30.0...v0.31.0 )
Updates `golang.org/x/crypto` from 0.36.0 to 0.37.0
- [Commits](https://github.com/golang/crypto/compare/v0.36.0...v0.37.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-version: 28.1.1+incompatible
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: github.com/docker/docker
dependency-version: 28.1.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.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: golang.org/x/term
dependency-version: 0.31.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: golang.org/x/crypto
dependency-version: 0.37.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 10:59:48 +02:00
ChristopherHX
bb13ab4f84
feat: cache module add CreateHandler api ( #98 )
2025-04-26 16:58:30 +02:00
ChristopherHX
258de0fa37
fix: container cleanup error is not a job execution error ( #97 )
2025-04-26 16:41:04 +02:00
ChristopherHX
8536279ece
feat: service container in host mode ( #95 )
2025-04-26 14:28:53 +00:00
ChristopherHX
a3c8116dee
fix: step container workdir and mounts ( #93 )
...
* fix: step container workdir and mounts
* avoid perm issues and do not mount tool_cache
2025-04-26 14:14:52 +02:00
ChristopherHX
eddc77f3e0
refactor: migrate container changes ( #91 )
...
* refactor: migrate container changes
* ignore contextcheck
2025-04-26 13:28:18 +02:00
ChristopherHX
dfbb094199
feat: custom host env dir for api ( #92 )
2025-04-26 12:55:45 +02:00
ChristopherHX
0aca9b8144
fix: post step failure is job failure ( #85 )
2025-04-25 22:32:55 +00:00
dependabot[bot]
8131645cdb
build(deps): bump megalinter/megalinter ( #89 )
...
Bumps the dependencies group with 1 update in the / directory: [megalinter/megalinter](https://github.com/megalinter/megalinter ).
Updates `megalinter/megalinter` from 8.4.2 to 8.5.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.4.2...v8.5.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-version: 8.5.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-04-25 22:52:13 +02:00
ChristopherHX
f2550c1971
fix: file name ( #90 )
2025-04-25 22:47:02 +02:00
dependabot[bot]
76e7360ee2
build(deps): bump golang.org/x/net from 0.36.0 to 0.38.0 ( #86 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.36.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.36.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-version: 0.38.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-04-25 22:05:56 +02:00
ChristopherHX
fba76f10dd
core(deps): bump golang-cilint to v2.0.2 ( #83 )
2025-04-25 21:58:30 +02:00
ChristopherHX
4be22e9b76
fix: use the happy path for workflow_call ( #88 )
...
* not really supported mode
2025-04-25 19:56:07 +02:00
ChristopherHX
b3cd631d23
chore(ci): require ENABLE_PROMOTE for promote cron ( #84 )
2025-04-02 13:01:13 +02:00
dependabot[bot]
fe551a9d69
build(deps): bump the dependencies group with 4 updates ( #81 )
...
Bumps the dependencies group with 4 updates: [github.com/docker/cli](https://github.com/docker/cli ), [github.com/docker/docker](https://github.com/docker/docker ), [golang.org/x/crypto](https://github.com/golang/crypto ) and google.golang.org/protobuf.
Updates `github.com/docker/cli` from 28.0.2+incompatible to 28.0.4+incompatible
- [Commits](https://github.com/docker/cli/compare/v28.0.2...v28.0.4 )
Updates `github.com/docker/docker` from 28.0.2+incompatible to 28.0.4+incompatible
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v28.0.2...v28.0.4 )
Updates `golang.org/x/crypto` from 0.35.0 to 0.36.0
- [Commits](https://github.com/golang/crypto/compare/v0.35.0...v0.36.0 )
Updates `google.golang.org/protobuf` from 1.36.5 to 1.36.6
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: google.golang.org/protobuf
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-04-01 20:34:24 +02:00
ChristopherHX
f6db2a26cc
bumo VERSION ( #77 )
2025-03-29 13:52:48 +01:00
ChristopherHX
a1935498a7
fix: tart backend stops VM to early ( #76 )
2025-03-29 13:39:47 +01:00
ChristopherHX
fcf370fcd1
Update VERSION ( #73 )
2025-03-29 12:28:13 +01:00
ChristopherHX
8ffb782f4d
chore: remove notices service ( #72 )
2025-03-29 12:27:52 +01:00
ChristopherHX
cef5575fa4
feat: Support graceful job step cancellation ( #69 )
...
* for gh-act-runner
* act-cli support as well
* respecting always() and cancelled() of steps
* setup-job, bug report, gh cli and watch wait call is cancelled early
2025-03-29 12:27:36 +01:00
dependabot[bot]
dde298852a
build(deps): bump golang.org/x/net from 0.35.0 to 0.36.0 ( #74 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.35.0 to 0.36.0.
- [Commits](https://github.com/golang/net/compare/v0.35.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-29 12:25:41 +01:00
ChristopherHX
95ba59f608
feat: --validate and --strict ( #71 )
...
* feat: `--validate` and `--strict`
* add test for strict validate
2025-03-28 22:56:20 +01:00
ChristopherHX
b46fe4265e
fix: reporting fetch failure as job error and log the error ( #70 )
...
E.g. if GoGitAction Cache had a fetch failure this error did not trigger report jobResult Failure.
Also the error has been not printed until the last message before exit of act.
* adds tests for both corner cases
2025-03-28 00:17:07 +01:00
ChristopherHX
d9a6d40f7c
catch panic in finally ( #68 )
2025-03-24 23:22:43 +01:00
dependabot[bot]
e36423acf1
build(deps): bump the dependencies group across 1 directory with 8 updates ( #67 )
...
Bumps the dependencies group with 7 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [github.com/docker/cli](https://github.com/docker/cli ) | `28.0.0+incompatible` | `28.0.2+incompatible` |
| [github.com/docker/docker](https://github.com/docker/docker ) | `28.0.0+incompatible` | `28.0.2+incompatible` |
| [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) | `5.13.2` | `5.14.0` |
| [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) | `1.1.0` | `1.1.1` |
| [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) | `1.11.1` | `1.12.0` |
| [golang.org/x/term](https://github.com/golang/term ) | `0.29.0` | `0.30.0` |
| [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt ) | `5.2.1` | `5.2.2` |
Updates `github.com/docker/cli` from 28.0.0+incompatible to 28.0.2+incompatible
- [Commits](https://github.com/docker/cli/compare/v28.0.0...v28.0.2 )
Updates `github.com/docker/docker` from 28.0.0+incompatible to 28.0.2+incompatible
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v28.0.0...v28.0.2 )
Updates `github.com/go-git/go-git/v5` from 5.13.2 to 5.14.0
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.13.2...v5.14.0 )
Updates `github.com/opencontainers/image-spec` from 1.1.0 to 1.1.1
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/compare/v1.1.0...v1.1.1 )
Updates `github.com/opencontainers/selinux` from 1.11.1 to 1.12.0
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/v1.11.1...v1.12.0 )
Updates `golang.org/x/term` from 0.29.0 to 0.30.0
- [Commits](https://github.com/golang/term/compare/v0.29.0...v0.30.0 )
Updates `github.com/golang-jwt/jwt/v5` from 5.2.1 to 5.2.2
- [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.1...v5.2.2 )
Updates `golang.org/x/crypto` from 0.33.0 to 0.35.0
- [Commits](https://github.com/golang/crypto/compare/v0.33.0...v0.35.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: github.com/go-git/go-git/v5
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: github.com/opencontainers/image-spec
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: github.com/opencontainers/selinux
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: github.com/golang-jwt/jwt/v5
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: golang.org/x/crypto
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-03-23 11:48:23 +01:00
ChristopherHX
78089b3e42
Bump go to 1.24 ( #66 )
...
* Bump go to 1.24
* bump golangci-lint-action
2025-03-23 11:39:24 +01:00
Christopher Homberger
b1ae30dda8
ephemeral act runner ( #649 )
...
checks / check and test (push) Successful in 5m8s
Works for both interactive and non-interactive registration mode.
A further enhancement would be jitconfig support of the daemon command, because after some changes in Gitea Actions the registration token became reusable.
removing runner and fail seems not possible at the current api level
Part of https://github.com/go-gitea/gitea/pull/33570
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/649
Reviewed-by: Zettat123 <zettat123@noreply.gitea.com >
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-03-13 21:57:44 +00:00
techknowlogick
0d687268c7
act_runner requires go 1.24 now
2025-03-02 05:36:24 +00:00
techknowlogick
425a570261
use new docker image URLs ( #661 )
...
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/661
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
Co-committed-by: techknowlogick <techknowlogick@gitea.com >
2025-03-01 20:21:52 +00:00
Lunny Xiao
4c8179ee12
upgrade to go1.24, act to 0.261.4 and actions-proto-go to 0.4.1 ( #662 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/662
Reviewed-by: ChristopherHX <christopherhx@noreply.gitea.com >
2025-03-01 20:18:36 +00:00
ChristopherHX
502d1687c2
feat: Support query parameter of tart in -P ( #62 )
...
* previously such an platform entry has been ignored
2025-02-22 15:17:49 +01:00
ChristopherHX
903b0730d7
Platform tart:// improve logging / fix tool_cache ( #61 )
2025-02-22 15:17:32 +01:00
ChristopherHX
00231e5dc1
feat: GoGitActionCache shallow fetch ( #63 )
2025-02-22 15:17:17 +01:00
dependabot[bot]
1300fbbe74
build(deps): bump the dependencies group with 9 updates ( #57 )
...
* build(deps): bump the dependencies group with 9 updates
Bumps the dependencies group with 9 updates:
| Package | From | To |
| --- | --- | --- |
| [github.com/docker/cli](https://github.com/docker/cli ) | `27.5.1+incompatible` | `28.0.0+incompatible` |
| [github.com/docker/docker](https://github.com/docker/docker ) | `27.5.1+incompatible` | `28.0.0+incompatible` |
| [github.com/spf13/cobra](https://github.com/spf13/cobra ) | `1.8.1` | `1.9.1` |
| [github.com/spf13/pflag](https://github.com/spf13/pflag ) | `1.0.5` | `1.0.6` |
| [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt ) | `1.3.11` | `1.4.0` |
| [golang.org/x/term](https://github.com/golang/term ) | `0.28.0` | `0.29.0` |
| [gotest.tools/v3](https://github.com/gotestyourself/gotest.tools ) | `3.5.1` | `3.5.2` |
| [golang.org/x/crypto](https://github.com/golang/crypto ) | `0.32.0` | `0.33.0` |
| google.golang.org/protobuf | `1.36.4` | `1.36.5` |
Updates `github.com/docker/cli` from 27.5.1+incompatible to 28.0.0+incompatible
- [Commits](https://github.com/docker/cli/compare/v27.5.1...v28.0.0 )
Updates `github.com/docker/docker` from 27.5.1+incompatible to 28.0.0+incompatible
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v27.5.1...v28.0.0 )
Updates `github.com/spf13/cobra` from 1.8.1 to 1.9.1
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.8.1...v1.9.1 )
Updates `github.com/spf13/pflag` from 1.0.5 to 1.0.6
- [Release notes](https://github.com/spf13/pflag/releases )
- [Commits](https://github.com/spf13/pflag/compare/v1.0.5...v1.0.6 )
Updates `go.etcd.io/bbolt` from 1.3.11 to 1.4.0
- [Release notes](https://github.com/etcd-io/bbolt/releases )
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.3.11...v1.4.0 )
Updates `golang.org/x/term` from 0.28.0 to 0.29.0
- [Commits](https://github.com/golang/term/compare/v0.28.0...v0.29.0 )
Updates `gotest.tools/v3` from 3.5.1 to 3.5.2
- [Release notes](https://github.com/gotestyourself/gotest.tools/releases )
- [Commits](https://github.com/gotestyourself/gotest.tools/compare/v3.5.1...v3.5.2 )
Updates `golang.org/x/crypto` from 0.32.0 to 0.33.0
- [Commits](https://github.com/golang/crypto/compare/v0.32.0...v0.33.0 )
Updates `google.golang.org/protobuf` from 1.36.4 to 1.36.5
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: github.com/spf13/pflag
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: go.etcd.io/bbolt
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: gotest.tools/v3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
* Migrate docker pkg to next release
---------
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-02-21 22:42:52 +01:00
dependabot[bot]
3a91ac55e5
build(deps): bump the dependencies group with 2 updates ( #56 )
...
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 6.2.0 to 6.5.0
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v6.2.0...v6.5.0 )
Updates `megalinter/megalinter` from 8.4.1 to 8.4.2
- [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.4.1...v8.4.2 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: megalinter/megalinter
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-02-21 16:20:32 +01:00
ChristopherHX
d0964718a1
chore: Group DependableBot Updates monthly ( #55 )
2025-02-21 16:06:07 +01:00
Pablo Carranza
5ae13f0bd7
Update xgo version to 1.24 ( #651 )
...
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/651
Co-authored-by: Pablo Carranza <pcarranza@gmail.com >
Co-committed-by: Pablo Carranza <pcarranza@gmail.com >
2025-02-15 16:07:18 +00:00
ChristopherHX
0902938c00
add test workflows to cmd pkg ( #53 )
...
* add test workflows to cmd pkg
* list-options as well
* add more tests
* test entrypoint as well
* update exit code 1 test
2025-02-12 23:37:58 +01:00
ChristopherHX
46ca8e7f30
fix: secret file reading ( #45 )
...
* fix: secret file reading
* do ToUpper for keys not only for cli args
* add tests
2025-02-12 22:03:01 +01:00
ChristopherHX
27511e3003
Parse env file discard utf8 bom ( #38 )
...
* powershell 5 may add the BOM even when explicitly using utf8
* add test + apply to GITHUB_PATH as well
2025-02-12 21:26:55 +01:00
ChristopherHX
d930a546ec
Use gh auth token for default GITHUB_TOKEN secret ( #43 )
...
* initial version
2025-02-01 11:07:17 +01:00
ChristopherHX
358722a69f
Added support for dereferenced map properties ( #44 )
...
* Added support for dereferenced properties
* Added negative test
Co-authored-by: m1r4c <lars-github@domesjo.com >
2025-01-31 21:39:20 +00:00
ChristopherHX
a162920fb4
Update Readme and issue templates ( #40 )
2025-01-31 17:54:54 +01:00
Steven Edwards
54f0cef40a
Refactor findGitSlug to eliminate else ifs. ( #41 )
2025-01-30 11:42:24 -05:00
dependabot[bot]
09a2afc578
build(deps): bump megalinter/megalinter from 8.3.0 to 8.4.1 ( #39 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 8.3.0 to 8.4.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.3.0...v8.4.1 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-29 18:15:27 +00:00
ChristopherHX
513497943c
Update .gitleaksignore ( #25 )
...
* megalinter update makes REDACTED fail gitleaks
2025-01-29 18:57:08 +01:00
ChristopherHX
677e073448
feat: tart macOS vm's as job container ( #33 )
...
adds the tart:// protocol to platform mapping
e.g. `-P macos-14=tart://ghcr.io/cirruslabs/macos-sonoma-base:latest` if you have a mac.
`add-path` is probably broken
2025-01-29 17:27:04 +01:00
ChristopherHX
592dc4bf2c
[BREAKING] new pull-if-needed no-rebuild ( #32 )
...
* Old inverted names removed
2025-01-29 17:25:39 +01:00
ChristopherHX
6d45508104
fix: disable workflow recurse again ( #31 )
...
* This is a non existing feature for GitHub Actions
2025-01-29 17:23:57 +01:00
ChristopherHX
3bd3400253
Use act as bin name ( #22 )
2025-01-29 17:22:24 +01:00
ChristopherHX
6e7e6baa8e
misc: add --list-options for vscode extension uis ( #28 )
...
* draft dump json in help
* polish feature
2025-01-29 17:21:54 +01:00
ChristopherHX
9d516e8fa2
fix: use non strict schema to allow some undefined behavior ( #30 )
...
* GitHub Actions doesn't use the newer strict schema in the service
* Tolerate more hallucinations
---------
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2025-01-29 17:20:06 +01:00
ChristopherHX
f28c532f35
misc: refactor logger of job setup and cleanup ( #29 )
...
* add support for additional json fields to output setup clean and pre stage step status
* fixes a finish job glitch as well
2025-01-29 17:18:45 +01:00
Steven Edwards
635129e9e5
Incorporate Debug, Warn, Error logging ( #36 )
...
Closes #35
2025-01-29 09:59:02 -05:00
Lunny Xiao
3510152e36
Fix Makefile make docker ( #641 )
...
Fix #640
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/641
2025-01-29 03:27:47 +00:00
Steven Edwards
b17d9858f2
Update README.md ( #37 )
...
Clone this repo still pointed to `nektos/act`
2025-01-28 21:38:48 -05:00
ChristopherHX
f28bee065f
valueMasker create secrets copy ( #26 )
...
* concurrent map iteration + write still unknown
2025-01-28 17:10:30 -05:00
ChristopherHX
afbf79f190
chore: remove .actrc ( #18 )
2025-01-27 18:12:31 +01:00
ChristopherHX
dfbb4fa0b1
chore: resolve goreleaser deprecation warnings ( #16 )
2025-01-27 18:12:17 +01:00
ChristopherHX
8e89026ba4
chore: refactor snapshot upload ( #15 )
2025-01-27 18:11:46 +01:00
Steven Edwards
70c9e21c85
update go imports ( #20 )
...
* Replace nektos/act imports with actions-oss/act-cli
* Update go.mod to reference new repo
* Fix goimports "not properly formatted" complaints.
Replacing the imports left some out of alphabetical order.
2025-01-27 18:11:12 +01:00
dependabot[bot]
1d135cf8d1
build(deps): bump github.com/docker/cli ( #3 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 27.4.1+incompatible to 27.5.1+incompatible.
- [Commits](https://github.com/docker/cli/compare/v27.4.1...v27.5.1 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-26 12:43:57 +00:00
dependabot[bot]
3081ce9955
build(deps): bump github.com/go-git/go-git/v5 from 5.13.1 to 5.13.2 ( #5 )
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.13.1 to 5.13.2.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.13.1...v5.13.2 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-26 12:43:21 +00:00
dependabot[bot]
4076f87f97
build(deps): bump google.golang.org/protobuf from 1.36.3 to 1.36.4 ( #4 )
...
Bumps google.golang.org/protobuf from 1.36.3 to 1.36.4.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-26 12:37:09 +00:00
dependabot[bot]
41d83e7859
build(deps): bump github.com/docker/docker ( #2 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 27.4.1+incompatible to 27.5.1+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v27.4.1...v27.5.1 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-26 12:26:30 +00:00
dependabot[bot]
fb98ca1c7e
build(deps): bump goreleaser/goreleaser-action from 5 to 6 ( #1 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 5 to 6.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-26 13:20:09 +01:00
ChristopherHX
5b4393f840
feat: make use new action cache the new default for downloading actions ( #12 )
...
* remove legacy action caching
* migrate tests
* clear old legacy action cache when run
2025-01-26 13:19:25 +01:00
ChristopherHX
3d684447a5
make ci run in this fork ( #9 )
2025-01-26 11:20:26 +00:00
ChristopherHX
92b3ece22e
Delete IMAGES.md ( #8 )
...
* obsolete file
2025-01-26 11:37:26 +01:00
armistace
8dfb805c62
Update examples/kubernetes/dind-docker.yaml to reflect recent changes to Dockerfile ( #633 )
...
With the changes made two months ago for the Dockerfile /opt/act/run.sh no longer exists in the docker container, this caused this example to fail, updating the example so that it correctly references run.sh now located in /usr/local/bin
I have used this to deploy on my own cluster and it is now working swimmingly
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/633
Reviewed-by: Zettat123 <zettat123@noreply.gitea.com >
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: armistace <armistace@noreply.gitea.com >
Co-committed-by: armistace <armistace@noreply.gitea.com >
2025-01-26 02:10:17 +00:00
dependabot[bot]
7bfe066df8
build(deps): bump github.com/rhysd/actionlint from 1.7.6 to 1.7.7 ( #2624 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.7.6 to 1.7.7.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.7.6...v1.7.7 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2025-01-20 03:17:41 +00:00
dependabot[bot]
bcafb8fcd4
build(deps): bump google.golang.org/protobuf from 1.36.2 to 1.36.3 ( #2623 )
...
Bumps google.golang.org/protobuf from 1.36.2 to 1.36.3.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-20 03:01:12 +00:00
dependabot[bot]
652265b2cc
build(deps): bump golangci/golangci-lint-action from 6.1.1 to 6.2.0 ( #2622 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v6.1.1...v6.2.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-20 02:25:10 +00:00
Sanjula Ganepola
5ce39f621c
Add GitHub Local Actions to README ( #2588 )
...
* Add GitHub Local Actions to README
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com >
* Remove trailing whitespace
Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com >
* Add line break after heading
Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com >
* Restore final new line
Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com >
---------
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com >
Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com >
Co-authored-by: Casey Lee <cplee@nektos.com >
2025-01-19 21:21:28 +00:00
dependabot[bot]
a9e31cde30
build(deps): bump google.golang.org/protobuf from 1.36.1 to 1.36.2 ( #2612 )
...
Bumps google.golang.org/protobuf from 1.36.1 to 1.36.2.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-13 02:27:17 +00:00
dependabot[bot]
0ff68e6362
build(deps): bump github.com/go-git/go-git/v5 from 5.13.0 to 5.13.1 ( #2604 )
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.13.0 to 5.13.1.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.13.0...v5.13.1 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2025-01-06 03:12:57 +00:00
dependabot[bot]
4c9875bb0d
build(deps): bump github.com/rhysd/actionlint from 1.7.5 to 1.7.6 ( #2603 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.7.5 to 1.7.6.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.7.5...v1.7.6 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2025-01-06 02:53:33 +00:00
dependabot[bot]
24adb1eaf8
build(deps): bump golang.org/x/term from 0.27.0 to 0.28.0 ( #2602 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/term/compare/v0.27.0...v0.28.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-06 02:36:33 +00:00
Zettat123
a7080f5457
Update examples for GITEA_RUNNER_REGISTRATION_TOKEN env ( #630 )
...
For https://github.com/go-gitea/gitea/pull/32946
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/630
Reviewed-by: Lunny Xiao <lunny@noreply.gitea.com >
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2025-01-05 22:25:32 +00:00
github-actions[bot]
0006dee285
chore: bump VERSION to 0.2.71
2025-01-01 02:30:43 +00:00
sobolevn
0ca1e18334
Fix typo in --action-offline-mode option description ( #2590 )
2024-12-30 19:12:35 -08:00
dependabot[bot]
a64359c9cb
build(deps): bump github.com/go-git/go-git/v5 from 5.12.0 to 5.13.0 ( #2595 )
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.12.0 to 5.13.0.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.12.0...v5.13.0 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-30 03:17:04 +00:00
dependabot[bot]
ccfadfee20
build(deps): bump github.com/go-git/go-billy/v5 from 5.6.0 to 5.6.1 ( #2594 )
...
Bumps [github.com/go-git/go-billy/v5](https://github.com/go-git/go-billy ) from 5.6.0 to 5.6.1.
- [Release notes](https://github.com/go-git/go-billy/releases )
- [Commits](https://github.com/go-git/go-billy/compare/v5.6.0...v5.6.1 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-billy/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-12-30 02:59:00 +00:00
dependabot[bot]
c315398305
build(deps): bump github.com/rhysd/actionlint from 1.7.4 to 1.7.5 ( #2593 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.7.4...v1.7.5 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-30 02:41:53 +00:00
S. M. Mahmudul Haque (Yamin)
deea8ec8c6
fix: prevent unintended input replacement in reusable workflows with workflow_dispatch when using workflow_call ( #2502 )
...
* Remove redundant check
See: https://github.com/nektos/act/issues/2464#issuecomment-2430903650
* Add condition to prevent replacing inputs in reusable workflows with workflow_dispatch inputs
Closes: https://github.com/nektos/act/issues/2464
* fmt
* Revert "Remove redundant check"
This reverts commit 63455960ec714eea7631a586bcd59bed449739fc.
* add test
* Update runner_test.go
* update label
---------
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-12-29 14:52:06 +00:00
mergify[bot]
bd8dda1939
ci(mergify): upgrade configuration to current format ( #2547 )
...
Co-authored-by: Mergify <37929162+mergify[bot]@users.noreply.github.com>
2024-12-25 02:00:07 +00:00
Jim Crowley
fe017a109f
feat: Adding in logic to check if act needs to be downloaded ( #2575 )
...
Co-authored-by: Casey Lee <cplee@nektos.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-12-25 01:43:09 +00:00
ChristopherHX
b4ef6fb482
fix: short sha has at least four digits ( #2540 )
...
Currently it is not very unlikly to have a false match for tag `0` with sha `0XXXXXXXXXXXXXXXXXXXXXXX`, 1 to 16
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-12-24 21:33:13 +00:00
Casey Lee
7172fc31d1
chore: upgrade dependencies ( #2589 )
...
* chore: upgrade dependencies
* fix: linter errors
* chore: bump version of golangci-lint
* chore: go mod tidy
* fix: failing test
* fix: update version of upload-artifact to v4
* chore: format test output with gotestfmt
* fix: typo in test exec
* fix: failing tests
* fix: windows unit test execution
* fix: windows unit test execution
* fix: whitespace
2024-12-24 13:12:24 -08:00
derrik
e6b5062e5c
fix: amd64 arch to X64 ( #2580 )
2024-12-24 08:56:52 -08:00
techknowlogick
8b72d1c7ae
add s390x and riscv64 as an arch for binaries
2024-12-09 18:49:38 +00:00
github-actions[bot]
9c7f103bb3
chore: bump VERSION to 0.2.70
2024-12-01 02:37:19 +00:00
dependabot[bot]
0e8b33b9db
build(deps): bump megalinter/megalinter from 8.2.0 to 8.3.0 ( #2541 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 8.2.0 to 8.3.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.2.0...v8.3.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 02:38:18 +00:00
dependabot[bot]
69ec4a5b42
build(deps): bump github.com/creack/pty from 1.1.23 to 1.1.24 ( #2533 )
...
Bumps [github.com/creack/pty](https://github.com/creack/pty ) from 1.1.23 to 1.1.24.
- [Release notes](https://github.com/creack/pty/releases )
- [Commits](https://github.com/creack/pty/compare/v1.1.23...v1.1.24 )
---
updated-dependencies:
- dependency-name: github.com/creack/pty
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-11-18 03:21:42 +00:00
dependabot[bot]
c90203e739
build(deps): bump codecov/codecov-action from 4 to 5 ( #2532 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-11-18 02:51:16 +00:00
dependabot[bot]
e5e7bdd7d5
build(deps): bump megalinter/megalinter from 8.1.0 to 8.2.0 ( #2531 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 8.1.0 to 8.2.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.1.0...v8.2.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-18 02:32:58 +00:00
dependabot[bot]
ebcc0a830c
build(deps): bump github.com/rhysd/actionlint from 1.7.3 to 1.7.4 ( #2527 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.7.3 to 1.7.4.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.7.3...v1.7.4 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-11 02:55:11 +00:00
garet90
8bc0275e74
feat: add once flag to daemon command ( #19 ) ( #598 )
...
Once flag polls and completes one job then exits.
I use this with Windows Sandbox (and creating users with local brew install on Mac) to create a fresh environment every time.
Co-authored-by: Garet Halliday <garet@pit.dev >
Co-authored-by: Jason Song <wolfogre@noreply.gitea.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/598
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Reviewed-by: Jason Song <wolfogre@noreply.gitea.com >
Co-authored-by: garet90 <garet90@noreply.gitea.com >
Co-committed-by: garet90 <garet90@noreply.gitea.com >
2024-11-06 17:16:08 +00:00
Jason Song
0348aaac59
Wait for the Docker daemon to be ready before starting act runner ( #620 )
...
Follow #619 .
Wait for the Docker daemon to be ready before starting act runner.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/620
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com >
2024-11-06 07:38:31 +00:00
Jason Song
9712481bed
Support basic, dind and dind-rootless as multiple kinds of images ( #619 )
...
- `basic`: Only the runner process in the container; users need to mount the Docker socket to it.
- `dind`: A Docker daemon will be started in the container with the root user.
- `dind-rootless`: A Docker daemon will be started in the container with a rootless user.
Use s6 instead of supervisord to start processes.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/619
Reviewed-by: Zettat123 <zettat123@noreply.gitea.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com >
2024-11-06 03:15:51 +00:00
dependabot[bot]
9bd99e5d7c
build(deps): bump github.com/adrg/xdg from 0.5.0 to 0.5.3 ( #2515 )
...
Bumps [github.com/adrg/xdg](https://github.com/adrg/xdg ) from 0.5.0 to 0.5.3.
- [Release notes](https://github.com/adrg/xdg/releases )
- [Commits](https://github.com/adrg/xdg/compare/v0.5.0...v0.5.3 )
---
updated-dependencies:
- dependency-name: github.com/adrg/xdg
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-04 02:26:35 +00:00
github-actions[bot]
0de940b948
chore: bump VERSION to 0.2.69
2024-11-01 02:31:43 +00:00
ChristopherHX
e3b4e3aded
add test for listartifacts v4 filter ( #2507 )
...
* add test for listartifacts v4 filter
* fixes a defect of last change
* Update artifacts.yml
* use 32bit ids after cast to double we have a loss
* Update artifacts.yml
2024-10-29 02:34:58 +00:00
ChristopherHX
2c0e3fea00
fix: tests with validation errors were skipped ( #2496 )
...
* fix: tests with validation errors were skipped
* fixup
* [no ci] fix one test
* fix some tests
* fix last test
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-10-28 04:03:42 +00:00
ChristopherHX
f77a443edf
fix: merge-multiple artifacts were broken ( #2505 )
...
* fix: merge-multiple artifacts were broken
* Update arifacts_v4.go
* Update arifacts_v4.go
* update id of delete artifact reqest
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-10-28 03:45:20 +00:00
dependabot[bot]
0c09a77836
build(deps): bump github.com/go-git/go-billy/v5 from 5.5.0 to 5.6.0 ( #2506 )
...
Bumps [github.com/go-git/go-billy/v5](https://github.com/go-git/go-billy ) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/go-git/go-billy/releases )
- [Commits](https://github.com/go-git/go-billy/compare/v5.5.0...v5.6.0 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-billy/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 02:44:34 +00:00
dependabot[bot]
9135745434
build(deps): bump github.com/opencontainers/selinux ( #2498 )
...
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/v1.11.0...v1.11.1 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/selinux
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-21 02:45:14 +00:00
Lunny Xiao
b5f901b2d9
Upgrade act from v0.261.2 -> v0.261.3 ( #607 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/607
Reviewed-by: Jason Song <wolfogre@noreply.gitea.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com >
2024-10-18 04:33:57 +00:00
dependabot[bot]
ccd28e7939
build(deps): bump megalinter/megalinter from 8.0.0 to 8.1.0 ( #2485 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 8.0.0 to 8.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/v8.0.0...v8.1.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 02:55:55 +00:00
dependabot[bot]
5031a9f5c1
build(deps): bump google.golang.org/protobuf from 1.34.2 to 1.35.1 ( #2484 )
...
Bumps google.golang.org/protobuf from 1.34.2 to 1.35.1.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 02:27:06 +00:00
ChristopherHX
9142ed9bf7
feat: improve new action cache logging ( #2474 )
...
* feat: improve new action cache logging
* Test logging failure cases
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-10-10 03:07:55 +00:00
ChristopherHX
5ffec84f8d
fix: if condition in composite action misbehaves ( #2473 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-10-10 02:52:09 +00:00
dependabot[bot]
bb9f36d2fd
build(deps): bump golang.org/x/term from 0.24.0 to 0.25.0 ( #2480 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/term/compare/v0.24.0...v0.25.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-10-07 02:48:34 +00:00
dependabot[bot]
ad1cef07f7
build(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.1 ( #2479 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 6.0.1 to 6.1.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v6.0.1...v6.1.1 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 02:23:56 +00:00
github-actions[bot]
03a4480cd0
chore: bump VERSION to 0.2.68
2024-10-01 02:31:30 +00:00
dependabot[bot]
26f132f026
build(deps): bump github.com/rhysd/actionlint from 1.7.1 to 1.7.3 ( #2477 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.7.1 to 1.7.3.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.7.1...v1.7.3 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 02:45:58 +00:00
frank-dspeed
0e2a3e00f5
examples/vm/rootless-docker.md aktualisiert ( #487 )
...
Depending on the VM's existing users the id can vary
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/487
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: frank-dspeed <frank-dspeed@noreply.gitea.com >
Co-committed-by: frank-dspeed <frank-dspeed@noreply.gitea.com >
2024-09-30 01:55:04 +00:00
Schallbert
b282356e9e
update example for docker-compose to allow fix 502 errors in case Gitea not yet ready on runner startup ( #605 )
...
Minimalistic approach: Only adds what is needed to fix #600
Context: https://blog.schallbert.de/en/fix-gitea-runner/
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/605
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: Zettat123 <zettat123@noreply.gitea.com >
Co-authored-by: Schallbert <schallbert@mailbox.org >
Co-committed-by: Schallbert <schallbert@mailbox.org >
2024-09-26 05:54:54 +00:00
Jason Song
b075e3a1d5
Bump goreleaser-action to use v2 by default ( #604 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/604
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com >
2024-09-24 08:46:21 +00:00
Jason Song
e27189ea32
Fix releasing ( #603 )
...
```
[command]/opt/hostedtoolcache/goreleaser-action/2.3.2-pro/x64/goreleaser release --nightly
• by using this software you agree with its EULA, available at https://goreleaser.com/eula
• running goreleaser v2.3.2-pro
• only configurations files on version: 2 are supported, yours is version: 0 , please update your configuration
⨯ release failed after 0s error=only configurations files on version: 2 are supported, yours is version: 0 , please update your configuration
::error::The process '/opt/hostedtoolcache/goreleaser-action/2.3.2-pro/x64/goreleaser' failed with exit code 1
```
```
#20 [linux/arm64 builder 2/5] RUN apk add --no-cache make git
#20 CANCELED
------
> [linux/amd64 builder 5/5] RUN make clean && make build:
0.058 go clean -x -i ./...
0.061 go: go.mod requires go >= 1.22 (running go 1.21.10; GOTOOLCHAIN=local)
0.061 make: *** [Makefile:176: clean] Error 1
------
1 warning found (use docker --debug to expand):
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
Dockerfile:8
--------------------
6 | WORKDIR /opt/src/act_runner
7 |
8 | >>> RUN make clean && make build
9 |
10 | FROM alpine:3.18
--------------------
ERROR: failed to solve: process "/bin/sh -c make clean && make build" did not complete successfully: exit code: 2
::error::buildx failed with: ERROR: failed to solve: process "/bin/sh -c make clean && make build" did not complete successfully: exit code: 2
```
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/603
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com >
2024-09-24 08:22:53 +00:00
Jason Song
59e478464e
Bump act to v0.261.2 ( #602 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/602
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: Zettat123 <zettat123@noreply.gitea.com >
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com >
2024-09-24 07:04:47 +00:00
dependabot[bot]
6657fcae3d
build(deps): bump github.com/creack/pty from 1.1.21 to 1.1.23 ( #2468 )
...
Bumps [github.com/creack/pty](https://github.com/creack/pty ) from 1.1.21 to 1.1.23.
- [Release notes](https://github.com/creack/pty/releases )
- [Commits](https://github.com/creack/pty/compare/v1.1.21...v1.1.23 )
---
updated-dependencies:
- dependency-name: github.com/creack/pty
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-23 02:27:00 +00:00
Ryan
a34d9c6d60
run_context: add GITHUB_RUN_ATTEMPT ( #2458 )
...
* run_context: add GITHUB_RUN_ATTEMPT
Fixes https://github.com/nektos/act/issues/2451
Fixes https://github.com/nektos/act/issues/1615
* fix whitespace
* fix githubcontext
* fix TestSetupEnv
---------
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-09-19 21:36:09 +00:00
Josh Soref
be89cbcf51
Fix install sh usage ( #2454 )
...
* Note that godownloader is deprecated
* Fix usage
* Fix spelling of install
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-09-19 08:47:26 +00:00
sebastien-perpignane
2e117a4d2b
bug/issue #2448 - manage special bash options when no shell is defined ( #2449 )
...
* bash without "-o pipefail" option when "bash" is not explicitely
defined in the workflow
* bonus: fix inverted expected and actual in TestGetGitHubContext assertions
2024-09-19 08:28:45 +00:00
Alexandre Erwin Ittner
013c0d4e18
feat: generate a manual page automatically with cobra/doc ( #2352 )
...
Add a command line switch "--man-page" to print an automatically
generated manual page to stdout.
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-09-11 20:49:13 +00:00
github-actions[bot]
f75a2d8b38
chore: bump VERSION to 0.2.67
2024-09-10 18:17:07 +00:00
ChristopherHX
41430177a2
fix: schema validation for job if functions ( #2446 )
...
* fix: schema validation for job if functions
* Add Tests
* Update pkg/schema/schema.go
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
* Update pkg/schema/schema.go
---------
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-10 11:14:47 -07:00
dependabot[bot]
d8b6f618d9
build(deps): bump golang.org/x/term from 0.23.0 to 0.24.0 ( #2442 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.23.0 to 0.24.0.
- [Commits](https://github.com/golang/term/compare/v0.23.0...v0.24.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 03:08:43 +00:00
ChristopherHX
32b6bb7a25
fix: artifact v4 upload above 8MB ( #2402 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-09-07 23:01:50 +00:00
github-actions[bot]
38e43bd51f
chore: bump VERSION to 0.2.66
2024-09-01 02:29:39 +00:00
dependabot[bot]
c9ae534e53
build(deps): bump golang.org/x/term from 0.22.0 to 0.23.0 ( #2421 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/term/compare/v0.22.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-30 21:15:46 +00:00
dependabot[bot]
ca292cd40d
build(deps): bump megalinter/megalinter from 7.13.0 to 8.0.0 ( #2436 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 7.13.0 to 8.0.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/v7.13.0...v8.0.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 03:14:52 +00:00
dependabot[bot]
f79a13e602
build(deps): bump dario.cat/mergo from 1.0.0 to 1.0.1 ( #2430 )
...
Bumps [dario.cat/mergo](https://github.com/imdario/mergo ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/imdario/mergo/releases )
- [Commits](https://github.com/imdario/mergo/compare/v1.0.0...v1.0.1 )
---
updated-dependencies:
- dependency-name: dario.cat/mergo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 02:55:10 +00:00
benniekiss
60a2fed37b
fix GOOS parsing to match expected GHA RUNNER_OS values ( #2422 )
...
github actions reports RUNNER_OS for linux and windows with capital letters (Linux, Windows). This should increase compatibility when runner uses `-self-hosted`
Co-authored-by: Jason Song <i@wolfogre.com >
2024-08-13 17:33:47 +00:00
ChristopherHX
102e6cbce0
feat: Validate GitHub Actions schema ( #2416 )
...
* feat: Validate GitHub Actions schema
**BREAKING** previously accepted workflows are now invalid
* update code
* fix tests
* Bump docker / fix lint
* fix test action due to moving the file
* remove unused function
* fix parsing additional functions
* fix allow int
* update docker dep, due to linter
2024-08-13 03:40:21 +00:00
github-actions[bot]
bda491e406
chore: bump VERSION to 0.2.65
2024-08-01 02:22:10 +00:00
harryzcy
e1c7b20898
Bump Go to 1.22 and upgrade dependencies ( #580 )
...
Co-authored-by: Chongyi Zheng <git@zcy.dev >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/580
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: harryzcy <harryzcy@noreply.gitea.com >
Co-committed-by: harryzcy <harryzcy@noreply.gitea.com >
2024-07-26 16:00:33 +00:00
Oliver Schlüter
cd8b710f43
remove double negation in --help ( #2405 )
...
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-07-24 12:46:34 +00:00
Chongyi Zheng
a62063b73f
Bump mergo to v1.0.0 with new module URL ( #2403 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-07-24 10:12:40 +00:00
Chongyi Zheng
2feff3f193
build(deps): bump github.com/timshannon/bolthold to v0.0.0-20240314194003-30aac6950928 ( #2248 )
...
* Bump github.com/timshannon/bolthold to v0.0.0-20231129192944-dca5178aa629
* Bump to v0.0.0-20240314194003-30aac6950928
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-07-24 09:53:13 +00:00
Andrii Chyrva
570ccf390e
Fix #2363 . Add /pre- and /post-entrypoint handling ( #2394 )
...
* Fix #2363 . Add /pre- and /post-entrypoint handling
* fix copy paste error
---------
Co-authored-by: Andrii Chyrva <achyrva@hotmail.com >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-07-24 07:41:33 +00:00
dependabot[bot]
1d6a00c05c
build(deps): bump golang.org/x/term from 0.21.0 to 0.22.0 ( #2387 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/term/compare/v0.21.0...v0.22.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 14:57:20 +00:00
dependabot[bot]
21fe90154d
build(deps): bump github.com/adrg/xdg from 0.4.0 to 0.5.0 ( #2398 )
...
Bumps [github.com/adrg/xdg](https://github.com/adrg/xdg ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/adrg/xdg/releases )
- [Commits](https://github.com/adrg/xdg/compare/v0.4.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: github.com/adrg/xdg
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 02:39:03 +00:00
ChristopherHX
3c7eda7f3e
fix: docker stub and add a test for this ( #2355 )
...
* fix: docker stub
* test if you can build run without docker
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-07-10 16:45:07 +00:00
Justus
a1a96da1b3
fix: changed location of actrc in info message ( #2373 )
...
* Changed location of actrc in info message
* Display actrc location dynamically
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-07-10 16:17:18 +00:00
ChristopherHX
6de25a53bc
fix: make node tool non volatile ( #2372 )
...
* fix: make node tool non volatile
Currently downgrading node via setup-node can break later actions
* fix it and lookup on startup
* fix problems
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-07-10 15:58:37 +00:00
ChristopherHX
2ad5ff74f8
fix: add missing service container health check ( #2354 )
...
* fix: Implement missing health ceck for Services
* Add test case
* linter doesn't support min builtin and fix check
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-07-10 15:33:54 +00:00
dependabot[bot]
1ac4b60a06
build(deps): bump megalinter/megalinter from 7.11.1 to 7.13.0 ( #2389 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 7.11.1 to 7.13.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/v7.11.1...v7.13.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-08 02:53:11 +00:00
GitHub Actions
aa54ea9335
chore: bump VERSION to 0.2.64
2024-07-01 02:21:27 +00:00
appleboy
2f78411c3d
ci: standardize code style and update version extraction ( #566 )
...
- Change single quotes to double quotes in YAML files
- Update REPO_VERSION extraction method to use GITHUB_REF_NAME without the 'v' prefix
Signed-off-by: appleboy <appleboy.tw@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/566
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: appleboy <appleboy.tw@gmail.com >
Co-committed-by: appleboy <appleboy.tw@gmail.com >
2024-06-28 07:48:10 +00:00
dependabot[bot]
935e4c37ae
build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 ( #2366 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-06-17 03:07:24 +00:00
dependabot[bot]
8a64a761df
build(deps): bump google.golang.org/protobuf from 1.34.1 to 1.34.2 ( #2365 )
...
Bumps google.golang.org/protobuf from 1.34.1 to 1.34.2.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 02:52:43 +00:00
dependabot[bot]
f9ea5e3b7b
build(deps): bump golang.org/x/term from 0.20.0 to 0.21.0 ( #2360 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/term/compare/v0.20.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-06-10 02:48:34 +00:00
dependabot[bot]
7b950e1d1e
build(deps): bump github.com/docker/cli ( #2358 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 26.1.3+incompatible to 26.1.4+incompatible.
- [Commits](https://github.com/docker/cli/compare/v26.1.3...v26.1.4 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-10 02:20:46 +00:00
Louis Auzuret
e4607fc791
fix: skip service container for empty image ( #2281 )
...
* fix: skip service container for empty image
It is used to skip empty image name in services which is the only way to handle condition services in github action currently https://github.com/actions/runner/issues/822
* test: add testdata for empty image in services
* fix: add missing test call
* fix: wring test call
* fix: invalid without expression
---------
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-06-05 19:16:34 +00:00
ChristopherHX
b5ad3c4acd
fix: composite action input pollution ( #2348 )
...
* fix: composite action input pollution
* fix run steps
* fix missing defaults in post after env cleanup
* fix test to make more sense
* Add tests and simplify change
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-06-05 14:44:44 +00:00
ChristopherHX
b917ecc184
fix: update reusable workflow input handling ( #2349 )
...
* update reusable workflow input handling
* make test stricter
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-06-05 14:30:12 +00:00
Meng Zhuo
55a8f9afc5
Add riscv64 binary release ( #2350 )
2024-06-05 14:13:59 +00:00
dependabot[bot]
71a6fa0b42
build(deps): bump github.com/rhysd/actionlint from 1.7.0 to 1.7.1 ( #2346 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 02:51:19 +00:00
GitHub Actions
c959fdd588
chore: bump VERSION to 0.2.63
2024-06-01 02:17:21 +00:00
ChristopherHX
4977ba910c
Meta-copy-symlinks-new-actions-cache ( #2337 )
...
* meta: copy symlinks
* copy file (old style)
* copy files (new styles)
* avoid spelling error detection
* add error
* fix
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-05-29 00:12:32 +00:00
rowan-allspice
d1d3cad4b0
feat: allow graceful shutdowns ( #546 )
...
Add a `Shutdown(context.Context) error` method to the Poller. Calling this method will first shutdown all active polling, preventing any new jobs from spawning. It will then wait for either all jobs to finish, or for the context to be cancelled. If the context is cancelled, it will then force all jobs to end, and then exit.
Fixes https://gitea.com/gitea/act_runner/issues/107
Co-authored-by: Rowan Bohde <rowan.bohde@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/546
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: rowan-allspice <rowan-allspice@noreply.gitea.com >
Co-committed-by: rowan-allspice <rowan-allspice@noreply.gitea.com >
2024-05-27 07:38:55 +00:00
dependabot[bot]
ecd7875c00
build(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.1 ( #2340 )
...
Bumps google.golang.org/protobuf from 1.33.0 to 1.34.1.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-27 02:56:40 +00:00
dependabot[bot]
77acf9d74f
build(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.0 to 5.2.1 ( #2341 )
...
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt ) from 5.2.0 to 5.2.1.
- [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.0...v5.2.1 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-27 02:41:55 +00:00
ChristopherHX
e1e5671e3d
Actions Artifacts v4 backend ( #2224 )
...
* Actions Artifacts v4 backend
* lint
* fix it now
* remove protofile, to make linter not complain
* sync changes
* add delete
* import auth test from gitea
* add more tests
* codecov ignore protobuf
2024-05-20 20:00:04 +00:00
dependabot[bot]
8acde99bfa
build(deps): bump github.com/docker/docker ( #2333 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 26.1.2+incompatible to 26.1.3+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v26.1.2...v26.1.3 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-05-20 02:45:48 +00:00
dependabot[bot]
6db96131f0
build(deps): bump github.com/docker/cli ( #2332 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 26.1.2+incompatible to 26.1.3+incompatible.
- [Commits](https://github.com/docker/cli/compare/v26.1.2...v26.1.3 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-20 02:33:59 +00:00
Jack Green
070c257640
Add documentation for dryrun parameter ( #2311 )
...
The `dryrun` paramater's documentation is unhelpful (`dryrun mode`).
In the absense of proper documentation, [this definition from a comment on this topic](https://github.com/nektos/act/issues/268#issuecomment-1054834689 ) should be used.
Fixes: https://github.com/nektos/act/issues/268
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-05-13 20:59:28 +00:00
Andreas Taylor
657a3d768c
Fix for issue 2232: Many lines of "Could not find any stages to run" on run ( #2272 )
...
* Initial commit
* Put the tests back
* Remove unnecessary checks
* Remove unneeded check and fix test code
---------
Co-authored-by: Jason Song <i@wolfogre.com >
2024-05-13 15:41:28 +00:00
dependabot[bot]
69ef192bc2
build(deps): bump github.com/docker/cli ( #2325 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 26.1.1+incompatible to 26.1.2+incompatible.
- [Commits](https://github.com/docker/cli/compare/v26.1.1...v26.1.2 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-05-13 03:56:04 +00:00
dependabot[bot]
2c9c489d11
build(deps): bump github.com/rhysd/actionlint from 1.6.27 to 1.7.0 ( #2326 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.27 to 1.7.0.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.27...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-05-13 03:41:07 +00:00
dependabot[bot]
218edca549
build(deps): bump go.etcd.io/bbolt from 1.3.9 to 1.3.10 ( #2327 )
...
Bumps [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt ) from 1.3.9 to 1.3.10.
- [Release notes](https://github.com/etcd-io/bbolt/releases )
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.3.9...v1.3.10 )
---
updated-dependencies:
- dependency-name: go.etcd.io/bbolt
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-05-13 03:28:10 +00:00
dependabot[bot]
3429f1ace8
build(deps): bump github.com/docker/docker ( #2324 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 26.1.1+incompatible to 26.1.2+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v26.1.1...v26.1.2 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 03:11:29 +00:00
dependabot[bot]
1acda5f65b
build(deps): bump golangci/golangci-lint-action from 5.3.0 to 6.0.1 ( #2323 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 5.3.0 to 6.0.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v5.3.0...v6.0.1 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 02:25:48 +00:00
rowan-allspice
1735b26e66
Don't log job output when debug logging is not enabled ( #543 )
...
We wanted the ability to disable outputting the logs from the individual job to the console. This changes the logging so that job logs are only output to the console whenever debug logging is enabled in `act_runner`, while still allowing the `Reporter` to receive these logs and forward them to Gitea when debug logging is not enabled.
Co-authored-by: Rowan Bohde <rowan.bohde@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/543
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: rowan-allspice <rowan-allspice@noreply.gitea.com >
Co-committed-by: rowan-allspice <rowan-allspice@noreply.gitea.com >
2024-05-07 05:58:33 +00:00
dependabot[bot]
6bbef14843
build(deps): bump golangci/golangci-lint-action from 5.0.0 to 5.3.0 ( #2319 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 5.0.0 to 5.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v5.0.0...v5.3.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-05-06 03:02:14 +00:00
dependabot[bot]
e6f8d89187
build(deps): bump github.com/docker/cli ( #2318 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 26.1.0+incompatible to 26.1.1+incompatible.
- [Commits](https://github.com/docker/cli/compare/v26.1.0...v26.1.1 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-05-06 02:45:19 +00:00
dependabot[bot]
31e11d2b56
build(deps): bump golang.org/x/term from 0.19.0 to 0.20.0 ( #2316 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/term/compare/v0.19.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-05-06 02:28:34 +00:00
dependabot[bot]
42405f4ec4
build(deps): bump github.com/docker/docker ( #2317 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 26.1.0+incompatible to 26.1.1+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v26.1.0...v26.1.1 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 02:14:07 +00:00
GitHub Actions
988556065a
chore: bump VERSION to 0.2.62
2024-05-01 02:16:08 +00:00
dependabot[bot]
390d94d0b2
build(deps): bump megalinter/megalinter from 7.10.0 to 7.11.1 ( #2309 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 7.10.0 to 7.11.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/v7.10.0...v7.11.1 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-04-29 03:14:06 +00:00
dependabot[bot]
53a61fe5c9
build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.0.0 ( #2310 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v4.0.0...v5.0.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 03:01:31 +00:00
dependabot[bot]
47486a6b3d
build(deps): bump github.com/docker/cli ( #2307 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 26.0.2+incompatible to 26.1.0+incompatible.
- [Commits](https://github.com/docker/cli/compare/v26.0.2...v26.1.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-04-29 02:45:23 +00:00
dependabot[bot]
ac42511d66
build(deps): bump github.com/docker/docker ( #2306 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 26.0.2+incompatible to 26.1.0+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v26.0.2...v26.1.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-04-29 02:32:23 +00:00
dependabot[bot]
992c9d9e40
build(deps): bump github.com/moby/buildkit from 0.13.1 to 0.13.2 ( #2308 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.13.1...v0.13.2 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 02:20:01 +00:00
dependabot[bot]
213756bb92
build(deps): bump github.com/docker/cli ( #2302 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 26.0.1+incompatible to 26.0.2+incompatible.
- [Commits](https://github.com/docker/cli/compare/v26.0.1...v26.0.2 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 03:06:14 +00:00
Yaroslav Halchenko
843cd94cc2
Add codespell support (config, workflow to detect/not fix) and make it fix few typos ( #2296 )
...
* Add github action to codespell master on push and PRs
* Add codespell config with few custom skips
* [DATALAD RUNCMD] Do interactive fixing of leftover ambigous typos
=== Do not change lines below ===
{
"chain": [],
"cmd": "codespell -w -i 3 -C 2 ./pkg/common/git/git.go",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
* exclude pkg/runner/hashfiles/index.js
* [DATALAD RUNCMD] run codespell throughout fixing typos automagically
=== Do not change lines below ===
{
"chain": [],
"cmd": "codespell -w",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-04-19 09:22:45 +00:00
dependabot[bot]
c028aa8e5a
build(deps): bump github.com/docker/docker ( #2299 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 26.0.1+incompatible to 26.0.2+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v26.0.1...v26.0.2 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-18 22:08:21 +00:00
dependabot[bot]
1f2e92e571
build(deps): bump github.com/docker/docker ( #2295 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 26.0.0+incompatible to 26.0.1+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v26.0.0...v26.0.1 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-04-15 03:10:29 +00:00
dependabot[bot]
d153616a41
build(deps): bump megalinter/megalinter from 7.9.0 to 7.10.0 ( #2294 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 7.9.0 to 7.10.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/v7.9.0...v7.10.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 02:53:27 +00:00
dependabot[bot]
2d4a9ea886
build(deps): bump megalinter/megalinter from 7.8.0 to 7.9.0 ( #2216 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 7.8.0 to 7.9.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/v7.8.0...v7.9.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Jason Song <i@wolfogre.com >
2024-04-14 14:15:43 +00:00
dependabot[bot]
82cc57f7b3
build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 ( #2215 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.7.0 to 4.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.7.0...v4.0.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Jason Song <i@wolfogre.com >
2024-04-14 13:49:24 +00:00
dependabot[bot]
745218055e
build(deps): bump golang.org/x/term from 0.18.0 to 0.19.0 ( #2278 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/term/compare/v0.18.0...v0.19.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
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 >
2024-04-12 19:26:35 +00:00
dependabot[bot]
c82a9ea855
build(deps): bump github.com/docker/cli ( #2291 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 26.0.0+incompatible to 26.0.1+incompatible.
- [Commits](https://github.com/docker/cli/compare/v26.0.0...v26.0.1 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-04-12 18:41:49 +00:00
ChristopherHX
8cdc3fcbdf
Update action.yml ( #2293 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-04-12 06:31:39 +00:00
dependabot[bot]
2a2cd7d5bc
build(deps): bump github.com/moby/buildkit from 0.12.5 to 0.13.1 ( #2253 )
...
* build(deps): bump github.com/moby/buildkit from 0.12.5 to 0.13.1
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.12.5 to 0.13.1.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.12.5...v0.13.1 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* update error messages
* remove point
---------
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 >
2024-04-11 22:39:17 +00:00
Jason Song
2df924c509
Bump docker to v26 ( #2289 )
...
* chore: bump docker
* chore: bump more
* chore: update codes
2024-04-11 08:29:02 -07:00
Lunny Xiao
65ed62d2f5
Upgrade dependencies ( #537 )
...
Patially fix #513
Co-authored-by: Jason Song <i@wolfogre.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/537
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com >
2024-04-11 04:36:00 +00:00
ChristopherHX
5a9dd3d0ea
fix: skipped jobs have no result ( #2276 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-04-11 02:31:18 +00:00
Josh Soref
89e3c14649
fix: favor command-line over files ( #2274 )
...
This impacts:
- envs
- inputs
- secrets
- vars
2024-04-10 21:49:39 +00:00
lvyaoting
ac13a1b20d
chore: fix some comments ( #2279 )
...
Signed-off-by: lvyaoting <lvyaoting@outlook.com >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-04-10 19:58:56 +00:00
dependabot[bot]
06a1d69f8e
build(deps): bump actions/cache from 3 to 4 ( #2163 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
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 >
2024-04-10 12:55:24 +00:00
Jason Song
cdc22da7f0
Remove local action cache if remote has changed ( #2284 )
...
* fix: remove local cache if remote is changed
* test: TestCloneIfRequired
2024-04-10 12:41:02 +00:00
Jason Song
d2c341332b
chore: fix codecov ( #2288 )
2024-04-10 10:32:47 +00:00
Jason Song
ec03f19650
Bump act to v0.261.1 ( #535 )
...
Related to https://gitea.com/gitea/act/compare/v0.261.0...v0.261.1
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/535
2024-04-10 07:07:56 +00:00
Jason Song
8567324a19
Release nightly versions for tags ( #536 )
...
Or the latest nightly version could be "v0.2.8-4-gbe2df36" even though there's "v0.2.9", although they are for the same commit.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/536
2024-04-10 07:06:08 +00:00
Jason Song
be2df361ef
Ensure declare to use new labels ( #530 )
...
Ensure "declare" is supported, to use new labels, see https://gitea.com/gitea/act_runner/pulls/529
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/530
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
2024-04-02 07:39:40 +00:00
Jason Song
a5085dde0c
Use gitea/runner-images by default ( #529 )
...
See https://gitea.com/gitea/runner-images
Also give up ubuntu-18.04 since it's too old. And enable force_pull by default to check new versions of images.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/529
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
2024-04-02 07:38:14 +00:00
Jason Song
cef86d1140
Bump act to v0.260.0 ( #528 )
...
Related to:
- https://gitea.com/gitea/act/pulls/104
- https://gitea.com/gitea/act/issues/102
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/528
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
2024-04-02 06:25:33 +00:00
dependabot[bot]
e3da912e2b
build(deps): bump github.com/go-git/go-git/v5 from 5.11.0 to 5.12.0 ( #2269 )
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.11.0 to 5.12.0.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.11.0...v5.12.0 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 02:40:14 +00:00
GitHub Actions
361b7e9f1a
chore: bump VERSION to 0.2.61
2024-04-01 02:16:09 +00:00
Jason Song
94c45acf6b
Use node 20 by default ( #526 )
...
Because Octokit requires Node 18 or higher now.
See https://github.com/octokit/octokit.js/#fetch-missing .
However, for existing runners, users should manually modify `labels` in the `.runner` file or `runner.labels` in the `config.yaml` file to update. Don't forget to restart.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/526
Reviewed-by: sillyguodong <sillyguodong@noreply.gitea.com >
2024-03-29 03:03:26 +00:00
ChristopherHX
f825e42ce2
fix: cache adjust restore order of exact key matches ( #2267 )
...
* wip: adjust restore order
* fixup
* add tests
* cleanup
* fix typo
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-03-29 02:07:20 +00:00
Jason Collins
d9a19c8b02
Trivial: reduce log spam. ( #2256 )
...
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-03-28 23:28:48 +00:00
James Kang
3949d74af5
chore: remove repetitive words ( #2259 )
...
Signed-off-by: majorteach <csgcgl@126.com >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-03-28 23:14:53 +00:00
Jason Song
b9382a2c4e
Support overwriting caches ( #2265 )
...
* feat: support overwrite caches
* test: fix case
* test: fix get_with_multiple_keys
* chore: use atomic.Bool
* test: improve get_with_multiple_keys
* chore: use ping to improve path
* fix: wrong CompareAndSwap
* test: TestHandler_gcCache
* chore: lint code
* chore: lint code
2024-03-28 16:42:02 +00:00
Jason Song
f56dd65ff6
test: use ping to improve network test ( #2266 )
2024-03-28 11:56:26 +00:00
Jason Song
1760899d27
Set gitea token to release ( #524 )
...
Follow a7eca813ea/.gitea/workflows/release-tag.yml (L39)
It works before unexpectedly because of https://github.com/nektos/act/pull/2089
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/524
2024-03-27 10:51:45 +00:00
Zettat123
a7eca813ea
Bump act to v0.260.2 ( #523 )
...
Related to
- https://gitea.com/gitea/act/pulls/86
- https://gitea.com/gitea/act/pulls/103
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/523
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2024-03-27 10:25:23 +00:00
Jason Song
23ec12b8cf
Bump act to v0.260.0 ( #522 )
...
Related to https://gitea.com/gitea/act/issues/99 .
Also update other main dependencies.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/522
Reviewed-by: Zettat123 <zettat123@noreply.gitea.com >
2024-03-27 03:17:04 +00:00
Zettat123
a1fc2b3ca7
Improve the explanation of workdir_parent config ( #519 )
...
Fix #512
act_runner adds a '/' before the path (see 5977042b86/internal/app/run/runner.go (L186) ) . So `workdir_parent` doesn't need to have the prefix '/'.
If `workdir_parent` has the prefix '/', errors will occur when reading files from the job container.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/519
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2024-03-22 02:30:31 +00:00
dependabot[bot]
069720abff
build(deps): bump github.com/docker/docker ( #2252 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 24.0.7+incompatible to 24.0.9+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v24.0.7...v24.0.9 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-20 17:37:01 +00:00
Jason Song
5977042b86
Bump act to v0.259.2 ( #515 )
...
Related to https://gitea.com/gitea/act/pulls/97
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/515
Reviewed-by: silverwind <silverwind@noreply.gitea.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com >
2024-03-14 18:58:43 +00:00
Jason Song
6bc19cbc33
Improve workflows ( #516 )
...
Starting from setup-go v4, it will cache build dependencies by default, see https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs .
Also bump some versions.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/516
Reviewed-by: silverwind <silverwind@noreply.gitea.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Jason Song <i@wolfogre.com >
Co-committed-by: Jason Song <i@wolfogre.com >
2024-03-14 13:27:47 +00:00
dependabot[bot]
8c83d57212
build(deps): bump golang.org/x/term from 0.17.0 to 0.18.0 ( #2244 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/term/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 02:28:21 +00:00
ChristopherHX
119ceb81d9
fix: rootless permission bits (new actions cache) ( #2242 )
...
* fix: rootless permission bits (new actions cache)
* add test
* fix lint / more tests
2024-03-08 01:25:03 +00:00
huajin tong
352ad41ad2
fix function name in comment ( #2240 )
...
Signed-off-by: thirdkeyword <fliterdashen@gmail.com >
2024-03-06 14:20:06 +00:00
Zettat123
75006a59cc
Support cloning remote actions from insecure Gitea instances ( #508 )
...
Follow https://gitea.com/gitea/act/pulls/92
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/508
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
2024-03-06 06:10:37 +00:00
ChristopherHX
75e4ad93f4
fix: docker buildx cache restore not working ( #2236 )
...
* To take effect artifacts v4 pr is needed with adjusted claims
2024-03-05 06:04:54 +00:00
dependabot[bot]
934b13a7a1
build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ( #2235 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 03:08:44 +00:00
SupremeVoid
4da97f53de
Bump act to v0.259.0 ( #491 )
...
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/491
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: silverwind <silverwind@noreply.gitea.com >
Co-authored-by: SupremeVoid <supremevoid@t-online.de >
Co-committed-by: SupremeVoid <supremevoid@t-online.de >
2024-03-03 16:34:37 +00:00
sillyguodong
45270656df
Set the status of steps to skipped if job is skipped ( #500 )
...
If a job is detected as skipped, its steps should also be `skipped`.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/500
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: sillyguodong <gedong_1994@163.com >
Co-committed-by: sillyguodong <gedong_1994@163.com >
2024-03-01 08:33:32 +00:00
GitHub Actions
d3c8664d3d
chore: bump VERSION to 0.2.60
2024-03-01 02:12:58 +00:00
dependabot[bot]
c79f59f802
build(deps): bump go.etcd.io/bbolt from 1.3.8 to 1.3.9 ( #2229 )
...
Bumps [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt ) from 1.3.8 to 1.3.9.
- [Release notes](https://github.com/etcd-io/bbolt/releases )
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.3.8...v1.3.9 )
---
updated-dependencies:
- dependency-name: go.etcd.io/bbolt
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 03:18:59 +00:00
dependabot[bot]
68597d68f6
build(deps): bump github.com/rhysd/actionlint from 1.6.26 to 1.6.27 ( #2228 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.26 to 1.6.27.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.26...v1.6.27 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 03:02:49 +00:00
ChristopherHX
e1cd7c915f
fix: logo and demo asset urls ( #2226 )
2024-02-24 02:47:55 +00:00
ChristopherHX
ac6a465e27
feat: Test writing remote Actions locally ( #2155 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-02-23 07:40:14 +00:00
dependabot[bot]
9e6ce121bc
build(deps): bump github.com/opencontainers/image-spec ( #2223 )
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.1.0-rc6 to 1.1.0.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/compare/v1.1.0-rc6...v1.1.0 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 03:04:51 +00:00
Christopher Homberger
e14f42c40a
Add ACTIONS_RESULTS_URL to env ( #473 )
...
actions/upload-artifact@v4 and actions/download-artifact@v4 depend on this variable
BaseUrl in a url are ignored by the nodejs code of the new actions, so this change doesn't append the path of the older `ACTIONS_RUNTIME_URL`.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/473
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 >
2024-02-19 02:30:54 +00:00
ChristopherHX
5601fb0e13
refactor: simpilfy go-git cache ( #2208 )
2024-02-18 03:53:22 +00:00
ChristopherHX
852959e1e1
feat: offline mode for new action cache ( #2173 )
...
* Try fetch update of the action, otherwise use cached version
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-02-12 12:51:37 +00:00
dependabot[bot]
27eb79bb5a
build(deps): bump github.com/opencontainers/image-spec ( #2214 )
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.1.0-rc3 to 1.1.0-rc6.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/compare/v1.1.0-rc3...v1.1.0-rc6 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-02-12 02:26:14 +00:00
dependabot[bot]
8277584f00
build(deps): bump golang.org/x/term from 0.16.0 to 0.17.0 ( #2213 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/term/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 02:14:13 +00:00
Christopher Homberger
e6630e2e36
Use artifacts v4 jwt if available ( #471 )
...
Needs https://github.com/go-gitea/gitea/pull/28885 to provide jwt if sent by server
Could fix #459 , but that has not been verified.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/471
Reviewed-by: delvh <dev.lh@web.de >
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 >
2024-02-08 02:43:39 +00:00
Kristofer
f2e65e1d40
fix: Rootless error concerning /var/run/docker.sock ( #2181 )
...
* Use same socket defaulting strategy every time
* Always default to DOCKER_HOST
* Add more debug logs
* Commenting, and massively simplified socket logic
* Rever to upstream run_context.go
* Fix EACCESS error regarding /opt/hostedtoolcache
* Revert "Fix EACCESS error regarding /opt/hostedtoolcache"
This reverts commit b2a8394d3358e1b5aab9dabe555d4a3f2bf0b2f9.
* Revert CLI debug logs
* Move socket and host handling to own function, and simplify logic
* Move to container package
* Make return be a struct
* Write tests to verify functionality
* Fix DOCKER_HOST being set to the string "DOCKER_HOST"
* Always use struct
* Use socketLocation, for DOCKER_HOST and more defaults
* Fixup arguments to GetSocketAndHost in test and root.go
* Un-struct hasDockerHost
* Fixup logic and set hasDockerHost
* Minor scoping & variable name change
* Move functionality to a new file
* Rename corresponding test
* Reviewfix
* Fix DOCKER_HOST expected
* Fix test assertions and add comments
* Swap comparison actual, expected
* Fixed no-DOCKER_HOST env test
* Fixed default socket test
* Add test to verify review comments
* Add more test for greater test coverage
* Consistent comment references
* Fix bug found while writing tests
* Passing tests
* NoMountNoHost testfix
* Rename test appropriately
* NoMount testfix
* Fixed OnlySocket
* Swap expected <-> actual in tests
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-02-06 17:18:11 +00:00
ChristopherHX
6e80373eb6
Shrink Readme ( #2198 )
...
nektosact.com should become the single source of truth
2024-02-06 08:22:01 -08:00
GitHub Actions
b7a8145d09
chore: bump VERSION to 0.2.59
2024-02-01 22:32:06 +00:00
Milo Moisson
12c0c4277a
feat: correctly use the xdg library, which has the side effect to fix the config survey ( #2195 )
2024-02-01 13:57:16 -08:00
GitHub Actions
3ed38d8e8b
chore: bump VERSION to 0.2.58
2024-02-01 02:12:33 +00:00
dependabot[bot]
0dbf44c657
build(deps): bump github.com/opencontainers/runc from 1.1.7 to 1.1.12 ( #2187 )
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.1.7 to 1.1.12.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.12/CHANGELOG.md )
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.7...v1.1.12 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-31 23:56:50 +00:00
dependabot[bot]
6dcf9bc6e6
build(deps): bump github.com/moby/buildkit from 0.11.5 to 0.12.5 ( #2188 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.11.5 to 0.12.5.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.11.5...v0.12.5 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-31 23:41:20 +00:00
dependabot[bot]
df61c7fcdb
build(deps): bump github.com/containerd/containerd from 1.6.19 to 1.6.26 ( #2189 )
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.6.19 to 1.6.26.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.6.19...v1.6.26 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-31 23:24:57 +00:00
dependabot[bot]
36e0261150
build(deps): bump github.com/opencontainers/image-spec ( #2167 )
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.1.0-rc5 to 1.1.0-rc.6.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/compare/v1.1.0-rc5...v1.1.0-rc6 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-31 23:11:39 +00:00
dependabot[bot]
46dc2ffe80
build(deps): bump github.com/moby/buildkit from 0.12.4 to 0.12.5 ( #2186 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.12.4 to 0.12.5.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.12.4...v0.12.5 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-31 22:58:02 +00:00
Markus Wolf
054caec791
fix: use correct path to toolcache ( #1494 )
...
The toolcache on GitHub Actions need to be in
/opt/hostedtoolcache. This is the case for all
environment variables set by act, but it's not the
case for the volume mounted into the container.
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-01-30 22:43:52 +00:00
davidfrickert
f1f9142a3c
fix: Exit docker container on any process exit ( #462 )
...
## Description
Issue described in #460
## Changes
- Edited `supervisord.conf` to exit if it detects any of the supervisored processes exiting.
- minor text fix
## Notes
Without this change (or something similar), if act_runner fails, then the container will stay up as a zombie container - it does nothing and does not restart. After this change, if act_runner fails (e.g. due to Gitea instance being down), then supervisord will exit and the container will be restarted.
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/462
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: davidfrickert <david.frickert@protonmail.com >
Co-committed-by: davidfrickert <david.frickert@protonmail.com >
2024-01-30 13:47:42 +00:00
ChristopherHX
5a80a044f9
refactor: filecollector into new package ( #2174 )
...
* refactor: filecollector into new package
* Add test for symlinks
* add test fix bug of GetContainerArchive
* add test data
2024-01-30 00:46:45 +00:00
dependabot[bot]
4ca35d2192
build(deps): bump codecov/codecov-action from 3.1.4 to 3.1.5 ( #2175 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.4...v3.1.5 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 02:34:33 +00:00
Josh Soref
5e0d29d665
fix: improve warning about remote not found ( #2169 )
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-01-28 19:21:21 +00:00
ChristopherHX
6dd67253bc
fix: improve new-action-cache fetch failure error ( #2172 )
...
- include repoURL and repoRef in error
- map NoErrAlreadyUptodate to `couldn't find remote ref` for branchOrtag
fetch request
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-01-28 17:02:15 +00:00
ChristopherHX
09d4b5d6ad
fix: subpath actions via new artifact cache ( #2170 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-01-28 16:49:47 +00:00
ChristopherHX
a6ec2c129a
fix: improve action not found error ( #2171 )
2024-01-28 16:37:19 +00:00
Eng Zer Jun
424fd5e02b
refactor(cmd/root): simplify parseEnvs ( #2162 )
...
Prior to this commit, `parseEnvs` accept two parameters:
1. env []string
2. envs map[string]string
`parseEnvs` then do a `nil` check for `env`. However, we never pass a
`nil` `env` to `parseEnvs` in `newRunCommand`.
This commit simplify the `parseEnvs` function to accept just one
`env []string` parameter and return the result as `map[string]string`
instead.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2024-01-24 03:06:31 +00:00
Matthew
6a8c42ac53
Add containerd's normalized architectures to archMapper ( #2168 )
2024-01-24 02:44:48 +00:00
dependabot[bot]
c215e0888a
build(deps): bump megalinter/megalinter from 7.7.0 to 7.8.0 ( #2164 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 7.7.0 to 7.8.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/v7.7.0...v7.8.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 02:22:08 +00:00
Milo Moisson
6091094e14
fix: write default config in XDG config dir to avoid cluttering the HOME directory by default ( #2140 )
...
Co-authored-by: Casey Lee <cplee@nektos.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-01-21 20:16:06 +00:00
胖梁
8072a00a77
WorkflowDispatchConfig supports multiple yaml node kinds ( #2123 )
...
* WorkflowDispatchConfig supports ScalarNode and SequenceNode yaml node kinds
* Avoid using log.Fatal
* package slices is not in golang 1.20
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-01-20 14:07:36 +00:00
Kristoffer
7f7d84b10f
fix: match cache restore-keys in creation reverse order ( #2153 )
...
* Match cache restore-keys in creation reverse order
* Match full prefix when selecting cache
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-01-20 12:11:50 +00:00
dependabot[bot]
15bb54f14e
build(deps): bump actions/upload-artifact from 3 to 4 ( #2133 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <cplee@nektos.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-01-20 00:32:38 +00:00
TKaxv_7S
f055d4ae60
feat: support offline mode ( #2128 )
...
* Add: Actions Offline Mode
* Add: Actions Offline Mode
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-01-20 00:20:15 +00:00
ChristopherHX
f7a846d2f5
feat: cli option to enable the new action cache ( #1954 )
...
* Enable the new action cache
* fix
* fix: CopyTarStream (Docker)
* suppress panic in test
* add a cli option for opt in
* fixups
* add package
* fix
* rc.Config nil in test???
* add feature flag
* patch
* Fix respect --action-cache-path
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
* add remote reusable workflow to ActionCache
* fixup
---------
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-01-19 23:49:35 +00:00
Casey Lee
cd40f3fe9b
ci: automatic merge PRs created by a maintainer and approved by 1 other maintainer ( #2156 )
2024-01-19 07:04:05 -08:00
Leonardo Taccari
adbe229fcb
Add support for NetBSD ( #2023 )
...
NetBSD can run Docker CLI and then use Docker on some remote machine
via DOCKER_HOST.
(This can be probably extended to all other Unix-es capable of running
just Docker CLI.)
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-01-08 19:26:03 +00:00
dependabot[bot]
96d6cf8b2c
build(deps): bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 ( #2149 )
...
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl ) from 1.3.3 to 1.3.7.
- [Release notes](https://github.com/cloudflare/circl/releases )
- [Commits](https://github.com/cloudflare/circl/compare/v1.3.3...v1.3.7 )
---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 17:01:44 +00:00
dependabot[bot]
ef5746ba74
build(deps): bump golang.org/x/term from 0.15.0 to 0.16.0 ( #2148 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/term/compare/v0.15.0...v0.16.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 02:23:22 +00:00
GitHub Actions
4fae81efe4
chore: bump VERSION to 0.2.57
2024-01-01 02:17:35 +00:00
Alex Lau(AvengerMoJo)
f17cad1bbe
Update the docker image rebuild flag for config file and example gitea/act_runner#390 ( #391 )
...
this is a PR for the issue gitea/act_runner#390
It adding configuration for dockerfile container image to rebuild base on the configuration flag force_rebuild in config.yaml
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/391
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Alex Lau(AvengerMoJo) <avengermojo@gmail.com >
Co-committed-by: Alex Lau(AvengerMoJo) <avengermojo@gmail.com >
2023-12-20 07:13:33 +00:00
hakito
daf52d0e62
Sanitize UFT-8 content in logs ( #453 )
...
I accidently closed my previous PR #384
This PR replaces invalid UTF-8 character in a stream with `?` character. On Windows Server 2019 other characters are replaced by `?` as well so it's consistent.
fixes #452
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/453
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: hakito <hakito@noreply.gitea.com >
Co-committed-by: hakito <hakito@noreply.gitea.com >
2023-12-20 07:06:46 +00:00
dependabot[bot]
238a495579
build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 ( #2134 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 21:45:57 +00:00
dependabot[bot]
74dcce467d
build(deps): bump github.com/containerd/containerd from 1.7.2 to 1.7.11 ( #2136 )
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.7.2 to 1.7.11.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.7.2...v1.7.11 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 21:32:29 +00:00
GitHub Actions
0c60f9749a
chore: bump VERSION to 0.2.56
2023-12-17 22:10:10 +00:00
dependabot[bot]
6b0ef97c52
build(deps): bump actions/stale from 8 to 9 ( #2120 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 8 to 9.
- [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/v8...v9 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-12-17 09:14:56 +00:00
raffis
0806c8b109
feat: support config env expansion ( #2063 )
...
Signed-off-by: Raffael Sahli <raffael.sahli@doodle.com >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-12-17 08:59:13 +00:00
dependabot[bot]
0dfb06748e
build(deps): bump actions/checkout from 3 to 4 ( #1998 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [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/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-12-16 23:47:32 +00:00
dependabot[bot]
603b44b585
build(deps): bump github.com/creack/pty from 1.1.20 to 1.1.21 ( #2099 )
...
Bumps [github.com/creack/pty](https://github.com/creack/pty ) from 1.1.20 to 1.1.21.
- [Release notes](https://github.com/creack/pty/releases )
- [Commits](https://github.com/creack/pty/compare/v1.1.20...v1.1.21 )
---
updated-dependencies:
- dependency-name: github.com/creack/pty
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2023-12-16 23:18:33 +00:00
Jon Jensen
00fbfa754c
Fix noisy runs-on error logging ( #2102 )
...
Move the logging back up a level to fix a minor logging issue introduced in #2088
`RunContext`s for composite actions have dummy/blank `Job`s with no `runs-on`,
meaning their calls to `withGithubEnv` would result in an inaccurate log message
complaining that `'runs-on' key not defined in ...`
Co-authored-by: Jason Song <i@wolfogre.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-12-16 23:04:54 +00:00
ChristopherHX
1b10028447
fix: IsHost is defined as false on windows ( #2093 )
...
* fix: IsHost is defined as false on windows
* Update docker_run.go
* Update docker_run.go
2023-12-16 14:46:17 -08:00
dependabot[bot]
9cecf94039
build(deps): bump actions/setup-go from 4 to 5 ( #2118 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-12-11 03:07:56 +00:00
dependabot[bot]
29f4123b5c
build(deps): bump megalinter/megalinter from 7.6.0 to 7.7.0 ( #2119 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 7.6.0 to 7.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/v7.6.0...v7.7.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 02:53:36 +00:00
dependabot[bot]
85c3b3b541
build(deps): bump github.com/go-git/go-git/v5 from 5.10.1 to 5.11.0 ( #2117 )
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.10.1 to 5.11.0.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.10.1...v5.11.0 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 02:29:35 +00:00
dependabot[bot]
2b47c99bb7
build(deps): bump golang.org/x/term from 0.14.0 to 0.15.0 ( #2112 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/term/compare/v0.14.0...v0.15.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 02:49:24 +00:00
dependabot[bot]
3c405a0d94
build(deps): bump github.com/go-git/go-git/v5 from 5.10.0 to 5.10.1 ( #2114 )
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.10.0 to 5.10.1.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.10.0...v5.10.1 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-12-04 02:37:03 +00:00
dependabot[bot]
899a1f206e
build(deps): bump github.com/moby/buildkit from 0.12.3 to 0.12.4 ( #2113 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.12.3 to 0.12.4.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.12.3...v0.12.4 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 02:24:02 +00:00
GitHub Actions
95ff5bf299
chore: bump VERSION to 0.2.55
2023-12-01 02:17:43 +00:00
Renovate Bot
8c8a8ce401
fix(deps): update module github.com/avast/retry-go/v4 to v4.5.1 ( #411 )
...
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2023-11-28 05:46:05 +00:00
Renovate Bot
08c681be0c
fix(deps): update module golang.org/x/time to v0.5.0 ( #429 )
...
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2023-11-28 05:45:28 +00:00
Renovate Bot
91bfe4c186
fix(deps): update module golang.org/x/time to v0.4.0 ( #424 )
...
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2023-11-26 00:01:51 +00:00
Renovate Bot
825c6f97b7
fix(deps): update module github.com/mattn/go-isatty to v0.0.20 ( #414 )
...
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2023-11-24 08:33:37 +00:00
Renovate Bot
2f3e5c7125
fix(deps): update module github.com/docker/docker to v24.0.7+incompatible ( #413 )
...
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2023-11-24 08:27:38 +00:00
Renovate Bot
4d9de6ca8c
fix(deps): update module github.com/spf13/cobra to v1.8.0 ( #416 )
...
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2023-11-24 08:27:07 +00:00
Renovate Bot
feb39666cc
fix(deps): update module code.gitea.io/gitea-vet to v0.2.3 ( #410 )
...
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2023-11-24 08:26:24 +00:00
techknowlogick
61cd71c9f8
bump to actions/checkout v4
2023-11-24 03:06:21 +00:00
Renovate Bot
0adfc1c7cc
chore(deps): update actions/setup-go action to v4 ( #418 )
...
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2023-11-24 03:05:33 +00:00
Renovate Bot
e3c68668fa
chore(deps): update docker/build-push-action action to v5 ( #419 )
...
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2023-11-24 03:05:28 +00:00
Renovate Bot
f1b27d5274
chore(deps): update docker/login-action action to v3 ( #420 )
...
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2023-11-24 03:05:22 +00:00
Renovate Bot
655a39fd61
chore(deps): update docker/setup-buildx-action action to v3 ( #421 )
...
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2023-11-24 03:05:07 +00:00
Renovate Bot
cca7d54117
chore(deps): update docker/setup-qemu-action action to v3 ( #422 )
...
Co-authored-by: Renovate Bot <renovate-bot@gitea.com >
Co-committed-by: Renovate Bot <renovate-bot@gitea.com >
2023-11-24 03:05:00 +00:00
infinoid
934471813a
Fix #404 : nil map error when reading env file ( #405 )
...
Co-authored-by: Mark Glines <mark@glines.org >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/405
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: infinoid <infinoid@noreply.gitea.com >
Co-committed-by: infinoid <infinoid@noreply.gitea.com >
2023-11-24 01:56:27 +00:00
pat-s
1e940f028b
Add renovate config ( #408 )
...
+ write access required for `renovate-bot` user
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/408
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: pat-s <patrick.schratz@gmail.com >
Co-committed-by: pat-s <patrick.schratz@gmail.com >
2023-11-23 20:41:10 +00:00
dependabot[bot]
bd10c9a801
build(deps): bump megalinter/megalinter from 7.5.0 to 7.6.0 ( #2098 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 7.5.0 to 7.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/v7.5.0...v7.6.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-11-20 03:19:49 +00:00
dependabot[bot]
3d0cb3d82b
build(deps): bump actions/github-script from 6 to 7 ( #2097 )
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 02:53:47 +00:00
GitHub Actions
7693697f4c
chore: bump VERSION to 0.2.54
2023-11-14 11:52:13 +00:00
dependabot[bot]
4dcb9b7a13
build(deps): bump golang.org/x/term from 0.13.0 to 0.14.0 ( #2091 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/term/compare/v0.13.0...v0.14.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 02:57:59 +00:00
Jon Jensen
55477899e7
Evaluate if condition when calling a reusable workflow ( #2087 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2023-11-12 20:01:32 +00:00
raffis
04011b6b78
feat: support runs-on labels and group ( #2062 )
...
Signed-off-by: Raffael Sahli <raffael.sahli@doodle.com >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2023-11-12 19:46:38 +00:00
Björn Brauer
c8f847d82d
Evaluate all service values ( #2054 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-11-12 18:30:21 +00:00
ChristopherHX
74b0fe8ba9
fix: ( #2075 )
...
network-scoped alias is supported only for containers in user defined networks
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-11-12 18:09:25 +00:00
Jon Jensen
18b4714e38
Don't set GITHUB_TOKEN ( #2089 )
...
This needs to be explicitly in the `env` to be consistent with GitHub
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-11-12 17:52:08 +00:00
Jon Jensen
610358e1c3
Support array expressions in runs-on ( #2088 )
...
* Support array expressions in runs-on
* Simplify appproach to use EvaluateYamlNode, fix case-sensitivity bug
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-11-12 17:40:06 +00:00
Andreas Taylor
1c16fd1967
Use unique name for reusable workflow ( #2015 )
...
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2023-11-12 17:21:41 +00:00
lng2020
2020ce79bf
Remove ACTIONS_RUNTIME_TOKEN workaround ( #396 )
...
The bug has been fixed for a long time in the GitHub version.
The fix commit is d8823bfaed and released in the 4.0.0 and after. The issue also mentions that https://gitea.com/gitea/act_runner/issues/119#issuecomment-738294
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/396
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: lng2020 <nanguanlin6@gmail.com >
Co-committed-by: lng2020 <nanguanlin6@gmail.com >
2023-11-07 05:15:14 +00:00
dependabot[bot]
55b09a04cd
build(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 ( #2079 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 02:50:57 +00:00
Jason Song
5a79256ee4
fix: panic ( #2071 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-11-04 14:10:53 +00:00
GitHub Actions
1bb2ee7098
chore: bump VERSION to 0.2.53
2023-11-01 02:13:36 +00:00
Jason Song
00e9b3d62b
Bump act ( #394 )
...
Bump act to follow https://gitea.com/gitea/act/pulls/81
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/394
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
2023-10-31 15:03:07 +00:00
dependabot[bot]
84a4025bc8
build(deps): bump github.com/docker/docker ( #2067 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 24.0.6+incompatible to 24.0.7+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v24.0.6...v24.0.7 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-10-30 03:54:16 +00:00
dependabot[bot]
fb4f29fd6d
build(deps): bump github.com/creack/pty from 1.1.18 to 1.1.20 ( #2068 )
...
Bumps [github.com/creack/pty](https://github.com/creack/pty ) from 1.1.18 to 1.1.20.
- [Release notes](https://github.com/creack/pty/releases )
- [Commits](https://github.com/creack/pty/compare/v1.1.18...v1.1.20 )
---
updated-dependencies:
- dependency-name: github.com/creack/pty
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-10-30 03:33:28 +00:00
dependabot[bot]
3e5c62977f
build(deps): bump megalinter/megalinter from 7.4.0 to 7.5.0 ( #2070 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 7.4.0 to 7.5.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/v7.4.0...v7.5.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-10-30 03:16:31 +00:00
dependabot[bot]
83bfbcdafd
build(deps): bump go.etcd.io/bbolt from 1.3.7 to 1.3.8 ( #2065 )
...
Bumps [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt ) from 1.3.7 to 1.3.8.
- [Release notes](https://github.com/etcd-io/bbolt/releases )
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.3.7...v1.3.8 )
---
updated-dependencies:
- dependency-name: go.etcd.io/bbolt
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-10-30 03:01:40 +00:00
dependabot[bot]
3d65b0f73f
build(deps): bump github.com/docker/cli ( #2069 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 24.0.6+incompatible to 24.0.7+incompatible.
- [Commits](https://github.com/docker/cli/compare/v24.0.6...v24.0.7 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-10-30 02:46:59 +00:00
dependabot[bot]
854e3e9ec5
build(deps): bump github.com/go-git/go-git/v5 from 5.9.0 to 5.10.0 ( #2066 )
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.9.0...v5.10.0 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-30 02:28:08 +00:00
dependabot[bot]
db71c41d17
build(deps): bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20 ( #2059 )
...
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty ) from 0.0.19 to 0.0.20.
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.19...v0.0.20 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 03:25:32 +00:00
dependabot[bot]
db6e477e25
build(deps): bump github.com/moby/buildkit from 0.12.2 to 0.12.3 ( #2060 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.12.2 to 0.12.3.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.12.2...v0.12.3 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 03:05:34 +00:00
Sam Foo
ceeb6c160c
Add support for service containers ( #1949 )
...
* Support services (#42 )
Removed createSimpleContainerName and AutoRemove flag
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Jason Song <i@wolfogre.com >
Reviewed-on: https://gitea.com/gitea/act/pulls/42
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
* Support services options (#45 )
Reviewed-on: https://gitea.com/gitea/act/pulls/45
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
* Support intepolation for `env` of `services` (#47 )
Reviewed-on: https://gitea.com/gitea/act/pulls/47
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
* Support services `credentials` (#51 )
If a service's image is from a container registry requires authentication, `act_runner` will need `credentials` to pull the image, see [documentation](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idservicesservice_idcredentials ).
Currently, `act_runner` incorrectly uses the `credentials` of `containers` to pull services' images and the `credentials` of services won't be used, see the related code: 0c1f2edb99/pkg/runner/run_context.go (L228-L269)
Co-authored-by: Jason Song <i@wolfogre.com >
Reviewed-on: https://gitea.com/gitea/act/pulls/51
Reviewed-by: Jason Song <i@wolfogre.com >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
* Add ContainerMaxLifetime and ContainerNetworkMode options
from: b9c20dcaa4
* Fix container network issue (#56 )
Follow: https://gitea.com/gitea/act_runner/pulls/184
Close https://gitea.com/gitea/act_runner/issues/177
- `act` create new networks only if the value of `NeedCreateNetwork` is true, and remove these networks at last. `NeedCreateNetwork` is passed by `act_runner`. 'NeedCreateNetwork' is true only if `container.network` in the configuration file of the `act_runner` is empty.
- In the `docker create` phase, specify the network to which containers will connect. Because, if not specify , container will connect to `bridge` network which is created automatically by Docker.
- If the network is user defined network ( the value of `container.network` is empty or `<custom-network>`. Because, the network created by `act` is also user defined network.), will also specify alias by `--network-alias`. The alias of service is `<service-id>`. So we can be access service container by `<service-id>:<port>` in the steps of job.
- Won't try to `docker network connect ` network after `docker start` any more.
- Because on the one hand, `docker network connect` applies only to user defined networks, if try to `docker network connect host <container-name>` will return error.
- On the other hand, we just specify network in the stage of `docker create`, the same effect can be achieved.
- Won't try to remove containers and networks berfore the stage of `docker start`, because the name of these containers and netwoks won't be repeat.
Co-authored-by: Jason Song <i@wolfogre.com >
Reviewed-on: https://gitea.com/gitea/act/pulls/56
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: sillyguodong <gedong_1994@163.com >
Co-committed-by: sillyguodong <gedong_1994@163.com >
* Check volumes (#60 )
This PR adds a `ValidVolumes` config. Users can specify the volumes (including bind mounts) that can be mounted to containers by this config.
Options related to volumes:
- [jobs.<job_id>.container.volumes](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idcontainervolumes )
- [jobs.<job_id>.services.<service_id>.volumes](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idservicesservice_idvolumes )
In addition, volumes specified by `options` will also be checked.
Currently, the following default volumes (see a72822b3f8/pkg/runner/run_context.go (L116-L166) ) will be added to `ValidVolumes`:
- `act-toolcache`
- `<container-name>` and `<container-name>-env`
- `/var/run/docker.sock` (We need to add a new configuration to control whether the docker daemon can be mounted)
Co-authored-by: Jason Song <i@wolfogre.com >
Reviewed-on: https://gitea.com/gitea/act/pulls/60
Reviewed-by: Jason Song <i@wolfogre.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
* Remove ContainerMaxLifetime; fix lint
* Remove unused ValidVolumes
* Remove ConnectToNetwork
* Add docker stubs
* Close docker clients to prevent file descriptor leaks
* Fix the error when removing network in self-hosted mode (#69 )
Fixes https://gitea.com/gitea/act_runner/issues/255
Reviewed-on: https://gitea.com/gitea/act/pulls/69
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-committed-by: Zettat123 <zettat123@gmail.com >
* Move service container and network cleanup to rc.cleanUpJobContainer
* Add --network flag; default to host if not using service containers or set explicitly
* Correctly close executor to prevent fd leak
* Revert to tail instead of full path
* fix network duplication
* backport networkingConfig for aliaes
* don't hardcode netMode host
* Convert services test to table driven tests
* Add failing tests for services
* Expose service container ports onto the host
* Set container network mode in artifacts server test to host mode
* Log container network mode when creating/starting a container
* fix: Correctly handle ContainerNetworkMode
* fix: missing service container network
* Always remove service containers
Although we usually keep containers running if the workflow errored
(unless `--rm` is given) in order to facilitate debugging and we have
a flag (`--reuse`) to always keep containers running in order to speed
up repeated `act` invocations, I believe that these should only apply
to job containers and not service containers, because changing the
network settings on a service container requires re-creating it anyway.
* Remove networks only if no active endpoints exist
* Ensure job containers are stopped before starting a new job
* fix: go build -tags WITHOUT_DOCKER
---------
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Jason Song <i@wolfogre.com >
Co-authored-by: sillyguodong <gedong_1994@163.com >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-authored-by: ZauberNerd <zaubernerd@zaubernerd.de >
2023-10-19 09:24:52 +00:00
haxwithaxe
130b9f1877
Added environment variable for run.sh to specify runner state file. ( #377 )
...
Added environment variable `RUNNER_STATE_FILE` to let users specify
where `run.sh` looks for the runner JSON file. Defaults to ``.runner``
to preserve the original behavior.
Addresses issue #368 . It's not my preferred solution but it's the least invasive one I can think of.
I'm happy to make any changes you want.
I didn't see an appropriate place to reference the change in the documentation. I will add documentation wherever you think is appropriate.
To test this I did the following:
* Built an image with the `make docker` command and pushed it to my private registry.
* Added that private image as the image in my existing docker stack that was exhibiting the behavior described in #368 .
* Added the RUNNER_STATE_FILE environment variable pointing to the runner JSON file set in my `config.yml` (``/data/runner.json`` in this case).
* Configured a new runner in gitea and added the token as an environment variable in the stack config.
* Deployed the stack and verified the new runner was recognized (in the idle state).
* Force updated the runner service to restart the container.
* Verified the same runner was still recognized in gitea (in the idle state) once it was back up and running.
Here is the relevant config. It's stored as a template so I've left the things that would normally be redacted as they are in the template.
```
runner:
image: hub.hax.in.net/haxwithaxe/act_runner:dev1
networks:
- swarm-net
environment:
RUNNER_STATE_FILE: /data/runner.json
CONFIG_FILE: /data/config.yml
GITEA_INSTANCE_URL: "https://git_gitea "
GITEA_RUNNER_REGISTRATION_TOKEN: "{{ git_runner_reg_token }}"
GITEA_RUNNER_NAME: "git_runner"
volumes:
- runner_data:/data
- /var/run/docker.sock:/var/run/docker.sock
```
`runner_data` is a glusterfs subvolume
Thanks for creating this gitea specific fork. Apart from the issue this pull request addresses it works so well I don't have to think about it once it's set up.
Co-authored-by: haxwithaxe <spam@haxwithaxe.net >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/377
Co-authored-by: haxwithaxe <haxwithaxe@noreply.gitea.com >
Co-committed-by: haxwithaxe <haxwithaxe@noreply.gitea.com >
2023-10-15 23:21:53 +00:00
Jon Jensen
ace4cd47c7
Fix float formatting ( #2018 )
...
Format floats the same way as actions/runner (precision 15, remove
trailing zeroes)
See: 67d70803a9/src/Sdk/DTObjectTemplating/ObjectTemplating/Tokens/NumberToken.cs (L34)
2023-10-13 20:01:04 +00:00
dependabot[bot]
99067a9c1e
build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 ( #2045 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-11 23:30:36 +00:00
dependabot[bot]
e7e158cd7e
build(deps): bump github.com/docker/distribution ( #2037 )
...
Bumps [github.com/docker/distribution](https://github.com/docker/distribution ) from 2.8.2+incompatible to 2.8.3+incompatible.
- [Release notes](https://github.com/docker/distribution/releases )
- [Commits](https://github.com/docker/distribution/compare/v2.8.2...v2.8.3 )
---
updated-dependencies:
- dependency-name: github.com/docker/distribution
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-10-09 02:52:56 +00:00
dependabot[bot]
3c730d7924
build(deps): bump golang.org/x/term from 0.12.0 to 0.13.0 ( #2036 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.12.0 to 0.13.0.
- [Commits](https://github.com/golang/term/compare/v0.12.0...v0.13.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 02:35:38 +00:00
ChristopherHX
976df8bae5
fix action_ref (composite action) ( #2020 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-10-03 23:13:05 +00:00
ChristopherHX
7c7d80ebdd
fix: use actions/runner hashfiles in container ( #1940 )
...
* fix: use actions/runner hashfiles in container
Previously hashfiles ran on the host,
this don't work for container generated content
* fix: lint
* fix: lint
* fix assign follow symlink flag
Co-authored-by: Jason Song <i@wolfogre.com >
---------
Co-authored-by: Jason Song <i@wolfogre.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-10-03 22:56:18 +00:00
ChristopherHX
2f479ba024
Fix image survey for large images ( #2022 )
...
ubuntu 22.04 based large image is now available
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-10-03 22:39:49 +00:00
Diego Sousa
5718555f7a
[ Variables ] - Add missing documentation for repository variables ( #2032 )
...
* docs: 📝 add vars instructions by cli and file loading
* docs: 📝 adjust varibles instructions
2023-10-03 22:02:22 +00:00
vilunov
4c35288175
Add DIND docker-compose example ( #365 )
...
Co-authored-by: Nikita Vilunov <nikita@vilunov.me >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/365
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: vilunov <vilunov@noreply.gitea.com >
Co-committed-by: vilunov <vilunov@noreply.gitea.com >
2023-10-02 15:12:31 +00:00
Andrew Imeson
990db1bfc0
Fix k8s rootless Docker filesystem permissions ( #366 )
...
Without this the deployment fails because the runner can't write to
/data/
Credit to @ccureau for identifying the fix
Relates to: gitea/act_runner#264
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/366
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com >
Co-authored-by: Andrew Imeson <andrew@andrewimeson.com >
Co-committed-by: Andrew Imeson <andrew@andrewimeson.com >
2023-10-02 15:12:14 +00:00
GitHub Actions
44ea01c209
chore: bump VERSION to 0.2.52
2023-10-01 02:15:05 +00:00
dependabot[bot]
2be4def7be
build(deps): bump github.com/rhysd/actionlint from 1.6.25 to 1.6.26 ( #2026 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.25 to 1.6.26.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.25...v1.6.26 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-09-25 03:24:27 +00:00
dependabot[bot]
3d47885894
build(deps): bump megalinter/megalinter from 7.3.0 to 7.4.0 ( #2025 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 7.3.0 to 7.4.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/v7.3.0...v7.4.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-25 03:06:54 +00:00
GitHub Actions
c241ecda31
chore: bump VERSION to 0.2.51
2023-09-23 11:36:33 +00:00
dependabot[bot]
b637d79ec3
build(deps): bump github.com/go-git/go-git/v5 from 5.8.1 to 5.9.0 ( #2011 )
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.8.1 to 5.9.0.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.8.1...v5.9.0 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-09-18 03:47:27 +00:00
dependabot[bot]
83af8f8767
build(deps): bump github.com/opencontainers/image-spec ( #2010 )
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.1.0-rc4 to 1.1.0-rc5.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/compare/v1.1.0-rc4...v1.1.0-rc5 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-09-18 03:34:14 +00:00
dependabot[bot]
60060a7c9c
build(deps): bump gotest.tools/v3 from 3.5.0 to 3.5.1 ( #2009 )
...
Bumps [gotest.tools/v3](https://github.com/gotestyourself/gotest.tools ) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/gotestyourself/gotest.tools/releases )
- [Commits](https://github.com/gotestyourself/gotest.tools/compare/v3.5.0...v3.5.1 )
---
updated-dependencies:
- dependency-name: gotest.tools/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-09-18 03:20:50 +00:00
dependabot[bot]
d134079807
build(deps): bump github.com/go-git/go-billy/v5 from 5.4.1 to 5.5.0 ( #2012 )
...
Bumps [github.com/go-git/go-billy/v5](https://github.com/go-git/go-billy ) from 5.4.1 to 5.5.0.
- [Release notes](https://github.com/go-git/go-billy/releases )
- [Commits](https://github.com/go-git/go-billy/compare/v5.4.1...v5.5.0 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-billy/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 03:02:39 +00:00
dependabot[bot]
1891bef433
build(deps): bump docker/setup-qemu-action from 2 to 3 ( #2007 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-09-18 02:33:21 +00:00
dependabot[bot]
2911b2172c
build(deps): bump goreleaser/goreleaser-action from 4 to 5 ( #2008 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 4 to 5.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 02:15:28 +00:00
Oliver Bell
935e37c25b
feat: support node20 runtime ( #1988 )
...
* feat: support node20
* fix
* more fixes
* maybe final fixes?
* format
2023-09-15 02:24:46 +00:00
Elian Doran
19764bcb06
feat: support interpolation in <job>.container.options ( #1958 )
2023-09-12 06:35:25 -07:00
dependabot[bot]
c84a3ef6d0
build(deps): bump github.com/docker/docker ( #2000 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 24.0.5+incompatible to 24.0.6+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v24.0.5...v24.0.6 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-09-11 02:53:05 +00:00
dependabot[bot]
bd9032de0a
build(deps): bump github.com/docker/cli ( #1999 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 24.0.5+incompatible to 24.0.6+incompatible.
- [Commits](https://github.com/docker/cli/compare/v24.0.5...v24.0.6 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 02:39:24 +00:00
dependabot[bot]
1d32507b52
build(deps): bump golang.org/x/term from 0.11.0 to 0.12.0 ( #1992 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/term/compare/v0.11.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 02:56:21 +00:00
GitHub Actions
80b0955303
chore: bump VERSION to 0.2.50
2023-09-01 02:12:28 +00:00
dependabot[bot]
0c12273eba
build(deps): bump github.com/moby/buildkit from 0.12.1 to 0.12.2 ( #1986 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.12.1 to 0.12.2.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.12.1...v0.12.2 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 02:48:43 +00:00
dependabot[bot]
323bee9ab5
build(deps): bump github.com/moby/patternmatcher from 0.5.0 to 0.6.0 ( #1985 )
...
Bumps [github.com/moby/patternmatcher](https://github.com/moby/patternmatcher ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/moby/patternmatcher/releases )
- [Commits](https://github.com/moby/patternmatcher/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: github.com/moby/patternmatcher
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 02:33:21 +00:00
Nathan Shaaban
7286b43b0e
fix: fail if no stages were found ( #1970 )
...
* fix: fail if no stages were found
Adds a warning message if act is cannot find any stages to run
with the filters provided.
Reproduction:
- run `act -j gibberish`
Desired behavior: some indication I did something silly
Actual behavior: no output, just exit with success.
As a human who often makes spelling mistakes,
it would be nice if act warned me what I was doing that was silly
rather than exiting apparently doing
nothing with no obvious indication
I did something wrong.
* Revert "fix: fail if no stages were found"
This reverts commit 226adf1c15cf4c01d516a05dc923507e6999978d.
* fix: fail if no stages were found
Errors if no stages were found with the given filters.
Prints out a helpful error message, pointing users
in the right place for how to specify which stage to run.
Reproduction:
- run `act -j gibberish`
Desired behavior: some indication I did something silly
Actual behavior: no output, just exit with success.
As a human who often makes spelling mistakes,
it would be nice if act warned me what I was doing that was silly
rather than exiting apparently doing
nothing with no obvious indication
I did something wrong.
2023-08-21 17:53:47 +00:00
dependabot[bot]
f64c267dac
build(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 ( #1978 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.6.0...v3.7.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 03:16:32 +00:00
ChristopherHX
7ba9f30f37
Mention act user guide in act ( #1973 )
...
* CONTRIBUTING.md mention act user guide
* Mention the act user guide in the README
2023-08-17 14:43:17 +00:00
dependabot[bot]
2a0a0a1a62
build(deps): bump megalinter/megalinter from 7.2.1 to 7.3.0 ( #1965 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 7.2.1 to 7.3.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/v7.2.1...v7.3.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 02:19:39 +00:00
sitiom
f55ae1a0bc
ci: change winget job runner to ubuntu-latest ( #1959 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-11 06:14:41 +00:00
TheFox0x7
9f06ca75e4
change podman socket path ( #1961 )
...
add podman user socket
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-11 05:33:53 +00:00
Elian Doran
a00fd960a5
Fix "Unknown server OS" for Docker container --device option ( #1957 )
...
The `--device` option would do platform-dependent validation, but the
OS was not passed as an argument. When a user added the `--device` option
to the container, it would result in a "Unknown server OS" error.
2023-08-09 18:21:05 +00:00
Eng Zer Jun
8a9e4f9f38
refactor: remove unnecessary nil check in RunContext ( #1955 )
...
From the Go docs:
"For a nil slice, the number of iterations is 0" [1]
Therefore, an additional nil check for `job.RunsOn()` before the loop is
unnecessary because `job.RunsOn()` returns a `[]string`.
[1]: https://go.dev/ref/spec#For_range
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2023-08-09 12:41:12 +00:00
ChristopherHX
a42f3cf1cd
feat: Add new Action Cache ( #1913 )
...
* feat: Add new Action Cache
* fix some linter errors / warnings
* fix lint
* fix empty fpath parameter returns empty archive
* rename fpath to includePrefix
2023-08-08 16:07:23 +00:00
ChristopherHX
83140951bf
feat: cmd support for windows ( #1941 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-08 15:44:25 +00:00
ChristopherHX
6468dd7fc8
feat: Add CopyTarStream to Container Interface ( #1912 )
...
* feat: CopyTarStream
Prepare for new process and thread safe action cache
* fix unused param
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-08 15:18:25 +00:00
ChristopherHX
f0ca0abc40
refactor: docker build BuildContext field ( #1914 )
...
The old Container input parameter was not flexible enough
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-08 15:02:11 +00:00
ChristopherHX
73d5f78294
Shorten or/and in expressions ( #1939 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-08 14:30:13 +00:00
ChristopherHX
0b4c67a4aa
prefer pwsh on windows if found ( #1942 )
...
* prefer pwsh on windows if found
prefer bash over sh if found
One windows test no longer defines a default shell to test if it's pwsh
* add dep
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-08 14:14:46 +00:00
dependabot[bot]
3939f48e6d
build(deps): bump megalinter/megalinter from 7.1.0 to 7.2.1 ( #1931 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 7.1.0 to 7.2.1.
- [Release notes](https://github.com/megalinter/megalinter/releases )
- [Changelog](https://github.com/oxsecurity/megalinter/blob/main/CHANGELOG.md )
- [Commits](https://github.com/oxsecurity/megalinter/compare/v7.1.0...v7.2.1 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-08 13:37:31 +00:00
dependabot[bot]
74b74e847b
build(deps): bump golang.org/x/term from 0.10.0 to 0.11.0 ( #1948 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/term/compare/v0.10.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-07 02:33:09 +00:00
dependabot[bot]
c8127155bc
build(deps): bump github.com/moby/buildkit from 0.12.0 to 0.12.1 ( #1947 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.12.0...v0.12.1 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 02:17:55 +00:00
GitHub Actions
d5d8548546
chore: bump VERSION to 0.2.49
2023-08-01 02:21:38 +00:00
dependabot[bot]
8bf10cf876
build(deps): bump github.com/go-git/go-git/v5 from 5.8.0 to 5.8.1 ( #1934 )
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.8.0 to 5.8.1.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.8.0...v5.8.1 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-07-31 03:49:57 +00:00
dependabot[bot]
8e6c7c11fe
build(deps): bump github.com/docker/cli ( #1932 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 24.0.4+incompatible to 24.0.5+incompatible.
- [Commits](https://github.com/docker/cli/compare/v24.0.4...v24.0.5 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-07-31 03:29:28 +00:00
dependabot[bot]
d720ff09a2
build(deps): bump github.com/docker/docker ( #1933 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 24.0.5-0.20230714235725-36e9e796c6fc+incompatible to 24.0.5+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/commits/v24.0.5 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-31 03:12:43 +00:00
dependabot[bot]
17bf4fc5af
build(deps): bump github.com/go-git/go-git/v5 from 5.7.0 to 5.8.0 ( #1925 )
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.7.0 to 5.8.0.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.7.0...v5.8.0 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 02:53:35 +00:00
taytzehao
67f4baa618
local runner doc ( #1911 )
...
* local runner doc
* correct would would
---------
Co-authored-by: tzehaoo <tzehao@intnt.ai >
Co-authored-by: Casey Lee <cplee@nektos.com >
2023-07-21 16:56:11 +00:00
Thomas Eddy
83b0a5b1f2
Add new CLI flag to log just the job id and not the entire job name ( #1920 )
...
* Add new CLI flag to log just the job id and not the entire job name
* Up the action test timeout to 20m from 15m
2023-07-19 21:45:44 +00:00
dependabot[bot]
4810f69367
build(deps): bump github.com/moby/buildkit from 0.11.6 to 0.12.0 ( #1917 )
...
update moby/moby to snapshot
2023-07-17 19:55:17 +00:00
dependabot[bot]
e343ea9d5f
build(deps): bump golang.org/x/term from 0.9.0 to 0.10.0 ( #1906 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/term/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 15:14:01 +00:00
Casey Lee
94bc8b319c
Bump dockercli ( #1905 )
...
* updates to support newer version of docker sdk
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 24.0.2+incompatible to 24.0.4+incompatible.
- [Commits](https://github.com/docker/cli/compare/v24.0.2...v24.0.4 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* feat: upgrade to go 1.20
* feat: upgrade to go 1.20
* chore: use go version from go.mod
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 21:55:53 -07:00
Josh McCullough
808cf5a2c3
throw when invalid uses key is provided ( #1804 )
...
* throw if `uses` is invalid
* update JobType to return error
* lint
* put //nolint:dupl on wrong test
* update error message to remove end punctuation
* lint
* update remote job type check
* move if statement
* rm nolint:dupl ... we'll see how that goes
---------
Co-authored-by: Casey Lee <cplee@nektos.com >
2023-07-10 21:27:43 -07:00
Jason Song
8c7c0f53c1
fix: handle zero size ( #1888 )
2023-07-10 20:35:27 -07:00
Casey Lee
724ec918c9
chore: upgrade golangci-lint and address findings ( #1904 )
2023-07-10 17:12:12 -07:00
dependabot[bot]
79f93beef2
build(deps): bump golangci/golangci-lint-action from 3.5.0 to 3.6.0 ( #1868 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.5.0...v3.6.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <cplee@nektos.com >
2023-07-10 23:55:19 +00:00
dependabot[bot]
70956f2929
build(deps): bump gotest.tools/v3 from 3.4.0 to 3.5.0 ( #1892 )
...
Bumps [gotest.tools/v3](https://github.com/gotestyourself/gotest.tools ) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/gotestyourself/gotest.tools/releases )
- [Commits](https://github.com/gotestyourself/gotest.tools/compare/v3.4.0...v3.5.0 )
---
updated-dependencies:
- dependency-name: gotest.tools/v3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <cplee@nektos.com >
2023-07-10 16:22:50 -07:00
Reisen Usagi
ef79bb284d
Normalize path outputs emitted by the artifact server download endpoint ( #1898 )
...
Co-authored-by: Casey Lee <cplee@nektos.com >
2023-07-10 16:19:30 -07:00
GitHub Actions
3a0a6425a8
chore: bump VERSION to 0.2.48
2023-07-10 20:03:46 +00:00
dependabot[bot]
4c8da8558d
build(deps): bump github.com/moby/buildkit from 0.11.5 to 0.11.6 ( #1884 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.11.5 to 0.11.6.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.11.5...v0.11.6 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 17:51:29 +00:00
dependabot[bot]
f40d0b873d
build(deps): bump github.com/opencontainers/image-spec ( #1893 )
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.1.0-rc.3 to 1.1.0-rc4.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/compare/v1.1.0-rc3...v1.1.0-rc4 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <cplee@nektos.com >
2023-07-10 17:31:59 +00:00
Jason Song
15618d1187
Remove archives.replacements in goreleaser.yaml ( #1895 )
...
* fix: update name template in goreleaser
* fix: add arm version
* fix: space
* fix: --clean
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-07-10 17:15:16 +00:00
ChristopherHX
e597046195
refactor: open boltdb only while using it ( #1879 )
...
* refactor: open boltdb only while using it
* patch
* Update handler_test.go
* Update handler_test.go
* Update handler_test.go
* Update handler.go
* timeout * 10
* pr feedback
* fixup
2023-07-10 16:57:06 +00:00
GitHub Actions
310cb79e81
chore: bump VERSION to 0.2.47
2023-07-01 02:34:27 +00:00
Sam Foo
e60018a6d9
Allow inputs for workflow_calls ( #1845 )
2023-06-27 17:32:04 +00:00
dependabot[bot]
70e1e37280
build(deps): bump github.com/opencontainers/image-spec ( #1883 )
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.1.0-rc2.0.20221005185240-3a7f492d3f1b to 1.1.0-rc.3.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/commits/v1.1.0-rc3 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 04:00:05 +00:00
dependabot[bot]
3d1d8a9aca
build(deps): bump github.com/moby/buildkit from 0.11.5 to 0.11.6 ( #1882 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.11.5 to 0.11.6.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.11.5...v0.11.6 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 03:43:21 +00:00
dependabot[bot]
f9dcb58db2
build(deps): bump github.com/opencontainers/image-spec ( #1881 )
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.1.0-rc2.0.20221005185240-3a7f492d3f1b to 1.1.0-rc.3.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/commits/v1.1.0-rc3 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 03:27:46 +00:00
dependabot[bot]
a0307d3b7c
build(deps): bump github.com/moby/buildkit from 0.11.5 to 0.11.6 ( #1880 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.11.5 to 0.11.6.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.11.5...v0.11.6 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 03:12:03 +00:00
dependabot[bot]
4fc176f556
build(deps): bump github.com/rhysd/actionlint from 1.6.24 to 1.6.25 ( #1870 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.24 to 1.6.25.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.24...v1.6.25 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-19 04:18:27 +00:00
dependabot[bot]
df44dffd30
build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.6 to 2.3.7 ( #1872 )
...
Bumps [github.com/AlecAivazis/survey/v2](https://github.com/AlecAivazis/survey ) from 2.3.6 to 2.3.7.
- [Release notes](https://github.com/AlecAivazis/survey/releases )
- [Commits](https://github.com/AlecAivazis/survey/compare/v2.3.6...v2.3.7 )
---
updated-dependencies:
- dependency-name: github.com/AlecAivazis/survey/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-19 04:03:04 +00:00
dependabot[bot]
b2191ae204
build(deps): bump golang.org/x/term from 0.8.0 to 0.9.0 ( #1869 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/golang/term/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-19 03:30:12 +00:00
dependabot[bot]
ef608854d0
build(deps): bump github.com/opencontainers/image-spec ( #1871 )
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.1.0-rc2.0.20221005185240-3a7f492d3f1b to 1.1.0-rc.3.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/commits/v1.1.0-rc3 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 03:12:23 +00:00
Marius Zwicker
74c27db4dd
Allow to override location of action cache dir ( #1863 )
...
Adds an option to specify the directory below which actions
and host workspaces will be stored. If left empty the previous
location at $XDG_CACHE_HOME/act or $HOME/.cache/act will be used
respectively.
Co-authored-by: Casey Lee <cplee@nektos.com >
2023-06-15 01:16:00 +00:00
Jason Song
24348ff1ee
Drop disappeared wei/curl@v1 ( #1864 )
...
* chore: trigger actions
* fix: use curl command directly
* fix: use node:16-buster
* fix: remove --fail-with-body
* chore: format codes
2023-06-13 21:24:31 +00:00
dependabot[bot]
b92d95f899
build(deps): bump github.com/moby/buildkit from 0.11.5 to 0.11.6 ( #1858 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.11.5 to 0.11.6.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.11.5...v0.11.6 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-12 04:28:49 +00:00
dependabot[bot]
3555d65d08
build(deps): bump megalinter/megalinter from 7.0.4 to 7.1.0 ( #1857 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 7.0.4 to 7.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/v7.0.4...v7.1.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-12 03:33:28 +00:00
dependabot[bot]
e912ab32c2
build(deps): bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19 ( #1859 )
...
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty ) from 0.0.18 to 0.0.19.
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.18...v0.0.19 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 03:13:51 +00:00
Troy Gaines
80f6de51d5
fix: spelling mistake in readme ( #1854 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-10 18:42:54 +00:00
Kuan Yong
6ce45e3f24
feature: Add support for github action variables ( #1833 )
...
* feature: Add support for github action variables
* add --var flag for github variables
* unitests: Updated unittests to cover vars context.
* Remove syntax extension for vars and correct unit tests
* Update pkg/runner/expression.go
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
---------
Co-authored-by: kuanyong-wong-partior <kuanyong.wong@partior.com >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2023-06-10 18:09:27 +00:00
psa
3ac2b726f2
Fix bug in processing jobs on platforms without Docker ( #1834 )
...
* Log incoming jobs.
Log the full contents of the job protobuf to make debugging jobs easier
* Ensure that the parallel executor always uses at least one thread.
The caller may mis-calculate the number of CPUs as zero, in which case
ensure that at least one thread is spawned.
* Use runtime.NumCPU for CPU counts.
For hosts without docker, GetHostInfo() returns a blank struct which
has zero CPUs and causes downstream trouble.
---------
Co-authored-by: Paul Armstrong <psa@users.noreply.gitea.com >
Co-authored-by: Jason Song <i@wolfogre.com >
2023-06-06 03:00:54 +00:00
dependabot[bot]
c70a6743f6
build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4 ( #1842 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.2 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.4 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-05 04:46:40 +00:00
dependabot[bot]
04b5c739d2
build(deps): bump megalinter/megalinter from 7.0.2 to 7.0.4 ( #1838 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 7.0.2 to 7.0.4.
- [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/v7.0.2...v7.0.4 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-05 04:27:58 +00:00
dependabot[bot]
e48c07988e
build(deps): bump github.com/docker/cli ( #1843 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 24.0.1+incompatible to 24.0.2+incompatible.
- [Commits](https://github.com/docker/cli/compare/v24.0.1...v24.0.2 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-05 04:06:57 +00:00
dependabot[bot]
0b05ee8e0b
build(deps): bump github.com/imdario/mergo from 0.3.15 to 0.3.16 ( #1840 )
...
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo ) from 0.3.15 to 0.3.16.
- [Release notes](https://github.com/imdario/mergo/releases )
- [Commits](https://github.com/imdario/mergo/compare/v0.3.15...v0.3.16 )
---
updated-dependencies:
- dependency-name: github.com/imdario/mergo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-05 03:51:00 +00:00
dependabot[bot]
e150310da7
build(deps): bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3 ( #1841 )
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.9.2 to 1.9.3.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.2...v1.9.3 )
---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-05 03:35:57 +00:00
dependabot[bot]
34db86138b
build(deps): bump golangci/golangci-lint-action from 3.4.0 to 3.5.0 ( #1839 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.4.0...v3.5.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 03:13:17 +00:00
GitHub Actions
b0d0cec71f
chore: bump VERSION to 0.2.46
2023-06-01 02:39:05 +00:00
dependabot[bot]
26f1b1f4b6
build(deps): bump github.com/opencontainers/image-spec ( #1829 )
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.1.0-rc2.0.20221005185240-3a7f492d3f1b to 1.1.0-rc.3.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/commits/v1.1.0-rc3 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-05-31 17:36:12 +00:00
dependabot[bot]
9c1f1f8d84
build(deps): bump github.com/docker/cli ( #1816 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 23.0.6+incompatible to 24.0.1+incompatible.
- [Commits](https://github.com/docker/cli/compare/v23.0.6...v24.0.1 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-05-31 15:43:03 +00:00
Joseph Mearman
3cfc2cf9c3
add instruction for using gh auth token ( #1831 )
2023-05-31 14:24:24 +00:00
dependabot[bot]
b0996e0577
build(deps): bump github.com/go-git/go-git/v5 ( #1830 )
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.6.2-0.20230411180853-ce62f3e9ff86 to 5.7.0.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/commits/v5.7.0 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-05-29 03:35:06 +00:00
dependabot[bot]
481999f59d
build(deps): bump megalinter/megalinter from 6.22.2 to 7.0.2 ( #1827 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 6.22.2 to 7.0.2.
- [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/v6.22.2...v7.0.2 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29 03:12:45 +00:00
ab-pkandhari
11dd2ac745
fix: Update ARCH environment variable used in runners/actions ( #1818 )
2023-05-23 12:26:47 +00:00
dependabot[bot]
16c574cd26
build(deps): bump github.com/moby/buildkit from 0.11.5 to 0.11.6 ( #1817 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.11.5 to 0.11.6.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.11.5...v0.11.6 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-05-22 04:02:38 +00:00
dependabot[bot]
06054d2931
build(deps): bump github.com/sirupsen/logrus from 1.9.0 to 1.9.2 ( #1814 )
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.9.0 to 1.9.2.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.0...v1.9.2 )
---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-05-22 03:29:31 +00:00
dependabot[bot]
1371215aab
build(deps): bump codecov/codecov-action from 3.1.3 to 3.1.4 ( #1813 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.3...v3.1.4 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 03:12:14 +00:00
dependabot[bot]
1eacf23dcb
build(deps): bump github.com/opencontainers/image-spec ( #1807 )
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.1.0-rc2.0.20221005185240-3a7f492d3f1b to 1.1.0-rc.3.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/commits/v1.1.0-rc3 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-05-15 03:43:06 +00:00
dependabot[bot]
c00810bdf4
build(deps): bump github.com/docker/docker ( #1806 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 23.0.5+incompatible to 23.0.6+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v23.0.5...v23.0.6 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-05-15 03:28:21 +00:00
dependabot[bot]
39abbce4e6
build(deps): bump github.com/docker/cli ( #1805 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 23.0.5+incompatible to 23.0.6+incompatible.
- [Commits](https://github.com/docker/cli/compare/v23.0.5...v23.0.6 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 03:12:21 +00:00
dependabot[bot]
b5fa24537f
build(deps): bump github.com/docker/distribution ( #1801 )
...
Bumps [github.com/docker/distribution](https://github.com/docker/distribution ) from 2.8.1+incompatible to 2.8.2+incompatible.
- [Release notes](https://github.com/docker/distribution/releases )
- [Commits](https://github.com/docker/distribution/compare/v2.8.1...v2.8.2 )
---
updated-dependencies:
- dependency-name: github.com/docker/distribution
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-05-11 21:19:02 +00:00
dependabot[bot]
046f5aa715
build(deps): bump github.com/cloudflare/circl from 1.1.0 to 1.3.3 ( #1800 )
...
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl ) from 1.1.0 to 1.3.3.
- [Release notes](https://github.com/cloudflare/circl/releases )
- [Commits](https://github.com/cloudflare/circl/compare/v1.1.0...v1.3.3 )
---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-11 21:00:01 +00:00
dependabot[bot]
65ef31f102
build(deps): bump github.com/moby/buildkit from 0.11.5 to 0.11.6 ( #1791 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.11.5 to 0.11.6.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.11.5...v0.11.6 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-08 03:15:32 +00:00
benbaker76
f84a566ded
Replace backslash in GetActPath() for Windows ( #1777 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-05-03 19:12:36 +00:00
ChristopherHX
8913375af8
feat: implement steps.timeout-minutes ( #1776 )
...
* feat: implement steps.timeout-minutes
* Add imports
* refactor code
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-05-03 18:08:11 +00:00
ChristopherHX
ca9b783491
fix: don't allow -self-hosted mode as container image ( #1783 )
...
* fix: don't allow `-self-hosted` mode as container image
* fix: jobcontainer in hostmode platform
* Update run_context.go
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-05-03 17:49:17 +00:00
ChristopherHX
568124ca69
Refactor evaluate yaml node do not alter nested nodes ( #1761 )
...
* refactor: EvaluateYamlNode do not alter nested nodes
* fix build error
* fix op
* fix lint
* ...
* fixup
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-05-03 17:26:28 +00:00
ChristopherHX
aa21277380
fix: fallback to unauthenticated pull ( #1774 )
...
* fix: fallback to unauthenticated pull
* move logger def
* fixup
* add import
* .
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-05-03 16:44:26 +00:00
Shubh Bapna
4721abfa6d
fix: remove hardcoded reference to github.com when using reusable remote workflows and remote actions ( #1784 )
...
* fix filename for remote reusable workflow and remove hardcoded reference to github.com
* remove hardcoded reference to github.com for remote action
2023-05-03 15:46:28 +00:00
dependabot[bot]
3eb6e83ea4
build(deps): bump github.com/docker/cli ( #1780 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 23.0.4+incompatible to 23.0.5+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v23.0.4...v23.0.5 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-05-01 03:49:17 +00:00
dependabot[bot]
15eb1fa92a
build(deps): bump github.com/opencontainers/image-spec ( #1781 )
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.1.0-rc2.0.20221005185240-3a7f492d3f1b to 1.1.0-rc.3.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/commits/v1.1.0-rc3 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-05-01 03:30:50 +00:00
dependabot[bot]
1f9bbe12dd
build(deps): bump github.com/docker/docker ( #1779 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 23.0.4+incompatible to 23.0.5+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v23.0.4...v23.0.5 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-01 03:14:03 +00:00
GitHub Actions
f1df2ca5d6
chore: bump VERSION to 0.2.45
2023-05-01 02:18:34 +00:00
Jason Song
d77991c95a
Support cache ( #1770 )
...
* feat: port
* fix: use httprouter
* fix: WriteHeader
* fix: bolthold
* fix: bugs
* chore: one less file
* test: test handler
* fix: bug in id
* test: fix cases
* chore: tidy
* fix: use atomic.Int32
* fix: use atomic.Store
* feat: support close
* chore: lint
* fix: cache keys are case insensitive
* fix: options
* fix: use options
* fix: close
* fix: ignore close error
* Revert "fix: close"
This reverts commit d53ea7568ba03908eb153031c435008fd47e7ccb.
* fix: cacheUrlKey
* fix: nil close
* chore: lint code
* fix: test key
* test: case insensitive
* chore: lint
2023-04-28 15:57:40 +00:00
Markus Wolf
c81a770bc5
chore: run act from cli on linux ( #1758 )
...
* chore: run act from cli on linux
To prevent issues like #1756 in the future, we need to
run act from the cli through all the root setup code.
This ensures that the basic CLI setup can succeed.
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
* chore: set platform spec to use
---------
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2023-04-25 17:32:34 +00:00
ChristopherHX
7cbb1a910e
Revert breaking docker socket changes ( #1763 )
...
* fix: rework docker socket changes
* fixup
* fixup
* fixes
* patch
* ...
* lint
* Fix docker outputs windows
* fix type
* Revert containerDaemonSocket breaking change
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-25 16:31:17 +00:00
Zettat123
baf3bcf48b
avoid using log.Fatal ( #1759 )
2023-04-25 02:09:54 +00:00
dependabot[bot]
2ea7891787
build(deps): bump github.com/moby/buildkit from 0.11.5 to 0.11.6 ( #1755 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.11.5 to 0.11.6.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.11.5...v0.11.6 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-24 04:02:30 +00:00
dependabot[bot]
16f35f64eb
build(deps): bump github.com/docker/docker ( #1754 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 23.0.3+incompatible to 23.0.4+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v23.0.3...v23.0.4 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-24 03:46:51 +00:00
dependabot[bot]
ded31bdbc0
build(deps): bump github.com/docker/cli ( #1753 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 23.0.3+incompatible to 23.0.4+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v23.0.3...v23.0.4 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-24 03:28:43 +00:00
dependabot[bot]
60bcfb5d4f
build(deps): bump codecov/codecov-action from 3.1.2 to 3.1.3 ( #1752 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.2...v3.1.3 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 03:13:14 +00:00
R
7c6237d93f
ci: deduplicate running workflows ( #1751 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-23 19:18:38 +00:00
R
b6718fdf5d
fix: try finding a socket, otherwise fail, respect user choice ( #1745 )
...
* fix: try finding a socket, otherwise fail, respect user choice
* Update cmd/root.go
Co-authored-by: Jason Song <i@wolfogre.com >
* Update cmd/root.go
Co-authored-by: Jason Song <i@wolfogre.com >
---------
Co-authored-by: Jason Song <i@wolfogre.com >
2023-04-23 19:02:56 +00:00
Jason Song
3715266494
Improve watchAndRun ( #1743 )
...
* fix: improve watchAndRun
* fix: lint
* fix: lint
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-19 04:19:40 +00:00
M.Yamashita
35d6e9f71e
Remove the comment-out code. ( #1691 )
...
Co-authored-by: Jason Song <i@wolfogre.com >
2023-04-19 03:46:00 +00:00
Andy Wang
d970056601
typo: fix expression of warning message on macOS ( #1693 )
...
Co-authored-by: Jason Song <i@wolfogre.com >
2023-04-19 03:00:33 +00:00
ChristopherHX
9884da0122
fix: environment handling windows (host mode) ( #1732 )
...
* fix: environment handling windows (host mode)
* fixup
* fixup
* add more tests
* fixup
* fix setenv
* fixes
* [skip ci] Apply suggestions from code review
Co-authored-by: Jason Song <i@wolfogre.com >
* Update side effects
---------
Co-authored-by: Jason Song <i@wolfogre.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-18 18:09:57 +00:00
Björn Brauer
de0644499a
fix: ensure networkmode "host" unless explicitly specified ( #1739 )
...
act defaults network mode to "host", but when `--container-options` are
passed on the CLI, it uses the docker CLI options parser, which fills
empty values with defaults, in which case network mode is set to
"default".
Unless the user explicitly sets `--container-options="--network=xxx"`,
we should always default to "host", to keep act's behaviour.
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-18 14:37:59 +00:00
Jason Song
816a7d410a
Avoid using log.Fatal in pkg/* ( #1705 )
...
* fix: common
* fix: in runner
* fix: decodeNode
* fix: GetMatrixes
* Revert "fix: common"
This reverts commit 6599803b6ae3b7adc168ef41b4afd4d89fc22f34.
* fix: GetOutboundIP
* test: fix cases
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-18 14:17:36 +00:00
ChristopherHX
50dcc57e4b
feat: support yaml env/secrets/inputs file ( #1733 )
...
* support yaml env/secrets/inputs file
* Update root.go
* read the docs again..
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-18 13:35:31 +00:00
dependabot[bot]
6d527bf1a3
build(deps): bump codecov/codecov-action from 3.1.1 to 3.1.2 ( #1735 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.1...v3.1.2 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 03:13:12 +00:00
ChristopherHX
97749a27b9
fix: ghc assignment typo ( #1729 )
...
* fix: ghc assignment typo
* fixup server_url
2023-04-13 14:09:29 +00:00
ChristopherHX
d70b225e85
fix: reusable workflow panic ( #1728 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-13 13:47:59 +00:00
Markus Wolf
c0130ed030
fix: add server_url attribute to github context ( #1727 )
...
* fix: add `server_url` attribute to github context
The `server_urL` attribute was missing in the `github` context.
Previously it was exposed as environment variable only.
Closes #1726
* fix: also set `api_url` and `graphql_url` attributes
2023-04-13 13:09:28 +00:00
R
148a545021
build(deps): update go-git to ce62f3e9ff86270538a514a68d3bd5563a733e3b ( #1725 )
2023-04-11 21:39:36 +00:00
dependabot[bot]
65a925b4ed
build(deps): bump github.com/docker/docker ( #1719 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 23.0.2+incompatible to 23.0.3+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v23.0.2...v23.0.3 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-10 19:47:01 +00:00
dependabot[bot]
c5ce502f9f
build(deps): bump github.com/spf13/cobra from 1.6.1 to 1.7.0 ( #1724 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.6.1...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-10 18:58:51 +00:00
dependabot[bot]
f2bd194c7f
build(deps): bump github.com/docker/cli ( #1722 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 23.0.2+incompatible to 23.0.3+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v23.0.2...v23.0.3 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-10 04:05:09 +00:00
dependabot[bot]
4ab812c1b1
build(deps): bump megalinter/megalinter from 6.22.1 to 6.22.2 ( #1720 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 6.22.1 to 6.22.2.
- [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/v6.22.1...v6.22.2 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-10 03:50:21 +00:00
dependabot[bot]
5a331d2d99
build(deps): bump github.com/rhysd/actionlint from 1.6.23 to 1.6.24 ( #1721 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.23 to 1.6.24.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.23...v1.6.24 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-10 03:33:33 +00:00
dependabot[bot]
3ae0a9dfb7
build(deps): bump golang.org/x/term from 0.6.0 to 0.7.0 ( #1723 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/term/releases )
- [Commits](https://github.com/golang/term/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 03:12:55 +00:00
dependabot[bot]
24b04dfa55
build(deps): bump github.com/docker/cli ( #1712 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 23.0.1+incompatible to 23.0.2+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v23.0.1...v23.0.2 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-08 15:23:08 +00:00
dependabot[bot]
68c72b9a51
build(deps): bump github.com/docker/docker ( #1711 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 23.0.1+incompatible to 23.0.2+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v23.0.1...v23.0.2 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-03 03:49:06 +00:00
dependabot[bot]
ad7a8a3559
build(deps): bump megalinter/megalinter from 6.21.0 to 6.22.1 ( #1710 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 6.21.0 to 6.22.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/v6.21.0...v6.22.1 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 03:13:25 +00:00
GitHub Actions
220d6f1251
chore: bump VERSION to 0.2.44
2023-04-01 02:17:52 +00:00
dependabot[bot]
6745999c10
build(deps): bump github.com/opencontainers/runc from 1.1.3 to 1.1.5 ( #1708 )
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.1.3 to 1.1.5.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.5/CHANGELOG.md )
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.3...v1.1.5 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-31 13:43:08 +00:00
Jason Song
8518d70bdf
feat: improve GetOutboundIP ( #1707 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-31 13:28:08 +00:00
Jason Song
d3dfde055a
fix: use os.UserHomeDir ( #1706 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-31 13:08:46 +00:00
Kris
75ffa205c4
Make sure working directory is respected when configured from matrix ( #1686 )
...
* Make sure working directory is respected when configured from matrix
* Fix regression by setting Workingdirectory on stepRun instead of step or too early
2023-03-28 12:24:03 +00:00
dependabot[bot]
351ae99bc1
build(deps): bump github.com/moby/buildkit from 0.11.4 to 0.11.5 ( #1703 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.11.4 to 0.11.5.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.11.4...v0.11.5 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-27 04:23:12 +00:00
dependabot[bot]
385d71a215
build(deps): bump github.com/mattn/go-isatty from 0.0.17 to 0.0.18 ( #1702 )
...
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty ) from 0.0.17 to 0.0.18.
- [Release notes](https://github.com/mattn/go-isatty/releases )
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.17...v0.0.18 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-27 04:04:40 +00:00
dependabot[bot]
f764ecb283
build(deps): bump github.com/imdario/mergo from 0.3.14 to 0.3.15 ( #1701 )
...
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo ) from 0.3.14 to 0.3.15.
- [Release notes](https://github.com/imdario/mergo/releases )
- [Commits](https://github.com/imdario/mergo/compare/v0.3.14...v0.3.15 )
---
updated-dependencies:
- dependency-name: github.com/imdario/mergo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-27 03:45:30 +00:00
dependabot[bot]
d65cf869e6
build(deps): bump actions/stale from 7 to 8 ( #1700 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 7 to 8.
- [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/v7...v8 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-27 03:29:53 +00:00
dependabot[bot]
775a128cd4
build(deps): bump megalinter/megalinter from 6.20.1 to 6.21.0 ( #1699 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 6.20.1 to 6.21.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/v6.20.1...v6.21.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 03:13:54 +00:00
Joseph Mearman
9fab59954c
full path required for extension install ( #1670 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2023-03-19 21:02:11 -07:00
dependabot[bot]
8c28c9fd8f
build(deps): bump actions/setup-go from 3 to 4 ( #1689 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-20 03:31:00 +00:00
dependabot[bot]
2fa0a5f769
build(deps): bump github.com/imdario/mergo from 0.3.13 to 0.3.14 ( #1688 )
...
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo ) from 0.3.13 to 0.3.14.
- [Release notes](https://github.com/imdario/mergo/releases )
- [Commits](https://github.com/imdario/mergo/compare/v0.3.13...v0.3.14 )
---
updated-dependencies:
- dependency-name: github.com/imdario/mergo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-20 03:12:28 +00:00
dependabot[bot]
a6c95ef2a7
build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 ( #1650 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2023-03-19 23:56:15 +00:00
dependabot[bot]
5a2112a7f8
build(deps): bump megalinter/megalinter from 6.20.0 to 6.20.1 ( #1679 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 6.20.0 to 6.20.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/v6.20.0...v6.20.1 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-19 23:37:58 +00:00
dependabot[bot]
fad986af5f
build(deps): bump fregante/setup-git-user from 1 to 2 ( #1664 )
...
Bumps [fregante/setup-git-user](https://github.com/fregante/setup-git-user ) from 1 to 2.
- [Release notes](https://github.com/fregante/setup-git-user/releases )
- [Commits](https://github.com/fregante/setup-git-user/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: fregante/setup-git-user
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-19 23:21:57 +00:00
Yann Pellegrini
35cac27f4c
Add example command for collecting artifacts ( #1671 )
...
Co-authored-by: Markus Wolf <KnisterPeter@users.noreply.github.com >
2023-03-19 22:47:47 +00:00
Shubh Bapna
636c8a34ae
feat: specify matrix on command line ( #1675 )
...
* added matrix option
* select the correct subset of matrix configuration after producing all the matrix configuration
* add tests
* update readme
* lint fix
* remove matrix from readme
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-19 17:25:55 +00:00
Shubham Agrawal
09de42f067
Support for docker steps in host environment ( #1674 )
...
* Support for docker steps in host environment
* removed workdir changes
2023-03-14 14:07:31 +00:00
Markus Wolf
6744e68ee2
fix: correct ref and ref_name ( #1672 )
...
* fix: correct ref and ref_name
The ref in the GitHub context is always full qualified
(e.g. refs/heads/branch, refs/tags/v1).
The ref_name is the ref with the strippep prefix.
In case of pull_requests, this is the merge commit ref
(e.g. refs/pull/123/merge -> 123/merge).
* test: update test data
2023-03-09 20:03:13 +00:00
Jason Song
ac5dd8feb8
fix: return err in walk ( #1667 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-08 15:13:11 +00:00
ChristopherHX
24440d9f15
test: Enshure ForcePull config doesn't break docker actions (1661)
2023-03-08 14:57:49 +00:00
ChristopherHX
f3c88b5091
fix: crash if the id tool fails to run in the container (1660)
2023-03-08 14:41:25 +00:00
dependabot[bot]
aeee2052de
build(deps): bump github.com/moby/buildkit from 0.11.3 to 0.11.4 ( #1669 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.11.3 to 0.11.4.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.11.3...v0.11.4 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 20:27:33 +00:00
dependabot[bot]
7ee2138418
build(deps): bump megalinter/megalinter from 6.19.0 to 6.20.0 ( #1665 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 6.19.0 to 6.20.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/v6.19.0...v6.20.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-06 03:30:59 +00:00
dependabot[bot]
8dbd151fa7
build(deps): bump golang.org/x/term from 0.5.0 to 0.6.0 ( #1666 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/golang/term/releases )
- [Commits](https://github.com/golang/term/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 03:12:42 +00:00
Tony Soloveyv
6601d8d8e8
Improve XDG Spec supporting ( #1656 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-03 14:39:02 +00:00
Jason Song
19abab6375
fix: safe file name ( #1651 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-03-03 08:38:33 +00:00
Alex Savchuk
973dd7f7ef
fix: compare properties of Invalid types ( #1645 )
...
* fix: compare properties of Invalid types
fix: compare properties of Invalid types #1643
* fix linter problem
* Fix review comment
2023-03-03 08:16:33 +00:00
github-actions[bot]
44b510f48c
chore: bump VERSION to 0.2.43
2023-03-01 02:33:29 +00:00
Alex Savchuk
5500c928eb
fix: github.job property is empty, GITHUB_JOB should be job id ( #1646 )
...
* fix: github.job property is empty, GITHUB_JOB should be job id
fix: github.job property is empty #1621
fix: GITHUB_JOB should be the id not the name #1473
* fix linter problem.
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-27 19:10:31 +00:00
dependabot[bot]
04d12b0206
build(deps): bump github.com/opencontainers/image-spec ( #1649 )
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.0.3-0.20220303224323-02efb9a75ee1 to 1.1.0-rc2.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Commits](https://github.com/opencontainers/image-spec/commits/v1.1.0-rc2 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 03:25:06 +00:00
Markus Wolf
89cb558558
fix: update output handling for reusable workflows ( #1521 )
...
* fix: map job output for reusable workflows
This fixes the job outputs for reusable workflows. There is
a required indirection. Before this we took the outputs from
all jobs which is not what users express with the workflow
outputs.
* fix: remove double evaluation
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-23 22:34:47 +00:00
ChristopherHX
53095d76f4
fix: crash malformed composite action ( #1616 )
...
* fix: crash malformed composite action
* Add remote composite action test
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-23 22:16:07 +00:00
R
4b56aced15
docs: remove help section ( #1648 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-23 18:51:01 +00:00
ChristopherHX
05eaeaa528
feat: workflowpattern package ( #1618 )
...
* feat: workflowpattern package
* nolint:gocyclo
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-23 18:21:08 +00:00
dependabot[bot]
4eba04b229
build(deps): bump github.com/containerd/containerd from 1.6.16 to 1.6.18 ( #1637 )
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.6.16 to 1.6.18.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.6.16...v1.6.18 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-23 17:31:11 +00:00
R
8790c9b8e6
fix: add GITHUB_STEP_SUMMARY ( #1607 )
2023-02-23 15:24:44 +00:00
dependabot[bot]
b7a9eb9fbf
build(deps): bump golang.org/x/net from 0.4.0 to 0.7.0 ( #1636 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.4.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/compare/v0.4.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 03:44:53 +00:00
dependabot[bot]
2f55276cea
build(deps): bump github.com/moby/buildkit from 0.11.2 to 0.11.3 ( #1635 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.11.2 to 0.11.3.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.11.2...v0.11.3 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 03:21:34 +00:00
Josh Soref
be4a1477a5
fix: tolerate workflow that needs a missing job ( #1595 ) ( #1619 )
...
Change planner functions to return errors
This enables createStages to return `unable to build dependency graph`
Fix PlanEvent to properly report errors relating to events/workflows
2023-02-16 16:41:59 +00:00
ChristopherHX
21ea3d0d5f
chore: Remove obsolete Container.UpdateFromPath ( #1631 )
...
* chore: Remove obsolete Container.UpdateFromPath
* remove unused import
2023-02-16 16:11:26 +00:00
Jason Song
1316307313
chore: use new style octal ( #1630 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-16 15:34:51 +00:00
Jason Song
b0a5068f6d
fix: don't override env ( #1629 )
2023-02-16 15:16:46 +00:00
sitiom
34ab8150bf
ci: add Winget Releaser workflow ( #1623 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-13 17:59:19 +00:00
dependabot[bot]
8048baf435
build(deps): bump github.com/opencontainers/selinux ( #1625 )
...
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) from 1.10.2 to 1.11.0.
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/v1.10.2...v1.11.0 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/selinux
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-13 04:19:59 +00:00
dependabot[bot]
7c3c5349ab
build(deps): bump github.com/docker/docker ( #1624 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 23.0.0+incompatible to 23.0.1+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v23.0.0...v23.0.1 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-13 03:49:37 +00:00
dependabot[bot]
98ad62fcef
build(deps): bump github.com/docker/cli ( #1626 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 23.0.0+incompatible to 23.0.1+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v23.0.0...v23.0.1 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 03:33:22 +00:00
sitiom
c378a7d28b
chore: add Winget installation instructions ( #1622 )
2023-02-11 18:25:22 +00:00
Aidan
44333c758a
Pass dockerfile to build executor ( #1606 )
...
This allows testing actions with non standard dockerfile names
Signed-off-by: Aidan Jensen <aidan@artificial.com >
2023-02-08 17:14:43 +00:00
dependabot[bot]
36dbbc1dfa
build(deps): bump github.com/docker/cli from 23.0.0-rc.1+incompatible to 23.0.0+incompatible ( #1611 )
...
* build(deps): bump github.com/docker/cli
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 23.0.0-rc.1+incompatible to 23.0.0+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v23.0.0-rc.1...v23.0.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* update-test
* update test
---------
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 >
2023-02-06 12:33:42 +00:00
dependabot[bot]
f41e9127a8
build(deps): bump github.com/docker/docker ( #1613 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 23.0.0-rc.3+incompatible to 23.0.0+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v23.0.0-rc.3...v23.0.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-06 03:25:34 +00:00
dependabot[bot]
460c78da07
build(deps): bump megalinter/megalinter from 6.18.0 to 6.19.0 ( #1610 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 6.18.0 to 6.19.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/v6.18.0...v6.19.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-06 03:05:59 +00:00
dependabot[bot]
22dc1e0e7e
build(deps): bump github.com/go-git/go-billy/v5 from 5.4.0 to 5.4.1 ( #1612 )
...
Bumps [github.com/go-git/go-billy/v5](https://github.com/go-git/go-billy ) from 5.4.0 to 5.4.1.
- [Release notes](https://github.com/go-git/go-billy/releases )
- [Commits](https://github.com/go-git/go-billy/compare/v5.4.0...v5.4.1 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-billy/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-06 02:51:12 +00:00
dependabot[bot]
281a52f0d6
build(deps): bump github.com/joho/godotenv from 1.4.0 to 1.5.1 ( #1614 )
...
Bumps [github.com/joho/godotenv](https://github.com/joho/godotenv ) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/joho/godotenv/releases )
- [Commits](https://github.com/joho/godotenv/compare/v1.4.0...v1.5.1 )
---
updated-dependencies:
- dependency-name: github.com/joho/godotenv
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 02:36:56 +00:00
ChristopherHX
e775fea265
refactor: GITHUB_ENV command / remove env.PATH ( #1503 )
...
* fix: GITHUB_ENV / PATH handling
* apply workaround
* add ctx to ApplyExtraPath
* fix: Do not leak step env in composite
See https://github.com/nektos/act/pull/1585 for a test
* add more tests
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-04 13:35:13 +00:00
Aidan
24c16fbf25
Update max container name length ( #1597 )
...
* Update max container name length
Signed-off-by: Aidan Jensen <aidan@artificial.com >
* Use hashed name instead to prevent conflicts
Signed-off-by: Aidan Jensen <aidan@artificial.com >
---------
Signed-off-by: Aidan Jensen <aidan@artificial.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-03 19:54:19 +00:00
Shubh Bapna
ce168f9595
feat: allow overriding of GITHUB_ env variables ( #1582 )
...
* allow overriding of GITHUB_ env variables
* bug fix for overriding env vars with empty string
* revert step.go
* refactor github_context to prevent lint failures. added more setters
* added ability to override github env variables
* handled base and head ref
2023-02-03 19:35:49 +00:00
Aidan
c4b64ec1c1
Docker build fixes ( #1596 )
...
- Join relative path and split dockerfile off to get context
Signed-off-by: Aidan Jensen <aidan@artificial.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-02-03 09:07:16 +00:00
ChristopherHX
f91b2aa5db
fix: Apply forcePull only for prebuild docker actions ( #1599 )
2023-02-02 17:24:35 +00:00
github-actions[bot]
72d03214c5
chore: bump VERSION to 0.2.42
2023-02-02 00:56:57 +00:00
Casey Lee
42b9b73d38
feat: cache notices to reduce frequency of upgrade notifications ( #1592 )
...
* feat: cache notices to reduce frequency of upgrade notifications
* fix: reduce WriteFile permissions
* fix: remove reference to deprecated lib
* fix: handle HTTP status 304
2023-02-01 16:54:57 -08:00
Casey Lee
787388daf5
chore: fix release script to trigger gh-act
2023-01-31 18:55:22 -08:00
github-actions[bot]
b91e4b0d55
chore: bump VERSION to 0.2.41
2023-02-01 02:32:39 +00:00
dependabot[bot]
e259dc2835
build(deps): bump github.com/moby/buildkit from 0.11.1 to 0.11.2 ( #1589 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.11.1...v0.11.2 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-30 02:40:41 +00:00
dependabot[bot]
70ae63bd10
build(deps): bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 ( #1590 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.1...v3.4.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 02:26:24 +00:00
R
01952d05c8
cI: make stalebot less annoying ( #1587 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-29 16:44:53 +00:00
ChristopherHX
3748772201
test: Do not leak step env in composite ( #1585 )
...
* test: Do not leak step env in composite
To prevent merging regressions.
* Update runner_test.go
2023-01-29 14:47:56 +00:00
ChristopherHX
932863bef5
feat: step summary of test results ( #1580 )
...
* feat: step summary of test results
* fix: indent style
* fix: handle failed tests
* fix upload / create a logs artifact
* Update checks.yml
* fix: always upload logs
* fix: run success
* Move steps into a composite action
* use args and not the hardcoded ones
* format composite action
* format
2023-01-25 08:14:51 +00:00
dependabot[bot]
09e9f6a1ac
build(deps): bump github.com/moby/buildkit from 0.11.0 to 0.11.1 ( #1576 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.11.0...v0.11.1 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-23 04:06:21 +00:00
dependabot[bot]
a2856aed75
build(deps): bump golang.org/x/term from 0.3.0 to 0.4.0 ( #1577 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/golang/term/releases )
- [Commits](https://github.com/golang/term/compare/v0.3.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-23 03:42:24 +00:00
dependabot[bot]
612e08f113
build(deps): bump github.com/docker/docker ( #1573 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 23.0.0-rc.1+incompatible to 23.0.0-rc.3+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v23.0.0-rc.1...v23.0.0-rc.3 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-23 03:25:31 +00:00
dependabot[bot]
1b7212f5fd
build(deps): bump github.com/rhysd/actionlint from 1.6.22 to 1.6.23 ( #1574 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.22 to 1.6.23.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.22...v1.6.23 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-23 03:11:28 +00:00
dependabot[bot]
75d19d0ff5
build(deps): bump actions/github-script from 5 to 6 ( #1572 )
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 5 to 6.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 02:56:38 +00:00
Casey Lee
7ada9d3f74
chore: update docs for installing act as GH CLI extension
2023-01-20 10:22:58 -08:00
Casey Lee
78e1ceb0a8
feat: release extension
2023-01-20 10:13:18 -08:00
Casey Lee
d690a5fee9
feat: release extension
2023-01-20 10:11:34 -08:00
Casey Lee
19e6929398
feat: release extension
2023-01-20 10:10:20 -08:00
ChristopherHX
b00babd0d9
refactor: pull and rebuild docker by default ( #1569 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-20 15:46:43 +00:00
Markus Wolf
82a8c1e80d
feat: add remote reusable workflows ( #1525 )
...
* feat: add remote reusable workflows
This changes adds cloning of a remote repository to
run a workflow included in it.
Closes #826
* fix: defer plan creation until clone is done
We need wait for the full clone (and only clone once)
before we start to plan the execution for a remote workflow
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-19 20:49:11 +00:00
Yoshiaki Yoshida
566b9d843e
Fixed auto-generated platform configuration with Micro size image ( #1566 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-19 06:49:16 +00:00
Alexandre Lavigne
7ebcc1c816
Feature/allow worktrees ( #1530 )
...
* Use go-git to find remote URL
* Use go-git package to resolve HEAD revision (commit sha1)
* Use go-git to find checked-out reference
* Remove unused functions
2023-01-19 06:29:23 +00:00
github-actions[bot]
3e23b4fbb5
chore: bump VERSION to 0.2.40
2023-01-16 21:35:04 +00:00
Casey Lee
63ae215071
fix: update artifact server to address GHSL-2023-004 ( #1565 )
2023-01-16 21:01:54 +00:00
github-actions[bot]
efb12b7f12
chore: bump VERSION to 0.2.39
2023-01-16 20:07:23 +00:00
Casey Lee
b3c06dc19d
chore: fix promote script
2023-01-16 09:57:35 -08:00
Casey Lee
0d0780580c
chore: bump version
2023-01-16 09:54:43 -08:00
Casey Lee
872a69548c
chore: makefile update
2023-01-16 09:43:53 -08:00
Casey Lee
33cb8bca64
chore: bump version
2023-01-16 09:39:52 -08:00
dependabot[bot]
d8ba8cbf17
build(deps): bump github.com/moby/buildkit from 0.10.6 to 0.11.0 ( #1563 )
...
* build(deps): bump github.com/moby/buildkit from 0.10.6 to 0.11.0
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.10.6 to 0.11.0.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.10.6...v0.11.0 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* chore: use new patternmatcher.Matches
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <caseypl@amazon.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-16 17:26:22 +00:00
Casey Lee
003947ea33
chore: push new version
2023-01-16 09:11:29 -08:00
Philippe Schenker
0988b47752
Readme: Fix shell installation ( #1547 )
...
Use the -s (silent) flag so curl does not pass metainformation like
downloadspeed etc to bash.
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2023-01-16 14:30:11 +00:00
Robin Breathe
d064863f9b
fix: allow override of artifact server bind address ( #1560 )
...
* Prior to this change, the artifact server always binds to the detected
"outbound IP", breaks functionality when that IP is unroutable.
For example, Zscaler assigns the host a local CGNAT address,
100.64.0.1, which is unreachable from Docker Desktop.
* Add the `--artifact-server-addr` flag to allow override of the address
to which the artifact server binds, defaulting to the existing
behaviour.
Fixes : #1559
2023-01-16 14:12:20 +00:00
Casey Lee
93907931df
feat: add check for newer versions ( #1562 )
...
* feat: add check for newer versions
* fix: support JSON logger and rever updates to go.mod
* fix: keep version updated in source code
* fix: lint errors
* fix: revert go.*
2023-01-15 10:30:41 +00:00
Shubh Bapna
767e6a8696
Input ( #1524 )
...
* added input flags
* added input as part of the action event and added test cases
* updated readme
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2023-01-13 19:28:17 +00:00
ChristopherHX
b2fb9e64ac
refactor: remove docker image list reference filter ( #1501 )
...
* refactor: remove docker reference filter
* make it work
* solve logic failure
* Another mistake
* another one
* revert signature of ImageExistsLocally
It is better to keep two return values
2023-01-13 17:52:54 +00:00
ChristopherHX
8b4f210872
fix: add-matcher fails github workflow ( #1532 )
...
* fix: add-matcher fails github workflow
* make linter happy
2023-01-13 17:01:40 +00:00
Björn Brauer
3f3b25ae84
feat: add support for building docker actions with private registries ( #1557 )
...
This commit adds a new `LoadDockerAuthConfigs` function, which loads all
registry auths that are configured on the host and sends them with the build
command to the docker daemon.
This is needed in case act builds a docker action and the images referenced in
that docker action are located on private registries or otherwise require
authentication (e.g. to get a higher rate limit).
The code is adapted from how the docker cli works:
257ff41304/cli/command/image/build.go (L323-L332)
Co-authored-by: Markus Wolf <mail@markus-wolf.de >
Co-authored-by: Markus Wolf <mail@markus-wolf.de >
2023-01-12 21:29:30 +00:00
dependabot[bot]
3ac756b37a
build(deps): bump github.com/containerd/containerd from 1.6.6 to 1.6.12 ( #1554 )
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.6.6 to 1.6.12.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.6.6...v1.6.12 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-10 22:23:48 +00:00
ChristopherHX
7e8d070811
feat: Allow building without docker support ( #1507 )
...
* feat: Allow building without docker support
* fix macos build tag
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-10 22:08:57 +00:00
ChristopherHX
a53a1c2000
fix: extra path lost in composite actions ( #1531 )
...
* test: define test case of path issues
Test case for #1528
* test: add multi arch grep
* fix: Always use current ExtraPath
* replace setup-node with run step
* Update push.yml
* yaml mistake
Co-authored-by: Markus Wolf <mail@markus-wolf.de >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-10 21:55:05 +00:00
Markus Wolf
3f4a6dc462
test: make sure workflow_call is not a github event calling our workflow ( #1520 )
...
Since reusable workflows are defining inputs and ouputs using the
on.workflow_call syntax, this could also be triggered by a workflow_call
event. That event does not exist within GitHub and we should make
sure our worklow is not called by that kind of 'synthetic' event.
See 74da5b085c (r1042413431)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-10 21:43:12 +00:00
Markus Wolf
b14398eff3
fix: preserve job result state in case of failure ( #1519 )
...
* fix: preserve job result state in case of failure
There is just one job field for the job result. This is also true for
matrix jobs. We need to preserve the failure state of a job to
have the whole job failing in case of one permuation of the matrix failed.
Closes #1518
* test: remove continue-on-error on job level
This feature is not yet supported by act and if implemented
would make this test invalid
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-10 21:31:12 +00:00
dependabot[bot]
f0c6fa11be
build(deps): bump megalinter/megalinter from 6.17.0 to 6.18.0 ( #1550 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 6.17.0 to 6.18.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/v6.17.0...v6.18.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 21:16:52 +00:00
dependabot[bot]
cfc1b91aa1
build(deps): bump megalinter/megalinter from 6.16.0 to 6.17.0 ( #1540 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 6.16.0 to 6.17.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/v6.16.0...v6.17.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 02:43:57 +00:00
dependabot[bot]
0d388572a8
build(deps): bump github.com/mattn/go-isatty from 0.0.16 to 0.0.17 ( #1539 )
...
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty ) from 0.0.16 to 0.0.17.
- [Release notes](https://github.com/mattn/go-isatty/releases )
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.16...v0.0.17 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 02:27:22 +00:00
dependabot[bot]
9c7085195c
build(deps): bump github.com/go-git/go-billy/v5 from 5.3.1 to 5.4.0 ( #1541 )
...
Bumps [github.com/go-git/go-billy/v5](https://github.com/go-git/go-billy ) from 5.3.1 to 5.4.0.
- [Release notes](https://github.com/go-git/go-billy/releases )
- [Commits](https://github.com/go-git/go-billy/compare/v5.3.1...v5.4.0 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-billy/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-02 02:13:45 +00:00
dependabot[bot]
e3a722e7c6
build(deps): bump megalinter/megalinter from 6.15.0 to 6.16.0 ( #1534 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 6.15.0 to 6.16.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/v6.15.0...v6.16.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-26 02:28:46 +00:00
dependabot[bot]
d3ce2b0a46
build(deps): bump actions/stale from 6 to 7 ( #1535 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 6 to 7.
- [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/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-26 02:13:17 +00:00
ChristopherHX
4989f444f1
revert: deprecation of containerArchitecture ( #1514 )
...
* fix: ci snaphot job
* revert: deprecation of containerArchitecture
This option isn't part of parsed docker cli flags
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-19 21:24:05 +00:00
dependabot[bot]
c044035d9e
build(deps): bump goreleaser/goreleaser-action from 3 to 4 ( #1515 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 3 to 4.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-19 15:46:21 +00:00
dependabot[bot]
767969502a
build(deps): bump github.com/docker/cli ( #1516 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 20.10.21+incompatible to 20.10.22+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v20.10.21...v20.10.22 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-19 15:33:25 +00:00
dependabot[bot]
469d024c1f
build(deps): bump github.com/docker/docker ( #1517 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.21+incompatible to 20.10.22+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v20.10.21...v20.10.22 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-19 15:20:49 +00:00
ChristopherHX
6ab71ecebb
fix: align runner.os / runner.arch to known values ( #1510 )
...
* fix: align runner.os / runner.arch to known values
* .
* .
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-19 14:58:55 +00:00
Aaron Holmes
bef9b5c3c7
feat: Support "result" on "needs" context. ( #1497 )
...
* Support "result" on "needs" context.
This change adds "result" to a job's "needs" context, as documented [here](https://docs.github.com/en/actions/learn-github-actions/contexts#needs-context ). `act` currently tracks the success/failure/cancelled status of a job, but does not include this value the `needs` context.
Fixes #1367
* Change `Needs` to use a new struct rather than the open type `interface{}`.
Related #1497
Fixes #1367
* Add integration test to "needs" context change.
Relates: #1497
* feat: allow to spawn and run a local reusable workflow (#1423 )
* feat: allow to spawn and run a local reusable workflow
This change contains the ability to parse/plan/run a local
reusable workflow.
There are still numerous things missing:
- inputs
- secrets
- outputs
* feat: add workflow_call inputs
* test: improve inputs test
* feat: add input defaults
* feat: allow expressions in inputs
* feat: use context specific expression evaluator
* refactor: prepare for better re-usability
* feat: add secrets for reusable workflows
* test: use secrets during test run
* feat: handle reusable workflow outputs
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* refactor: fix savestate in pre steps (#1466 )
* refactor: fix savestate in pre steps
* fix pre steps collision
* fix tests
* remove
* enable tests
* Update pkg/runner/action.go
* Rename InterActionState to IntraActionState
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* fix: tail (not absolute) as entrypoint of job container (#1506 )
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* Fix conflict in merge.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-19 08:37:53 +00:00
ChristopherHX
0c8c082ac0
fix: tail (not absolute) as entrypoint of job container ( #1506 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-15 17:31:59 +00:00
ChristopherHX
b8d7e947cf
refactor: fix savestate in pre steps ( #1466 )
...
* refactor: fix savestate in pre steps
* fix pre steps collision
* fix tests
* remove
* enable tests
* Update pkg/runner/action.go
* Rename InterActionState to IntraActionState
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-15 17:08:31 +00:00
Markus Wolf
a8e05cded6
feat: allow to spawn and run a local reusable workflow ( #1423 )
...
* feat: allow to spawn and run a local reusable workflow
This change contains the ability to parse/plan/run a local
reusable workflow.
There are still numerous things missing:
- inputs
- secrets
- outputs
* feat: add workflow_call inputs
* test: improve inputs test
* feat: add input defaults
* feat: allow expressions in inputs
* feat: use context specific expression evaluator
* refactor: prepare for better re-usability
* feat: add secrets for reusable workflows
* test: use secrets during test run
* feat: handle reusable workflow outputs
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-15 16:45:22 +00:00
ChristopherHX
d281230cce
refactor: fix add-path / GITHUB_PATH commands ( #1472 )
...
* fix: add-path / GITHUB_PATH commands
* Disable old code
* fix: missing mock
* Update tests
* fix tests
* UpdateExtraPath skip on dryrun
* patch test
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-09 11:16:15 +00:00
ChristopherHX
7d9951200f
feat: JobLoggerFactory ( #1496 )
...
Remove overriding io.Stdout in TestMaskValues to prevent deadlock in GitHub Actions
2022-12-09 10:25:32 +00:00
Markus Wolf
0f8861b9e3
fix: handle env-vars case sensitive ( #1493 )
...
Closes #1488
2022-12-07 15:31:33 +00:00
ChristopherHX
8c5748a55c
fix: step env is unavailable in with property expr ( #1458 )
...
* fix: step env is unavailable in with property expr
* don't run the test on windows
* fix: composite action add missing shell
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-06 16:46:20 +00:00
ChristopherHX
57bf4d27a2
refactor: share UpdateFromEnv logic ( #1457 )
...
* refactor: share UpdateFromEnv logic
* Add test for GITHUB_OUTPUT
Co-authored-by: Ben Randall <veleek@gmail.com >
* Add GITHUB_STATE test
* Add test for the old broken parser
Co-authored-by: Ben Randall <veleek@gmail.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-06 16:19:27 +00:00
ChristopherHX
4c2524ab4d
feat: --container-options ( #1462 )
...
* feat: `--container-options`
This deprecates the following options
- `--privileged`
- `--container-cap-add`
- `--container-cap-drop`
- `--container-architecture`
- `--userns`
* Merge binds/mounts, add desc
* avoid linter error
* fix: apply options to step env / deprecate warning
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-06 15:58:47 +00:00
ChristopherHX
d9fe63ec24
refactor: move autoremove into the jobexecutor ( #1463 )
...
* refactor: move autoremove into the jobexecutor
breaking: docker container are removed after job exit
* reduce complexity
* remove linter exception
* reduce cyclic complexity
* fix: always allow 1 min for stopping and removing the runner, even if we were cancelled
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-06 15:45:06 +00:00
ChristopherHX
7073eac240
docs: clarifying skipping steps / jobs ( #1480 )
...
* docs: clarifying skipping steps / jobs
* fix lint
* Update README.md
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-06 15:09:13 +00:00
Brice Dutheil
1797775be3
Pass LANG=C.UTF-8 to environment ( #1476 )
...
* fix: pass LANG=C.UTF-8 to environment
Fixes : #1308
* fix: pass LANG=C.UTF-8 to environment in container only
Fixes : #1308
Signed-off-by: Brice Dutheil <brice.dutheil@gmail.com >
Signed-off-by: Brice Dutheil <brice.dutheil@gmail.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-06 10:36:39 +00:00
dependabot[bot]
7754ba7fcf
build(deps): bump megalinter/megalinter from 6.14.0 to 6.15.0 ( #1475 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 6.14.0 to 6.15.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/v6.14.0...v6.15.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 02:16:11 +00:00
Simon Willison
fcbb6d517d
act -j -W example ( #1471 )
...
An example of running a job in a specific workflow.
Refs #1468
2022-11-27 15:47:43 +00:00
Lim Chun Leng
87327286d5
Fix shellcommand error on sh shell ( #1464 )
...
Co-authored-by: Lim Chun Leng <limchunleng@gmail.com >
2022-11-25 10:38:49 +00:00
Femi Bankole
3553b2697c
fix typo ( #1456 )
2022-11-23 07:15:02 -08:00
dependabot[bot]
ccb3b0e875
build(deps): bump github.com/creack/pty from 1.1.17 to 1.1.18 ( #1447 )
...
Bumps [github.com/creack/pty](https://github.com/creack/pty ) from 1.1.17 to 1.1.18.
- [Release notes](https://github.com/creack/pty/releases )
- [Commits](https://github.com/creack/pty/compare/v1.1.17...v1.1.18 )
---
updated-dependencies:
- dependency-name: github.com/creack/pty
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-11-22 18:10:03 +00:00
Randolph Chung
5200c49155
fix: handle subdirectors and exclusions ( #1012 ) ( #1446 )
2022-11-21 14:47:38 +00:00
Magnus Markling
a108f10ccc
Remove dead code ( #1425 )
...
Co-authored-by: Casey Lee <cplee@nektos.com >
2022-11-16 22:12:00 +00:00
Markus Wolf
809da7198c
feat: interpolate the step names ( #1422 )
...
* feat: interpolate the step names
Step names could contain expressions refering to event data.
Fixes #1353
* test: add missing mock data
* fix: setup composite expression evaluator
The RunContext does contain a cached ExpressionEvaluator.
This should be the case the composite RunContext as well.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <cplee@nektos.com >
2022-11-16 21:55:23 +00:00
ChristopherHX
e520382d2f
feat: GITHUB_STATE and GITHUB_OUTPUT file commands ( #1391 )
...
* feat: set-state and set-output file commands
* increase test timeout from 10m to 15m
* Prepare for HostExecutor PR
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-11-16 21:42:57 +00:00
ChristopherHX
f2b98ed301
feat: Host environment ( #1293 )
2022-11-16 21:29:45 +00:00
dependabot[bot]
64e68bd7f2
build(deps): bump github.com/moby/buildkit from 0.10.5 to 0.10.6 ( #1437 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.10.5 to 0.10.6.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.10.5...v0.10.6 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-11-16 21:02:46 +00:00
Markus Wolf
2614b3eb0c
fix: keep path to event json file in composite actions ( #1428 )
...
* fix: keep path to event json file in composite actions
The event.json paths need to be copied over, since it the
GithubContext is recreated from the composite RC. And that
does read some value for the event file if available.
* test: add test case
* test: paste the test correctly and revert a line
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-11-16 17:00:49 +00:00
dependabot[bot]
1b554aeff6
build(deps): bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 ( #1436 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.0...v3.3.1 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 02:14:53 +00:00
ChristopherHX
d97481d567
fix: nil pointer access ( workflow_dispatch )
2022-11-10 20:16:00 +00:00
Casey Lee
cf00e8d9bb
Update number of approvers required from 3 to 2
2022-11-08 08:02:43 -08:00
dependabot[bot]
c2329815b8
build(deps): bump megalinter/megalinter from 6.13.0 to 6.14.0 ( #1426 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 6.13.0 to 6.14.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/v6.13.0...v6.14.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-11-07 02:25:24 +00:00
dependabot[bot]
8036f49fb2
build(deps): bump github.com/rhysd/actionlint from 1.6.21 to 1.6.22 ( #1427 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.21 to 1.6.22.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.21...v1.6.22 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 02:13:11 +00:00
Markus Wolf
9b95a728d8
feat: parse types of reusable workflows ( #1414 )
...
This change does parse the different types of workflow jobs.
It is not much by itself but the start to implement reusable
workflows.
Relates to #826
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-11-01 15:58:07 +00:00
dependabot[bot]
a9298d936c
build(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1 ( #1420 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.6.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-31 02:43:57 +00:00
dependabot[bot]
e03b816c58
build(deps): bump github.com/docker/docker ( #1418 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.20+incompatible to 20.10.21+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.20...v20.10.21 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-31 02:32:04 +00:00
dependabot[bot]
ac6571c8af
build(deps): bump github.com/docker/cli ( #1419 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 20.10.20+incompatible to 20.10.21+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v20.10.20...v20.10.21 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 02:19:32 +00:00
dependabot[bot]
db850e818c
build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 ( #1404 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-30 14:22:54 +00:00
Eng Zer Jun
2f1c5a19f1
refactor: move from io/ioutil to io and os packages ( #1417 )
...
The io/ioutil package has been deprecated as of Go 1.16 [1]. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.
[1]: https://golang.org/doc/go1.16#ioutil
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-29 17:15:38 +00:00
Ben Drucker
a73d5063d8
Add user level Docker socket to common paths ( #1416 )
2022-10-29 05:58:16 +00:00
dependabot[bot]
e81dc0d295
build(deps): bump megalinter/megalinter from 6.12.0 to 6.13.0 ( #1407 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 6.12.0 to 6.13.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/v6.12.0...v6.13.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-24 03:38:06 +00:00
dependabot[bot]
925ac2098b
build(deps): bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 ( #1408 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.2.0...v3.3.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-24 03:26:50 +00:00
dependabot[bot]
0d1dccca3a
build(deps): bump github.com/docker/docker ( #1403 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.19+incompatible to 20.10.20+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.19...v20.10.20 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-24 03:16:52 +00:00
dependabot[bot]
ca69531096
build(deps): bump github.com/docker/cli ( #1405 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 20.10.19+incompatible to 20.10.20+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v20.10.19...v20.10.20 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-24 03:04:58 +00:00
dependabot[bot]
07a18902ff
build(deps): bump github.com/moby/buildkit from 0.10.4 to 0.10.5 ( #1406 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.10.4 to 0.10.5.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.10.4...v0.10.5 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-24 02:43:52 +00:00
Zack Wang
bc17371017
Fixes #1387 ( #1388 )
2022-10-18 22:27:28 +00:00
dependabot[bot]
37f5b7f4a2
build(deps): bump megalinter/megalinter from 6.11.1 to 6.12.0 ( #1395 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 6.11.1 to 6.12.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/v6.11.1...v6.12.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <caseypl@amazon.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-17 18:14:30 +00:00
dependabot[bot]
bd5e0d24d6
build(deps): bump github.com/docker/cli ( #1393 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 20.10.18+incompatible to 20.10.19+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v20.10.18...v20.10.19 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <caseypl@amazon.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-17 17:39:15 +00:00
dependabot[bot]
52c6edf0a4
build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 ( #1394 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <caseypl@amazon.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-17 17:26:48 +00:00
dependabot[bot]
6ff4491238
build(deps): bump github.com/docker/docker ( #1392 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.18+incompatible to 20.10.19+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.18...v20.10.19 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <caseypl@amazon.com >
2022-10-17 17:15:22 +00:00
Markus Wolf
1e0ef8ce69
Mapping workflow_dispatch inputs into the Expression inputs context ( #1363 )
...
* test: check workflow_dispatch inputs
This implements a test to check for `workflow_dispatch` inputs.
This will be a prerequisite for implementing the inputs.
* feat: map workflow_dispatch input to expression evaluator
This changes adds the workflow_dispatch event inputs
to the `inputs` context and maintaining the boolean type
* fix: coerce boolean input types
* fix: use step env if available, rc env otherwise
2022-10-17 16:25:26 +00:00
ChristopherHX
5d2eb1f238
fix: ci is failing since 2022-10-17 ( #1397 )
...
* Update push.yml
* Update main.yaml
* Update action.yml
2022-10-17 16:03:17 +00:00
Markus Wolf
ff5e289804
test: add test for networking setup in act ( #1375 )
...
* test: add test for networking setup in act
This test makes sure that the hostname inside of act is resolvable.
* fix: only merge existing container options
When merging parsed container options without options being
set in a job, the default docker options are returned and
will override the expected defaults by act (e.g. network mode).
This is a first attempt to mitigate this behavior and only
merge settings if something was requested on a job.
* refactor: split config merging into own function
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-12 16:30:56 +00:00
Markus Wolf
f0b1845802
fix: re-evaluate env for remote composite actions ( #1385 )
...
The env for remote composite actions need to be re-evaluated
at every stage (pre, main, post) as it is created during the
pre stage but there might be changes used as input to this
actions main stage (e.g. outputs for another action).
This is not required for local actions as their env is created
for the main stage (there is no pre stage).
Post stages do not need an updated env since they cannot recieve
inputs from other actions.
2022-10-12 16:19:32 +00:00
dependabot[bot]
4541139109
build(deps): bump megalinter/megalinter from 6.11.0 to 6.11.1 ( #1381 )
...
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 6.11.0 to 6.11.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/v6.11.0...v6.11.1 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-10 02:47:05 +00:00
dependabot[bot]
c7ccb0dde9
build(deps): bump gotest.tools/v3 from 3.0.3 to 3.4.0 ( #1379 )
...
Bumps [gotest.tools/v3](https://github.com/gotestyourself/gotest.tools ) from 3.0.3 to 3.4.0.
- [Release notes](https://github.com/gotestyourself/gotest.tools/releases )
- [Commits](https://github.com/gotestyourself/gotest.tools/compare/v3.0.3...v3.4.0 )
---
updated-dependencies:
- dependency-name: gotest.tools/v3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-10 02:37:39 +00:00
dependabot[bot]
c4be1cfd6d
build(deps): bump github.com/rhysd/actionlint from 1.6.20 to 1.6.21 ( #1380 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.20 to 1.6.21.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.20...v1.6.21 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-10 02:28:25 +00:00
dependabot[bot]
9f9f644d36
build(deps): bump github.com/imdario/mergo from 0.3.12 to 0.3.13 ( #1378 )
...
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo ) from 0.3.12 to 0.3.13.
- [Release notes](https://github.com/imdario/mergo/releases )
- [Commits](https://github.com/imdario/mergo/compare/0.3.12...v0.3.13 )
---
updated-dependencies:
- dependency-name: github.com/imdario/mergo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 02:17:23 +00:00
Markus Wolf
36310139e0
fix: interpolate action input defaults ( #1376 )
...
This fixes the regression to interpolate input defaults which contain
expressions.
2022-10-07 14:51:27 +00:00
Alex Savchuk
48188a6280
fix: support docker create arguments from container.options ( #1022 ) ( #1351 )
...
* fix: support docker create arguments from container.options (#1022 )
* fix processing of errors, add verbose logging, fix test
* disable linter for code copied from docker/cli
* fix all linter issues
* Add license info
* Add opts_test.go from docker/cli and required testdata
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-06 22:09:43 +00:00
Markus Wolf
679cac1677
Fix composite input handling ( #1345 )
...
* test: add test case for #1319
* fix: setup of composite inputs
This change fixes the composite action setup handling of inputs.
All inputs are taken from the env now. The env is composed of
the 'level above'.
For example:
- step env -> taken from run context
- action env -> taken from step env
- composite env -> taken from action env
Before this change the env setup for steps, actions and composite
run contexts was harder to understand as all parts looked into
one of these: parent run context, step, action, composite run context.
Now the 'data flow' is from higher levels to lower levels which should
make it more clean.
Fixes #1319
* test: add simple remote composite action test
Since we don't have a remote composite test at all
before this, we need at least the simplest case.
This does not check every feature, but ensures basic
availability of remote composite actions.
* refactor: move ActionRef and ActionRepository
Moving ActionRef and ActionRepository from RunContext into the
step, allows us to remove the - more or less - ugly copy operations
from the RunContext.
This is more clean, as each step does hold the data required anyway
and the RunContext shouldn't know about the action details.
* refactor: remove unused properties
2022-10-06 21:58:16 +00:00
Markus Wolf
1bade27534
fix: handle go closure iteration ( #1374 )
...
Copy the matrix to make it closure aware
2022-10-05 22:13:00 +00:00
dependabot[bot]
79384c35ab
build(deps): bump megalinter/megalinter from 5 to 6.11.0 ( #1370 )
...
* build(deps): bump megalinter/megalinter from 5 to 6.11.0
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter ) from 5 to 6.11.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/v5...v6.11.0 )
---
updated-dependencies:
- dependency-name: megalinter/megalinter
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* chore: updates to support new megalinter
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <caseypl@amazon.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-04 22:53:18 +00:00
dependabot[bot]
bec45d0dc4
build(deps): bump github.com/rhysd/actionlint from 1.6.19 to 1.6.20 ( #1371 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.19 to 1.6.20.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.19...v1.6.20 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 02:41:15 +00:00
dependabot[bot]
d587ce08e9
build(deps): bump github.com/opencontainers/selinux ( #1372 )
...
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/v1.10.1...v1.10.2 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/selinux
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 02:26:48 +00:00
Alex Savchuk
21484b5c1e
fix: show workflow info even if on.push is not defined ( #1329 ) ( #1335 )
...
* fix: show workflow info even if on.push is not defined (#1329 )
To fix listing of workflows in such cases list/graph filtering was split with planning.
Now act supports one of the following list (-l)/graph (-g) cases:
* show all jobs of loaded workflows: act -l
* show specific job JOBNAME: act -l -j JOBNAME
* show jobs of loaded workflows in which event EVENTNAME is set up: act -l EVENTNAME
* show jobs of loaded workflows in which first defined workflow event is set up: act -l --detect-event
For planning it supports:
* running specific job JOBNAME with triggered event determined from:
** CLI argument: act -j JOBNAME EVENTNAME
** first defined in loaded workflows event: act -j JOBNAME --detect-event
** only defined in loaded workflows event: act -j JOBNAME
** push event by default: act -j JOBNAME
* running jobs of loaded workflows in which event is set up, event is determined from:
** CLI argument: act EVENTNAME
** first defined in loaded workflows event: act --detect-event
** only defined in loaded workflows event: act
** push event by default: act
Except #1329 this PR fixes #1332 , #1318
* Update docs/help
2022-09-29 05:59:52 +00:00
Markus Wolf
13d530302e
fix: restore the job logger setup after job cancelation ( #1365 )
...
To be able to tag all log-lines with appropriate fields
after a workflow run is canceled, we need to restore
the JobLogger in the cancelation context.
2022-09-27 19:13:32 +00:00
Björn Brauer
00acf68188
feat: pass current matrix information to job logger ( #1364 )
...
For log processing of the JSON logs, we want to be able to know which
keys/values of the matrices were used.
This commit adds the current matrix map to the job logger.
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
2022-09-27 15:49:22 +00:00
Markus Wolf
97c083e902
fix: align github.ref to GitHub Action ( #1362 )
...
* fix: align github.ref to GitHub Action
The `github.ref` value should be `refs/heads/branch` in most cases.
There are a few exceptions handled by the code.
This change prefixes the default case with `refs/heads` and adds
tests for this and the excpetional cases.
* fix: correct existing assertions
2022-09-26 22:49:19 +00:00
ChristopherHX
7d0407fa4a
fix: crash on invalid docker credentials ( #1348 )
...
* fix: crash on invalid docker credentials
* add test
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-09-26 06:17:06 +00:00
ChristopherHX
6037182487
fix: missing defaults in nodejs pre ( #1349 )
...
* Update action.go
* add Test
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-09-26 06:08:08 +00:00
dependabot[bot]
d137ec8285
build(deps): bump codecov/codecov-action from 3.1.0 to 3.1.1 ( #1359 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.0...v3.1.1 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-09-26 02:37:58 +00:00
dependabot[bot]
3fccb5ae34
build(deps): bump github.com/rhysd/actionlint from 1.6.18 to 1.6.19 ( #1360 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.18 to 1.6.19.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.18...v1.6.19 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-09-26 02:28:23 +00:00
dependabot[bot]
9a494cac1e
build(deps): bump actions/stale from 5 to 6 ( #1357 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 5 to 6.
- [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/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 02:18:56 +00:00
Harsh Parekh
96ba76bff2
Arch best practice is to not run partial upgrades ( #1355 )
2022-09-22 05:38:36 +00:00
Felix Seifert
fb3368921a
Improve hint for inserting secrets securely ( #1354 )
2022-09-21 14:02:35 +00:00
dependabot[bot]
053bff19a7
build(deps): bump github.com/rhysd/actionlint from 1.6.17 to 1.6.18 ( #1352 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.17 to 1.6.18.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.17...v1.6.18 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 02:17:42 +00:00
dependabot[bot]
3a0fe6967f
build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.5 to 2.3.6 ( #1341 )
...
Bumps [github.com/AlecAivazis/survey/v2](https://github.com/AlecAivazis/survey ) from 2.3.5 to 2.3.6.
- [Release notes](https://github.com/AlecAivazis/survey/releases )
- [Commits](https://github.com/AlecAivazis/survey/compare/v2.3.5...v2.3.6 )
---
updated-dependencies:
- dependency-name: github.com/AlecAivazis/survey/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-09-12 02:35:03 +00:00
dependabot[bot]
ceac1f2429
build(deps): bump github.com/docker/cli ( #1340 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 20.10.17+incompatible to 20.10.18+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v20.10.17...v20.10.18 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-09-12 02:26:26 +00:00
dependabot[bot]
ca8767f080
build(deps): bump github.com/docker/docker ( #1339 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.17+incompatible to 20.10.18+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.17...v20.10.18 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 02:18:06 +00:00
Alex Savchuk
d1daf2f28d
fix: support expression for step's continue-on-error field ( #900 ) ( #1331 )
...
Co-authored-by: Markus Wolf <KnisterPeter@users.noreply.github.com >
2022-09-08 14:20:39 +00:00
Alex Savchuk
b514649c3d
fix: show workflow name when get error on yml parsing ( #1133 ) ( #1328 )
...
Additionally close workflow file when a job name is invalid
2022-09-06 20:41:43 +00:00
Jordan Harband
a20b1d4669
help output: use consistent terminology between -j & -l ( #1326 )
2022-08-31 18:41:56 +00:00
Fabian Kammel
e1b906813e
support runner.arch ( #1290 )
...
* support runner.arch
Signed-off-by: Fabian Kammel <fk@edgeless.systems >
* add arch to runner definition
Signed-off-by: Fabian Kammel <fk@edgeless.systems >
* get architecture from docker
Signed-off-by: Fabian Kammel <fk@edgeless.systems >
* Update pkg/container/docker_run.go
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
* lint: goimport file
Signed-off-by: Fabian Kammel <fk@edgeless.systems >
Co-authored-by: Casey Lee <caseypl@amazon.com >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-08-29 15:39:31 +00:00
dependabot[bot]
8bad6aca50
build(deps): bump github.com/moby/buildkit from 0.10.3 to 0.10.4 ( #1322 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.10.3...v0.10.4 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 02:28:08 +00:00
dependabot[bot]
9b146980df
build(deps): bump github.com/rhysd/actionlint from 1.6.16 to 1.6.17 ( #1321 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.16 to 1.6.17.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.16...v1.6.17 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 02:17:28 +00:00
dependabot[bot]
b23bbefc36
build(deps): bump github.com/mattn/go-isatty from 0.0.14 to 0.0.16 ( #1312 )
...
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty ) from 0.0.14 to 0.0.16.
- [Release notes](https://github.com/mattn/go-isatty/releases )
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.14...v0.0.16 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-08-22 02:25:54 +00:00
dependabot[bot]
cf9d82f69d
build(deps): bump github.com/rhysd/actionlint from 1.6.15 to 1.6.16 ( #1311 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.15 to 1.6.16.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.15...v1.6.16 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 02:17:13 +00:00
dependabot[bot]
12029e3df5
build(deps): bump github.com/go-ini/ini from 1.66.6 to 1.67.0 ( #1305 )
...
Bumps [github.com/go-ini/ini](https://github.com/go-ini/ini ) from 1.66.6 to 1.67.0.
- [Release notes](https://github.com/go-ini/ini/releases )
- [Commits](https://github.com/go-ini/ini/compare/v1.66.6...v1.67.0 )
---
updated-dependencies:
- dependency-name: github.com/go-ini/ini
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 02:16:24 +00:00
Markus Wolf
92ddcdae09
refactor: ignore already closed error ( #1285 )
...
* refactor: ignore already closed error
This hides the `file already cloesd` error as it is
distracting in the output and does not provide any value.
* refactor: use go errors
Co-authored-by: Casey Lee <caseypl@amazon.com >
2022-08-07 06:07:54 +00:00
ChristopherHX
3387fd72ee
fix: CI is unstable due to new linting rules ( #1292 )
2022-08-06 22:53:05 +00:00
Markus Wolf
3364f95569
fix: ensure all post steps are executed ( #1286 )
...
This fixes an issue in the chain of post steps introduced
while updating the step-logger for composite actions.
It includes a test case so we make sure this does not happen
again.
2022-07-29 19:43:24 +00:00
Ermal Kaleci
9d76bac4ef
walk submodule path instead of dir name ( #1282 )
...
* walk submodule path instead of dir name
* use file path instead of relative path
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-07-28 14:16:30 +00:00
Robert Kowalski
5f5b8959d6
fix: add parent step id in composite action step id ( #1268 )
...
when running nested composite actions, step ids were repeating
leading to errors in parsing the output. this patch adds the
parent step id to ste stepID field.
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-07-27 19:56:41 +00:00
Grigory Entin
ddee19b946
Made env interpolated instead of evaluated. ( #1222 )
...
* Made env interpolated instead of evaluated.
* [skip ci] Add Test Workflow file
* Activate Test
* fix Test
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2022-07-27 19:46:04 +00:00
dependabot[bot]
17dd54d692
build(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 ( #1273 )
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.8.1...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <caseypl@amazon.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-07-25 12:34:58 +00:00
Ikko Ashimine
108e3e0d51
Update README.md ( #1260 )
...
Github -> GitHub
Co-authored-by: Casey Lee <caseypl@amazon.com >
2022-07-25 12:24:40 +00:00
Robert Kowalski
1a71c52ef3
lint: add ReadHeaderTimeout ( #1277 )
...
currently build fail with:
```
run golangci-lint
Running [/home/runner/golangci-lint-1.47.0-linux-amd64/golangci-lint run --out-format=github-actions] in [] ...
Error: G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
```
for example in this PR:
https://github.com/nektos/act/runs/7405009660?check_suite_focus=true
this sets the required ReadHeaderTimeout
2022-07-25 12:12:48 +00:00
Markus Wolf
409446211f
fix: the number in the github event is of type number ( #1252 )
...
* fix: the number in the github event is of type number
The go %s formattig option outputs the type if the given
input value is not of type string.
* test: update test data as well
* fix: use floats
2022-07-12 11:36:53 +00:00
John OConnor
a5ceb54caf
only perform chown operation for non root users ( #1250 )
2022-07-08 22:39:42 +00:00
Hisham Muhammad
91296bd5eb
fix: allow TimeoutMinutes to be expression in Jobs ( #1247 )
...
This change stops act from rejecting valid entries such as
```
timeout-minutes: ${{ matrix.runtime == 'v8' && 30 || 15 }}
```
at the job level.
This change complements the fix that was already in place
for the Step struct, done in #1217 . See:
52f5c4592c
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-07-08 00:31:19 +00:00
R
e70b968924
fix: use docker images from dockerhub ( #1249 )
2022-07-08 00:21:51 +00:00
Eunsub LEE
aea17b1aa6
Improve --eventpath example command ( #1243 )
2022-07-06 04:38:11 +00:00
Muhammad Hammad
6837307212
Improve docs for events inputs ( #1238 )
...
* Added documentation on how to pass inputs for workflows that require them
* Added the correct command to trigger the workflow
Co-authored-by: Casey Lee <caseypl@amazon.com >
2022-07-05 19:05:05 +00:00
dependabot[bot]
4d9d6ecc92
build(deps): bump github.com/rhysd/actionlint from 1.6.14 to 1.6.15 ( #1239 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.14 to 1.6.15.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.14...v1.6.15 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-07-04 02:23:04 +00:00
dependabot[bot]
50f0b0e7f4
build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 ( #1240 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 02:14:05 +00:00
dependabot[bot]
9499612b58
build(deps): bump github.com/rhysd/actionlint from 1.6.13 to 1.6.14 ( #1234 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.13 to 1.6.14.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.13...v1.6.14 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <caseypl@amazon.com >
2022-06-29 19:19:35 -07:00
dependabot[bot]
4deb21344d
build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 ( #1233 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-29 19:19:13 -07:00
dependabot[bot]
c67abf2401
build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.5 ( #1232 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.2 to 1.7.5.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.5 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 02:28:30 +00:00
ChristopherHX
f71f2778f0
fix: checkout container path should always use / ( #1226 )
...
Container.CopyDir is no longer working with `\` as destpath.
2022-06-21 21:23:49 +00:00
Neo Hsu
de37f75077
feat: add option to bypass GHE for actions checkout ( #1162 )
...
* feat(#1161 ): add --through-action to assigned actions from GitHub
* docs(flags): add --through-action and --through-action-token flags description
* test(action, remote): add test case for ThroughAction
* refactor(command): rename command from --through-action to --actions-from-github
* refactor(command): rename command from --actions-from-github to --replace-ghe-action-with-github-com
2022-06-21 13:52:21 +00:00
Casey Lee
9d7595ab11
revert auto changelog generator
2022-06-20 17:02:49 -07:00
Casey Lee
225405c565
ignore release-notes.md to avoid dirty check in goreleaser
2022-06-20 16:53:20 -07:00
Casey Lee
06bf92c0fc
update to use PAT
2022-06-20 16:49:57 -07:00
Casey Lee
d1ca48642e
setup git user
2022-06-20 16:39:09 -07:00
Casey Lee
8d74ac8166
allow workflow_dispatch on tag-monthly
2022-06-20 16:33:24 -07:00
Casey Lee
b0ea7a9225
add monthly release
2022-06-20 16:31:51 -07:00
Casey Lee
5fe4c817c0
auto generate changelog ( #1225 )
2022-06-20 16:25:34 -07:00
Casey Lee
589731f67c
update runc and containerd ( #1224 )
2022-06-20 16:16:08 -07:00
ChristopherHX
b59e6dee6d
feat: non root user container ( #1202 )
...
* feat: non root user container
* Also chown WorkingDir
* .
* .
* Update docker_run.go
* Add Test
* Update runner_test.go
* Update docker_run.go
* Apply suggestions from code review
Co-authored-by: R <me@hackerc.at >
* remove cruft from master merge
Co-authored-by: R <me@hackerc.at >
Co-authored-by: Casey Lee <cplee@nektos.com >
Co-authored-by: Casey Lee <caseypl@amazon.com >
2022-06-20 15:47:39 -07:00
ChristopherHX
c30bc824b2
fix: processing of strategy.matrix.include ( #1200 )
...
* Update workflow.go
* Update workflow.go
* Update workflow.go
* Update workflow.go
* Update workflow.go
* Update workflow.go
* Add Tests
* Update workflow.go
* Modify Test
* use tabs
Co-authored-by: Casey Lee <cplee@nektos.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-20 15:33:07 -07:00
ChristopherHX
c3fb6864e8
fix: localcheckout mock ( #1198 )
...
* Update run_context.go
* Update step_action_remote.go
* Update step_action_remote.go
* [no ci] eval path
* Update step_action_remote.go
* Update step_action_remote.go
* Update step_action_remote.go
Co-authored-by: Casey Lee <cplee@nektos.com >
2022-06-20 15:14:14 -07:00
Grigory Entin
7105919f0c
Added support for chunked uploads. ( #1208 )
...
* Added tests for mid-size and big artifacts, reproducing a problem with chunked uploads.
* Added support for chunked uploads.
* Enforced overwriting uploaded artifacts on receiving the first chunk.
Co-authored-by: Casey Lee <cplee@nektos.com >
2022-06-20 15:06:55 -07:00
Markus Wolf
1d4c2aaa3f
fix: keep action inputs ( #1215 )
...
Do not initialize inputs a second time (in pre and main step).
When the action setup already run during pre step, we must not
re-run it during the main step, otherwise the inputs will be
overwritten by possible other action inputs.
2022-06-20 14:58:51 -07:00
Björn Brauer
4391a10d5a
Improve logging ( #1171 )
...
* feat: use logger from context wherever possible
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
* feat: add step/job id and results to json logs
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
* test: value to be masked should not be hard-coded in the action
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
* fix: replace values following ::add-mask:: in evaluated strings
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
* feat: [DEBUG] identifier for debug logs to distinguish them
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
* feat: replace logger with step logger
The container gets injected a job logger, but during the time that steps
are run, we want to use the step logger.
This commit wraps pre/main/post steps in an executor that replaces the
job logger with a step logger.
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
* feat: add pre/post stage identifier fields to json log output
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
* feat: add job/step result status to skipped steps/jobs
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-17 15:55:21 +00:00
R
52f5c4592c
fix: allow TimeoutMinutes to be expression ( #1217 )
2022-06-16 20:57:19 +00:00
dependabot[bot]
3415347efc
build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 ( #1213 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-13 02:39:43 +00:00
dependabot[bot]
084c4e61d9
build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.4 to 2.3.5 ( #1214 )
...
Bumps [github.com/AlecAivazis/survey/v2](https://github.com/AlecAivazis/survey ) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/AlecAivazis/survey/releases )
- [Commits](https://github.com/AlecAivazis/survey/compare/v2.3.4...v2.3.5 )
---
updated-dependencies:
- dependency-name: github.com/AlecAivazis/survey/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-13 02:32:26 +00:00
dependabot[bot]
87d9687716
build(deps): bump github.com/docker/cli ( #1211 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 20.10.16+incompatible to 20.10.17+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v20.10.16...v20.10.17 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-13 02:24:50 +00:00
dependabot[bot]
63df5ddf42
build(deps): bump github.com/docker/docker ( #1212 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.16+incompatible to 20.10.17+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.16...v20.10.17 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 02:17:08 +00:00
R
2aa0699aec
refactor: remove github.com/pkg/errors dependency ( #1077 )
...
* refactor: split out common/git
* refactor: move git options to separate func
* refactor: remove github.com/pkg/errors dependency
* fix(golangci-lint): forbid github.com/pkg/errors
* style: fix typo
* style: fix typo
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-10 21:16:42 +00:00
Markus Wolf
8a473943c3
fix: skip local actions pre step in any case ( #1204 )
...
* fix: skip local actions pre step in any case
We should skip local actions pre step, as it is not supported by github.
In turn we may need to late prepare remote actions which are run
as steps in a local composite action.
Fixes #1193
* test: remove obsolete test case
Since local actions does not run any pre-step anymore we don't test this case.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-08 15:36:08 +00:00
André Martins
bf4aad6ad2
pkg/runner: add support to replace GitHub's env ( #1197 )
...
There might be use cases where users want to use GitHub's variables in
the environment variables, which is a valid use case.
This commits adds support for replacement of GitHub's env with GitHub's
values.
Signed-off-by: André Martins <aanm90@gmail.com >
2022-06-08 15:25:51 +00:00
ChristopherHX
b7d380b3f0
fix: dryrun skip local actions + enable Tests ( #1199 )
...
* Update step_action_local.go
* Enable Tests for DRYRUN
* Update runner_test.go
* Update runner_test.go
* Move DRYRUN Test in it's own function
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-07 14:19:30 +00:00
ChristopherHX
28f5b37fd1
fix: Remove volume with same name as the container again ( #1203 )
...
* Update run_context.go
* .
2022-06-07 14:10:43 +00:00
dependabot[bot]
859445fb94
build(deps): bump github.com/go-ini/ini from 1.66.5 to 1.66.6 ( #1201 )
...
Bumps [github.com/go-ini/ini](https://github.com/go-ini/ini ) from 1.66.5 to 1.66.6.
- [Release notes](https://github.com/go-ini/ini/releases )
- [Commits](https://github.com/go-ini/ini/compare/v1.66.5...v1.66.6 )
---
updated-dependencies:
- dependency-name: github.com/go-ini/ini
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-06 02:17:02 +00:00
dependabot[bot]
64387bcf7b
build(deps): bump github.com/go-ini/ini from 1.66.4 to 1.66.5 ( #1189 )
...
Bumps [github.com/go-ini/ini](https://github.com/go-ini/ini ) from 1.66.4 to 1.66.5.
- [Release notes](https://github.com/go-ini/ini/releases )
- [Commits](https://github.com/go-ini/ini/compare/v1.66.4...v1.66.5 )
---
updated-dependencies:
- dependency-name: github.com/go-ini/ini
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-30 02:21:00 +00:00
R
8bc3a07dad
governance: fix bug report rendering ( #1186 )
2022-05-26 21:46:12 +00:00
Jeff Levin
bc0f09b9ea
update docs ( #1180 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-24 20:49:12 +00:00
Markus Wolf
4ef50eeae7
feat: handle context cancelation during docker exec ( #1170 )
...
* feat: handle context cancelation during docker exec
To allow interrupting docker exec (which could be long running)
we process the log output in a go routine and handle
context cancelation as well as command result.
In case of context cancelation a CTRL+C is written into the docker
container. This should be enough to terminate the running
command.
To make sure we do not get stuck during cleanup, we do
set the cleanup contexts with a timeout of 5 minutes
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: Philipp Hinrichsen <philipp.hinrichsen@new-work.se >
* feat: handle SIGTERM signal and abort run
* test: on context cancel, abort running command
This test makes sure that whenever the act Context was canceled, the
currently running docker exec is sent a 0x03 (ctrl+c).
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
* test: make sure the exec funcction handles command exit code
This test makes sure that the exec function does handle
docker command error results
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: Philipp Hinrichsen <philipp.hinrichsen@new-work.se >
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
2022-05-24 14:52:25 +00:00
Markus Wolf
943a0e6eea
implement pre and post steps ( #1089 )
...
* feat: add post step to actions and add state command
This commit includes requried changes for running post steps
for local and remote actions.
This allows general cleanup work to be done after executing
an action.
Communication is allowed between this steps, by using the
action state.
* feat: collect pre and post steps for composite actions
* refactor: move composite action logic into own file
* refactor: restructure composite handling
* feat: run composite post steps during post step lifecycle
* refactor: remove duplicate log output
* feat: run all composite post actions in a step
Since composite actions could have multiple pre/post steps inside,
we need to run all of them in a single top-level pre/post step.
This PR includes a test case for this and the correct order of steps
to be executed.
* refactor: remove unused lines of code
* refactor: simplify test expression
* fix: use composite job logger
* fix: make step output more readable
* fix: enforce running all post executor
To make sure every post executor/step is executed, it is chained
with it's own Finally executor.
* fix: do not run post step if no step result is available
Having no step result means we do not run any step (neither pre
nor main) and we do not need to run post.
* fix: setup defaults
If no pre-if or post-if is given, it should default to 'always()'.
This could be set even if there is no pre or post step.
In fact this is required for composite actions and included post
steps to run.
* fix: output step related if expression
* test: update expectation
* feat: run pre step from actions (#1110 )
This PR implements running pre steps for remote actions.
This includes remote actions using inside local composite actions.
* fix: set correct expr default status checks
For post-if conditions the default status check should be
always(), while for all other if expression the default status
check is success()
References:
https://docs.github.com/en/actions/learn-github-actions/expressions#status-check-functions
https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runspost-if
* fix: remove code added during rebase
2022-05-24 13:36:06 +00:00
R
ebb408f373
fix: remove composite restrictions ( #1128 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-23 20:27:12 +00:00
R
7704033ec6
governance: new issue templates ( #1048 )
...
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-23 19:13:22 +00:00
R
507ae61d1b
ci(choco): update chocolatey to 1.1.0 ( #1164 )
...
* fix(editorconfig,megalinter): enforce space style
* ignore install.sh since it's auto-generated
* simplify editorconfig
* ci(choco): update chocolatey to 1.1.0
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-23 19:05:49 +00:00
dependabot[bot]
50544556f8
build(deps): bump goreleaser/goreleaser-action from 2 to 3 ( #1179 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 2 to 3.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-23 02:19:42 +00:00
dependabot[bot]
166d063059
build(deps): bump github.com/rhysd/actionlint from 1.6.12 to 1.6.13 ( #1173 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.12 to 1.6.13.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.12...v1.6.13 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-18 11:00:29 +00:00
Ryan
69691c88b3
feat: add ubuntu-22.04 ( #1150 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-17 19:11:33 +00:00
Ryan
dfdafd9e85
feat/bug-report-extended ( #1163 )
...
* fix: connect to docker **after** checking configs
* feat: add vcs build info
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-17 19:02:15 +00:00
dependabot[bot]
89947735d5
build(deps): bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 ( #1169 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.1.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-16 02:36:15 +00:00
dependabot[bot]
018c846d8d
build(deps): bump github.com/docker/docker ( #1167 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.15+incompatible to 20.10.16+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.15...v20.10.16 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-16 02:27:07 +00:00
dependabot[bot]
1fed666165
build(deps): bump github.com/docker/cli ( #1168 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 20.10.15+incompatible to 20.10.16+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v20.10.15...v20.10.16 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 02:18:05 +00:00
ChristopherHX
91fd412c51
fix: panic if a step in a job is nil ( #1145 )
...
* fix: panic if a step is a job is nil
* simplify
* [no ci] Add testdata
* [no ci] Add Test
2022-05-12 19:23:34 +00:00
Markus Wolf
1e72c594ac
fix: return invalid step type ( #1157 )
...
If a step does not have either a `run` or `uses` directive it is
considered invalid.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-11 19:30:18 +00:00
ChristopherHX
7879726159
Remove the correct Volume ( #1148 )
...
I have a lot of stale act-....-env volumes
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-11 19:22:35 +00:00
ChristopherHX
562265bb29
fix: panic while running DRYRUN with local actions ( #1141 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-11 19:14:45 +00:00
Markus Wolf
e360811570
refactor: remove composite action runcontext workaround ( #1085 )
...
* refactor: remove composite action runcontext workaround
The RunContext is cloned to execute a composite action with all its
steps in a similar context. This required some workaround, since
the command handler has kept a reference to the original RunContext.
This is solved now, by replacing the docker LogWriter with a proper
scoped LogWriter.
This prepares for a simpler setup of composite actions to be able
to create and re-create the composite RunContext for pre/main/post
action steps.
* test: check env-vars for local js and docker actions
* test: test remote docker and js actions
* fix: merge github context into env when read and setup
* refacotr: simplify composite context setup
* test: use a map matcher to test input setup
* fix: restore composite log output
Since we create a new line writer, we need to log the raw_output as well.
Otherwise no output will be available from the log-writer
* fix: add RunContext JobName to fill GITHUB_JOBNAME
* test: use nektos/act-test-actions
* fix: allow masking values in composite actions
To allow masking of values from composite actions, we need
to use a custom job logger with a reference to the masked
values for the composite run context.
* refactor: keep existing logger for composite actions
To not introduce another new logger while still be able to use
the masking from the composite action, we add the masks to
the go context. To leverage that context, we also add the context
to the log entries where the valueMasker then could get the actual
mask values.
With this way to 'inject' the masked values into the logger, we do
- keep the logger
- keep the coloring
- stay away from inconsistencies due to parallel jobs
* fix: re-add removed color increase
This one should have never removed :-)
* fix: add missing ExtraPath attribute
* fix: merge run context env into composite run context env
This adds a test and fix for the parent environment. It should be
inherited by the composite environment.
* test: add missing test case
* fix: store github token next to secrets
We must not expose the secrets to composite actions, but the
`github.token` is available inside composite actions.
To provide this we store the token in the config and create it in
the GithubContext from there.
The token can be used with `github.token` but is not available as
`secrets.GITHUB_TOKEN`.
This implements the same behavior as on GitHub.
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: Marcus Noll <markus.noll@new-work.se >
* fixup! fix: allow masking values in composite actions
* style: use tabs instead of spaces to fix linter errors
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: Marcus Noll <markus.noll@new-work.se >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-11 19:06:05 +00:00
dependabot[bot]
a76c349872
build(deps): bump github.com/moby/buildkit from 0.10.2 to 0.10.3 ( #1153 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.10.2...v0.10.3 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-09 03:16:23 +00:00
dependabot[bot]
7974a17afc
build(deps): bump docker/setup-qemu-action from 1 to 2 ( #1156 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-09 03:03:00 +00:00
dependabot[bot]
01d85c9a01
build(deps): bump github.com/docker/docker ( #1155 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.14+incompatible to 20.10.15+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.14...v20.10.15 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-09 02:53:41 +00:00
dependabot[bot]
d5e972159f
build(deps): bump github.com/docker/cli ( #1154 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 20.10.14+incompatible to 20.10.15+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v20.10.14...v20.10.15 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 02:44:41 +00:00
Kevin Wang
8e216c642e
feat: support GITHUB_REF_NAME & GITHUB_REF_TYPE ( #1142 )
...
* feat: support `_REF_NAME` & `_REF_TYPE`
* chore: fix `step_test::TestSetupEnv`
* fix: logic & test
* test: delete `GITHUB_REF_NAME`, `GITHUB_REF_TYPE`
2022-05-08 14:23:19 +00:00
dependabot[bot]
dfca2c57df
build(deps): bump github.com/moby/buildkit from 0.10.1 to 0.10.2 ( #1147 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.10.1...v0.10.2 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-02 02:18:40 +00:00
ChristopherHX
77ddc89444
fix: conclusion and outcome are no integers ( #1136 )
...
* fix: conclusion and outcome are no integers
* Change Test
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-04-26 20:24:13 +00:00
ChristopherHX
93575124d3
fix: do not error that much ( #1137 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-04-26 20:14:56 +00:00
dependabot[bot]
3f2469bf53
build(deps): bump codecov/codecov-action from 3.0.0 to 3.1.0 ( #1139 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3.0.0...v3.1.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 03:07:24 +00:00
Markus Wolf
a85e89d3fb
chore: fold integration test outputs ( #1111 )
...
To make the test logs more readable, we should fold the
output per test into a group.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-04-20 18:34:27 +00:00
Guillaume Desforges
2d357853db
Update README.md ( #1121 )
...
Co-authored-by: Casey Lee <cplee@nektos.com >
2022-04-20 16:10:42 +00:00
Ryan
e15f7a51c6
docs(README): remove go install ( #1123 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <cplee@nektos.com >
2022-04-19 19:51:26 +00:00
Ryan
25ebaf4e7b
ci: always grab latest go version ( #1124 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <cplee@nektos.com >
2022-04-19 19:43:30 +00:00
Ryan
40492fea32
tests: remove runTestJobFile ( #1127 )
...
This prevented JetBrains GoLand from recognising subtests and treated
it all as single big test, VSCode seems to be still broken in that regard
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <cplee@nektos.com >
2022-04-19 19:35:42 +00:00
Casey Lee
9021bc2fa8
use new paths from goreleaser ( #1135 )
...
* use new paths from goreleaser
* fix path from new goreleaser paths
* fix indent of .sh
2022-04-19 12:27:37 -07:00
Herby Gillot
9a8a9aada2
README: add MacPorts badge ( #1129 )
2022-04-19 17:09:12 +00:00
dependabot[bot]
de1dea9379
build(deps): bump github.com/rhysd/actionlint from 1.6.11 to 1.6.12 ( #1126 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.11 to 1.6.12.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.11...v1.6.12 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-14 19:23:33 +00:00
dependabot[bot]
74cda72c26
build(deps): bump codecov/codecov-action from 2.1.0 to 3.0.0 ( #1118 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2.1.0 to 3.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2.1.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-04-11 02:55:48 +00:00
dependabot[bot]
bb6ead459a
build(deps): bump github.com/moby/buildkit from 0.10.0 to 0.10.1 ( #1116 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.10.0...v0.10.1 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-04-11 02:47:13 +00:00
dependabot[bot]
39cc9b0840
build(deps): bump actions/upload-artifact from 2 to 3 ( #1119 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-04-11 02:38:04 +00:00
dependabot[bot]
4e1cf1d7cc
build(deps): bump actions/setup-go from 2 to 3 ( #1120 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-04-11 02:28:50 +00:00
dependabot[bot]
f551165970
build(deps): bump actions/stale from 4 to 5 ( #1117 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 4 to 5.
- [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/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 02:19:11 +00:00
Ryan
72dd2d344c
tests(runner): move arm64 test to own func ( #1095 )
...
Prevents random failing of all other runs when qemu binfmt
is not set up
Signed-off-by: Ryan <me@hackerc.at >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-04-05 15:41:36 +00:00
Ryan
afb23a2891
build(deps): bump deps which dependabot doesn't want to ( #1107 )
...
Signed-off-by: Ryan <me@hackerc.at >
2022-04-05 15:30:40 +00:00
dependabot[bot]
065d630af0
build(deps): bump github.com/rhysd/actionlint from 1.6.10 to 1.6.11 ( #1106 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.10 to 1.6.11.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.10...v1.6.11 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-05 13:48:53 +00:00
Seunghyun Hwang
407d324ec1
implement volume mount for container job ( #1101 )
...
* implement volume mount for container job
* Update pkg/runner/run_context.go
Co-authored-by: Ryan <me@hackerc.at >
* add tests for container volume mount options
* remove unused code
* prefer if-else instead of if-continue
* remove continue
* add some tests
Co-authored-by: Ryan <me@hackerc.at >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-04-04 18:01:13 +00:00
Ryan
d4272bd9fe
feat: add option to specify git remote name ( #1104 )
...
fixes https://github.com/nektos/act/issues/1099
fixes https://github.com/nektos/act/issues/983
Signed-off-by: Ryan <me@hackerc.at >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-04-04 17:53:08 +00:00
Liam Murphy
9dc17f9144
Allow passed in env vars to supersede ones declared in the workflow ( #1100 )
...
* don't merge env var if it exists already
* remove test workflow
* add some tests
* change mergeMaps order instead of checking for existence
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-04-04 17:24:49 +00:00
ChristopherHX
c27e079407
fix: copy ignored tracked files ( #1074 )
...
* fix: copy ignored tracked files
* fix
* refactor: Extract callback to fileCollector
fix: temporary tar archive not deletable on windows
fix: `.*` in gitignore ignores all files
* Move nolint: gocyclo
* pass context as parameter
* goimport
* Add fs interface + one test
* fix lint, also test for ignored non tracked file
* fix filename
* Apply suggestions from code review
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-04-04 15:27:00 +00:00
dependabot[bot]
e0044ba913
build(deps): bump github.com/opencontainers/selinux ( #1102 )
...
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/v1.10.0...v1.10.1 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/selinux
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 02:18:49 +00:00
Ryan
b3bd268e45
fix: return error on reusable workflows ( #1093 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-30 17:20:45 +00:00
Ryan
48db7d9c9d
deps: bump go.mod to go1.18 ( #1088 )
...
* deps: bump go.mod to go1.18
* deps: go mod tidy
* docs: update Go version requirement
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-30 17:06:04 +00:00
Ryan
8d41f7aa6b
fix(editorconfig): correct braces ( #1094 )
...
Signed-off-by: Ryan <me@hackerc.at >
2022-03-30 16:55:20 +00:00
Ryan
11c3fb39dd
ci: bump go to 1.18 ( #1087 )
2022-03-29 20:10:32 +00:00
Ryan
24422bf4e4
fix: don't overwrite with empty cmd/entrypoint ( #1076 )
...
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Signed-off-by: Ryan <me@hackerc.at >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-29 18:00:52 +00:00
Markus Wolf
5f673cbb6d
refactor: simplify action function signatures ( #1083 )
...
This change reduces the interfaces by removing
obsolete parameters from functions.
Obsolete parameters does not means unused ones, but
parameters which could be retrieved from other parameters
instead.
This should simplify logic and maintainability for these
functions.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-29 17:42:11 +00:00
Ryan
31d3603173
deps: remove shlex ( #1086 )
2022-03-29 15:55:40 +00:00
Ryan
de81979800
fix: set default version string ( #1070 )
...
for when people don't specify version via -ldflags
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-29 09:37:38 +00:00
dependabot[bot]
4f0bfd2ad1
build(deps): bump actions/cache from 2 to 3 ( #1082 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <cplee@nektos.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-28 20:05:07 +00:00
dependabot[bot]
c8a40bf8f4
build(deps): bump github.com/docker/docker ( #1080 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.13+incompatible to 20.10.14+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.13...v20.10.14 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <cplee@nektos.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-28 19:58:14 +00:00
dependabot[bot]
efd34f1e10
build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.2 to 2.3.4 ( #1079 )
...
Bumps [github.com/AlecAivazis/survey/v2](https://github.com/AlecAivazis/survey ) from 2.3.2 to 2.3.4.
- [Release notes](https://github.com/AlecAivazis/survey/releases )
- [Commits](https://github.com/AlecAivazis/survey/compare/v2.3.2...v2.3.4 )
---
updated-dependencies:
- dependency-name: github.com/AlecAivazis/survey/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <cplee@nektos.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-28 19:50:40 +00:00
dependabot[bot]
34706f49fe
build(deps): bump github.com/docker/cli ( #1081 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 20.10.13+incompatible to 20.10.14+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v20.10.13...v20.10.14 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <cplee@nektos.com >
2022-03-28 19:42:10 +00:00
Casey Lee
7fbaf1371f
automatically merge PRs from dependabot ( #1084 )
2022-03-28 12:29:47 -07:00
Ryan
c4db165d2d
deps: bump go-git ( #1057 )
2022-03-25 16:16:31 +00:00
Markus Wolf
2bb3e74616
feat: split job steps into its own files/structs ( #1004 )
...
* refactor: split step_context into separate files
This commit moves functions from the step_context.go file into different
files, but does otherwise not change anything.
This is done to make it easier to review the changes made to these
functions in the next commit, where we introduce a step factory to
facilitate better unit testing of steps.
Co-authored-by: Marcus Noll <marcus.noll@new-work.se >
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: Robert Kowalski <robert.kowalski@new-work.se >
Co-authored-by: Philipp Hinrichsen <philipp.hinrichsen@new-work.se >
Co-authored-by: Jonas Holland <jonas.holland@new-work.se >
* refactor: introduce step factory and make steps testable
With this commit we're introducing the `stepFactory` and interfaces
and implementations for each different kind of step (run, docker,
local and remote actions).
Separating each step kind into its own interface and implementation
makes it easier to reason about and to change behaviour of the step.
By introducing interfaces we enable better unit testability as now
each step implementation, the step factory and the job executor can
be tested on their own by mocking out parts that are irrelevant.
This commits prepares us for implementing pre/post actions in a
later PR.
Co-authored-by: Marcus Noll <marcus.noll@new-work.se >
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: Robert Kowalski <robert.kowalski@new-work.se >
Co-authored-by: Philipp Hinrichsen <philipp.hinrichsen@new-work.se >
Co-authored-by: Jonas Holland <jonas.holland@new-work.se >
* fix: run post steps in reverse order
* test: add missing asserts for mocks
* refactor: use local reference instead of function
This may make code more easy to follow.
* refactor: correct typo in function name
* test: use named structs
* test: only expected valid calls
There are mocks which are only called on certain conditions.
* refactor: use step-model to get step name
Using the step-logger we have to get the logger name from the
step model.
* test: only mock stopContainer if required
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: Marcus Noll <marcus.noll@new-work.se >
Co-authored-by: Robert Kowalski <robert.kowalski@new-work.se >
Co-authored-by: Philipp Hinrichsen <philipp.hinrichsen@new-work.se >
Co-authored-by: Jonas Holland <jonas.holland@new-work.se >
Co-authored-by: Casey Lee <cplee@nektos.com >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
2022-03-22 14:13:00 -07:00
Ryan
5d7027dc3f
feat: add bug-report flag ( #1056 )
...
* feat: add bug-report flag
* fix: use docker host CPU count
* feat: add config files to bug-report
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-22 19:26:10 +00:00
ChristopherHX
a970145c95
Fix: panic: reflect: slice index out of range ( #1066 )
...
* Fix: panic: reflect: slice index out of range
* Update interpreter.go
* [no ci] Return null for negative indexes
* Add tests for index access
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-22 14:05:36 -04:00
ChristopherHX
380bd581b1
Fix: call of reflect.Value.Interface on zero Value ( #1067 )
...
panic: reflect: call of reflect.Value.Interface on zero Value
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-22 09:03:36 +00:00
ChristopherHX
5083284deb
Fix: tojson(null) == 'null' ( #1068 )
...
* Fix: tojson(null) == 'null'
* Update test
* Update functions_test.go
2022-03-22 08:55:13 +00:00
dependabot[bot]
87175ecb68
build(deps): bump github.com/docker/docker ( #1062 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.12+incompatible to 20.10.13+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.12...v20.10.13 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-21 19:33:41 +00:00
dependabot[bot]
7d946c43e2
build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 ( #1061 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-21 19:24:22 +00:00
Robert Kowalski
f09cdb8443
feat: add flag to always run the checkout action ( #1049 )
...
act has a feature that skips the checkout action to do a remote
checkout when a local checkout exists. in some cases, e.g. when
running act in a CI, you always want to clone the repository.
2022-03-21 11:23:06 +00:00
ChristopherHX
4d7107161e
Revert: Don't stop JobContainer on failure ( #1041 )
2022-03-14 19:46:32 +00:00
Robert Kowalski
1e92d87b75
fix: remove unused TestContext ( #1013 )
...
The function `WithTestContext` is never called in the project, and
there is just one usage of `TestContext`, inside one of our loggers
Co-authored-by: Casey Lee <cplee@nektos.com >
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-14 17:47:16 +00:00
Markus Wolf
6b059572ff
feat: add step name to logger field ( #1027 )
...
* feat: add step name to logger field
This change does add the step name to the logger fields. This does
not change the output for our users, but for the json logger, it
does make each step output traceable.
* fix: remove new logger
Since logrus and context both are immutable for our case, we
can just add a new field and store the logger in the context.
Co-authored-by: Casey Lee <cplee@nektos.com >
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
2022-03-14 10:38:30 -07:00
Björn Brauer
aab2af0919
fix: coerce booleans to numbers for comparison in exprparser ( #1030 )
...
Co-Authored-By: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: Casey Lee <cplee@nektos.com >
2022-03-14 16:38:42 +00:00
Markus Wolf
14c98015c5
feat: add json logger output ( #1026 )
...
* feat: add json logger output
This will allow to format log output as json.
This is helpful in cases where act is not executed on a 'local' machine.
* refactor: use runner config
Using the runner config to configure logging is cleaner.
Co-authored-by: Casey Lee <cplee@nektos.com >
2022-03-14 15:33:11 +00:00
dependabot[bot]
7d403b8307
build(deps): bump golangci/golangci-lint-action from 2 to 3.1.0 ( #1019 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 2 to 3.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...v3.1.0 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 08:21:54 -07:00
Ryan
932ad0ef6a
ci(stalebot): ignore feature requests ( #1017 )
2022-03-14 08:21:06 -07:00
dependabot[bot]
0579f7c235
build(deps): bump actions/checkout from 2 to 3 ( #1028 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [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/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 08:14:32 -07:00
dependabot[bot]
fa71f0b1e0
build(deps): bump github.com/spf13/cobra from 1.3.0 to 1.4.0 ( #1040 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 08:14:20 -07:00
dependabot[bot]
933413e2c0
build(deps): bump github.com/docker/cli ( #1038 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 20.10.12+incompatible to 20.10.13+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v20.10.12...v20.10.13 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 08:14:05 -07:00
dependabot[bot]
ee92e07daa
build(deps): bump github.com/rhysd/actionlint from 1.6.9 to 1.6.10 ( #1039 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.9 to 1.6.10.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.9...v1.6.10 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 08:12:24 -07:00
dependabot[bot]
5c0023c346
build(deps): bump github.com/docker/distribution ( #1037 )
...
Bumps [github.com/docker/distribution](https://github.com/docker/distribution ) from 2.8.0+incompatible to 2.8.1+incompatible.
- [Release notes](https://github.com/docker/distribution/releases )
- [Commits](https://github.com/docker/distribution/compare/v2.8.0...v2.8.1 )
---
updated-dependencies:
- dependency-name: github.com/docker/distribution
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 08:11:39 -07:00
dependabot[bot]
56486f14b4
build(deps): bump github.com/moby/buildkit from 0.9.3 to 0.10.0 ( #1036 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.9.3 to 0.10.0.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.9.3...v0.10.0 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 15:10:50 +00:00
Ryan
3db3c73723
fix: trim whitespace from actrc ( #1024 )
...
fixes #985
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-02 21:41:57 +00:00
Robert Kowalski
c22d833830
fix: hide masked values in log files ( #1011 )
...
this commit adds support for the `::add-mask::` command, which was
implemented as a stub before.
it does not cover debug output that appears when you run act in
verbose mode
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
2022-03-02 08:29:34 +00:00
dependabot[bot]
e9e6ddadf5
build(deps): bump github.com/spf13/cobra from 1.2.1 to 1.3.0 ( #955 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.2.1...v1.3.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-02-28 14:51:36 +00:00
Elijah Lynn
55da213bc0
Update link to 'filesystems' GitHub docs ( #1016 )
...
Link is redirected to https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#file-systems .
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-02-28 14:43:04 +00:00
dependabot[bot]
9a54c99ac7
build(deps): bump github.com/rhysd/actionlint from 1.6.8 to 1.6.9 ( #1018 )
...
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint ) from 1.6.8 to 1.6.9.
- [Release notes](https://github.com/rhysd/actionlint/releases )
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rhysd/actionlint/compare/v1.6.8...v1.6.9 )
---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 14:35:14 +00:00
Markus Wolf
18792f9620
feat: run jobs in parallel ( #1003 )
...
* feat: run jobs in parallel
This changes fixes and restructures the parallel execution of jobs.
The previous changes limiting the parallel execution did break this
and allowed only one job in parallel.
While we run #CPU jobs in parallel now, the jobs added per job-matrix
add to this. So we might over-commit to the capacity, but at least
it is limited.
* fix: correctly build job pipeline
The job pipeline should just append all required pipeline steps.
The parallelism will be handled by the ParallelExecutor and we
shouldn't handle it during building the pipelines.
Also this adds a test, that the ParallelExecutor does run
a limited amount of parallel goroutines.
* test: correct test implementation
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-02-25 18:47:16 +00:00
Björn Brauer
c24cfc72f4
Expression evaluator fixes ( #1009 )
...
* refactor: remove debug error output
Errors should always be logged with an error level and not debug level.
Since the error is returned here, it will be logged later as an error.
Presumably this was a leftover from debugging the executor chain in:
PR: #971
* refactor: debug log wich expression is going to be evaluated
* fix: handle nil in EvalBool
We've seen this issue when the env map is not set-up properly,
i.e. when the env map is nil, EvalBool might return nil, which should
be handled as a falsy value.
* fix: fail on error in if expression and return the evaluation error
Stop running the workflow in case an expression cannot be evaluated.
Fixes : #1008
* fix: remove quotes from inside expression syntax in test
It looks like having an expression inside double quotes inside the
expression syntax is not valid: https://github.com/ZauberNerd/act-test/actions/runs/1881986429
The workflow is not valid. .github/workflows/test.yml (Line: 10, Col: 13): Unexpected symbol: '"endsWith'. Located at position 1 within expression: "endsWith('Hello world', 'ld')"
* refactor: export IsTruthy function from exprparser package
* refactor: use IsTruthy function in EvalBool
* refactor: move debug log for expression rewrite to rewrite function
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-02-25 18:39:50 +00:00
dependabot[bot]
7d433968e5
build(deps): bump github.com/go-ini/ini from 1.64.0 to 1.66.4 ( #997 )
...
Bumps [github.com/go-ini/ini](https://github.com/go-ini/ini ) from 1.64.0 to 1.66.4.
- [Release notes](https://github.com/go-ini/ini/releases )
- [Commits](https://github.com/go-ini/ini/compare/v1.64.0...v1.66.4 )
---
updated-dependencies:
- dependency-name: github.com/go-ini/ini
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-02-25 16:55:09 +00:00
Ryan
ad06f5dfb8
fix: print line after password prompt ( #1014 )
...
fixes https://github.com/nektos/act/issues/979
2022-02-25 16:47:49 +00:00
Björn Brauer
ff13844b86
refactor: default empty if: statement to if: success() in evaluator & remove FixIfStatement() ( #990 )
...
* refactor: default empty `if:` statement to `if: success()` in evaluator
Previously the code to default an empty `if:` statement in the yaml file
was implemented in different files in the model package.
Now an empty `if:` statement defaults to `success()` in the expression
evaluator.
* refactor: remove obsolete `FixIfStatement` functions
The introduction of the expression evaluator seems to have made these
functions obsolete, as the test case `TestRunEvent/issue-598` works even
without these functions.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-02-15 20:03:00 +00:00
ChristopherHX
d1e0216039
fix: deep evaluate matrix strategy ( #964 )
...
* fix: deep evaluate matrix strategy
* Try to make linter happy.
* Apply PR feedback, fix insert directive more tests
* Fix: logic error
Co-authored-by: Casey Lee <cplee@nektos.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-02-15 16:35:02 +00:00
dependabot[bot]
0fae96792c
build(deps): bump github.com/docker/distribution ( #994 )
...
Bumps [github.com/docker/distribution](https://github.com/docker/distribution ) from 2.7.1+incompatible to 2.8.0+incompatible.
- [Release notes](https://github.com/docker/distribution/releases )
- [Commits](https://github.com/docker/distribution/compare/v2.7.1...v2.8.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/distribution
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 14:55:38 +00:00
rubemlrm
331afe170a
Added instructions to install on fedora using copr package ( #993 )
...
* Added instructions to install on fedora
* Removed missing badge for copr link
2022-02-11 20:17:38 +00:00
Björn Brauer
9abc87b416
fix: always execute closeContainer() executor ( #988 )
...
* fix: always execute closeContainer() executor
During our earlier refactoring in #984 we accidentally changed the
behaviour in such a way that the `closeContainer()` executor was never
called.
This commit restores the earlier behaviour.
Ref:
* https://github.com/nektos/act/pull/984/files#diff-c057d66dc9657d8428e290c69871596e2b567bb8fecad62a99cab54398131a84L294
* https://github.com/nektos/act/pull/984/files#diff-ea9d5c93d769ef9b268932dd9990363e97fc3bec8a00114979d049bead5dd718R68
* test: add testcases to ensure job containers are started/stopped
This commit adds tests to ensure that the executors of `startContainer`,
`stopContainer`, `interpolateOutputs` and `closeContainer` are always
called in the correct order.
2022-02-10 16:54:58 +00:00
Björn Brauer
e4f0080a1e
refactor: extract setupAction into ActionReader ( #986 )
...
This change extracts the functionality of reading an `action.y(a)ml` or
creation of a `(Synthetic Action)` into its own type to enable better
unit testing / mocking of those IO operations.
This is done in preparation for the implementation of pre/post action
support in act.
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
2022-02-08 20:17:59 +00:00
Philipp Hinrichsen
e23223ad02
refactor: extract RunContext Executor in JobExecutor ( #984 )
...
This splits the executor from the RunContext into its own function
called newJobExecutor.
We defined an interface called jobInfo which is implemented by the RunContext.
This enables better unit testing because only a small interface needs to
be mocked.
This is a preparation for implementing pre and post actions.
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: Marcus Noll <marcus.noll@new-work.se >
Co-authored-by: Jonas Holland <jonas.holland@new-work.se >
Co-authored-by: Robert Kowalski <robert.kowalski@new-work.se >
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: Marcus Noll <marcus.noll@new-work.se >
Co-authored-by: Jonas Holland <jonas.holland@new-work.se >
Co-authored-by: Robert Kowalski <robert.kowalski@new-work.se >
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
2022-02-08 17:22:41 +00:00
Gissur Þórhallsson
b1f5963c86
docs: Expand the GITHUB_TOKEN section ( #968 )
...
* docs: Expand the GITHUB_TOKEN section
* docs: Add a note on leaking GITHUB_TOKEN through shell history
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-01-31 21:19:22 +00:00
Ryan
4f8da0a51c
ci(Mergify): configuration update ( #972 )
...
Signed-off-by: Ryan <me@hackerc.at >
2022-01-27 11:38:17 -08:00
Josh Soref
c802064975
fix: docker cp of dangling symlink ( #943 ) ( #948 )
...
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-01-27 16:53:26 +00:00
ChristopherHX
7dbf3fcb96
Fix: regression run after failure ( #971 )
...
* Fix: Regressions of run step after failure
* Add test, to enshure no panic
* Print error of failed step
2022-01-27 16:20:44 +00:00
Ryan
557dc755b8
ci(Mergify): configuration update ( #966 )
...
* ci(Mergify): configuration update
Signed-off-by: Ryan <me@hackerc.at >
* fix: check for maintainers only
2022-01-26 09:12:42 -08:00
dependabot[bot]
dba7f8379f
build(deps): bump github.com/moby/buildkit from 0.9.2 to 0.9.3 ( #958 )
2022-01-26 05:56:48 -08:00
dependabot[bot]
b0f55571f0
build(deps): bump github.com/docker/docker ( #957 )
2022-01-26 05:56:22 -08:00
dependabot[bot]
eedac179c9
build(deps): bump github.com/opencontainers/image-spec ( #954 )
...
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/opencontainers/image-spec/releases )
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md )
- [Commits](https://github.com/opencontainers/image-spec/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-01-26 07:30:10 +00:00
dependabot[bot]
bbf6b7e080
build(deps): bump github.com/docker/cli ( #956 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 20.10.10+incompatible to 20.10.12+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v20.10.10...v20.10.12 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-01-26 07:22:06 +00:00
ChristopherHX
3f0375aeff
Test: env.ACT in if condition of the workflow ( #965 )
...
Co-authored-by: Mathijs van Veluw <BlackDex@users.noreply.github.com >
Co-authored-by: Mathijs van Veluw <BlackDex@users.noreply.github.com >
2022-01-25 09:27:27 -08:00
Markus Wolf
2eda7c6037
feat: add skipped status as step result ( #950 )
...
Github sets the outcome and conclusion to skipped
and this PR does the same during the pipeline run for
the StepResults in act.
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
2022-01-21 08:10:26 -08:00
Björn Brauer
edd0fb92a7
feat: try to read ref and sha from event payload if available ( #889 )
...
With this change `act` will try to populate the `githubContext.ref` and
`githubContext.sha` with values read from the event payload.
Caveats:
- `page_build` should not have a ref
- `status` should not have a ref
- `registry_package` should set the ref to the branch/tag but the
payload isn't documented
- `workflow_call` should set ref to the same value as its caller but the
payload isn't documented
- most of the events should set the sha to the last commit on the ref
but unfortunately the sha is not always included in the payload,
therefore we use the sha from the local git checkout
Co-Authored-By: Philipp Hinrichsen <philipp.hinrichsen@new-work.se >
Co-authored-by: Philipp Hinrichsen <philipp.hinrichsen@new-work.se >
2022-01-21 08:10:00 -08:00
ChristopherHX
4be9062dd2
fix: set composite outputs on failure ( #945 )
...
fix: conclusion and outcome after error with failure condition
fix: continue-on-error doesn't work correctly for composite actions
2022-01-21 08:08:30 -08:00
Björn Brauer
eba71f98fe
Refactor expression evaluator to use parser from actionlint package ( #908 )
...
* feat: implement expression evaluator
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: Philipp Hinrichsen <philipp.hinrichsen@new-work.se >
* feat: integrate exprparser into act
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: Philipp Hinrichsen <philipp.hinrichsen@new-work.se >
* Escape { and }, do not fail on missing properties
* Fix empty inputs context
* fix: contains() comparison for complex values
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: Philipp Hinrichsen <philipp.hinrichsen@new-work.se >
Co-authored-by: Christopher Homberger <christopher.homberger@web.de >
2022-01-21 08:07:20 -08:00
Ryan
518148d162
fix(goreleaser): add append mode for release notes ( #962 )
...
this should properly update release notes when release is created via GitHub UI
2022-01-21 07:47:39 -08:00
Ryan
4e6cddf80a
feat(goreleaser): format changelog, add prereleases ( #942 )
2022-01-01 17:04:37 +00:00
Ryan
e9c4609dca
fix: update install.sh ( #937 )
...
* fix: update install.sh
Signed-off-by: hackercat <me@hackerc.at >
* fix: chmod +x install.sh
Signed-off-by: hackercat <me@hackerc.at >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-12-27 16:18:30 +00:00
Björn Brauer
ed01f464ed
refactor: export and move shared contexts into pkg/model ( #931 )
...
This commit moves the githubContext, jobContext and stepResult structs
from the runner package to the model package in preparation for #908
because the expression.go file lives in the runner package and would
introduce cyclic dependencies with the exprparser package.
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-12-22 19:52:09 +00:00
Ryan
558081242c
feat: add node16 support ( #922 )
...
* feat: add node16 support
Signed-off-by: hackercat <me@hackerc.at >
* feat: bump images to node16
Signed-off-by: hackercat <me@hackerc.at >
* lint(editorconfig): ignore *.md due to mixed style
Signed-off-by: hackercat <me@hackerc.at >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-12-22 19:34:18 +00:00
ChristopherHX
9868e13772
Feature: uses in composite ( #793 )
...
* Feature: uses in composite
* Negate logic
* Reduce complexity
* Update step_context.go
* Update step_context.go
* Update step_context.go
* Fix syntax error in test
* Bump
* Disable usage of actions/setup-node@v2
* Bump
* Fix step id collision
* Fix output command workaround
* Make secrets context inaccessible in composite
* Fix order after adding a workaround (needs tests)
Fixes https://github.com/nektos/act/pull/793#issuecomment-922329838
* Evaluate env before passing one step deeper
If env would contain any inputs, steps ctx or secrets there was undefined behaviour
* [no ci] prepare secret test
* Initial test pass inputs as env
* Fix syntax error
* extend test also for direct invoke
* Fix passing provided env as composite output
* Fix syntax error
* toUpper 'no such secret', act has a bug
* fix indent
* Fix env outputs in composite
* Test env outputs of composite
* Fix inputs not defined in docker actions
* Fix interpolate args input of docker actions
* Fix lint
* AllowCompositeIf now defaults to true
see https://github.com/actions/runner/releases/tag/v2.284.0
* Fix lint
* Fix env of docker action.yml
* Test calling a local docker action from composite
With input context hirachy
* local-action-dockerfile Test pass on action/runner
It seems action/runner ignores overrides of args,
if the target docker action has the args property set.
* Fix exec permissions of docker-local-noargs
* Revert getStepsContext change
* fix: handle composite action on error and continue
This change is a follow up of https://github.com/nektos/act/pull/840
and integrates with https://github.com/nektos/act/pull/793
There are two things included here:
- The default value for a step.if in an action need to be 'success()'
- We need to hand the error from a composite action back to the
calling executor
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
* Patch inputs can be bool, float64 and string
for workflow_call
Also inputs is now always defined, but may be null
* Simplify cherry-picked commit
* Minor style adjustments
* Remove chmod +x from tests
now fails on windows like before
* Fix GITHUB_ACTION_PATH some action env vars
Fixes GITHUB_ACTION_REPOSITORY, GITHUB_ACTION_REF.
* Add comment to CompositeRestrictions
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: Ryan <me@hackerc.at >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-12-22 19:19:50 +00:00
Ryan
2ef30c3776
lint(megalinter): disable markdown link check ( #938 )
2021-12-22 11:11:16 -08:00
Ryan
9be6a58c0e
ci: replace superlinter with megalinter ( #923 )
...
* ci: replace superlinter with megalinter
Signed-off-by: hackercat <me@hackerc.at >
* fix: apply lint recommendations
Signed-off-by: hackercat <me@hackerc.at >
2021-12-22 09:29:43 -08:00
Ryan
adabf2a202
fix: rework setupShellCommand ( #930 )
...
* fix: rework `setupShellCommand`
* move all logic to separate function so we can test that later
* split `step.Shell` and `step.WorkingDirectory` setup into own funcs
* general cleanup of function
* use `ActPath` to not collide with checked out repository
* use `shellquote.Split()` instead of `strings.Fields()` for better command split
* replace single string concat with `fmt`
Signed-off-by: hackercat <me@hackerc.at >
* lint(editorconfig): ignore *_test.go due to mixed style
Signed-off-by: hackercat <me@hackerc.at >
2021-12-22 06:37:16 +00:00
Ryan
4e0ba618d3
fix: clarify --reuse and --rm flags ( #929 )
...
* fix: clarify --reuse and --rm flags
Signed-off-by: hackercat <me@hackerc.at >
* lint(editorconfig): ignore *.md due to mixed style
Signed-off-by: hackercat <me@hackerc.at >
2021-12-16 05:11:56 +00:00
Ryan
cad4bc8c36
ci(Mergify): configuration update ( #924 )
2021-12-11 14:41:27 -08:00
Björn Brauer
fec0c0c529
fix: ::stop-commands:: should continue to print the lines ( #920 )
...
> This special command allows you to log anything without accidentally running a workflow command.
https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions#stopping-and-starting-workflow-commands
Example: https://github.com/ZauberNerd/act-test/runs/4469496818?check_suite_focus=true#step:8:10
2021-12-09 15:10:56 +00:00
Markus Wolf
1891c72ab1
fix: continue jobs + steps after failure ( #840 )
...
* fix: continue jobs + steps after failure
To allow proper if expression handling on jobs and steps (like always,
success, failure, ...) we need to continue running all executors in
the prepared chain.
To keep the error handling intact we add an occurred error to the
go context and handle it later in the pipeline/chain.
Also we add the job result to the needs context to give expressions
access to it.
The needs object, failure and success functions are split between
run context (on jobs) and step context.
Closes #442
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
* style: correct linter warnings
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
* fix: job if value defaults to success()
As described in the documentation, a default value of "success()" is
applied when no "if" value is present on the job.
https://docs.github.com/en/actions/learn-github-actions/expressions#job-status-check-functions
Co-authored-by: Markus Wolf <mail@markus-wolf.de >
* fix: check job needs recursively
Ensure job result includes results of previous jobs
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
* test: add runner test for job status check functions
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
* test: add unit tests for run context if evaluation
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
* refactor: move if expression evaluation
Move if expression evaluation into own function (step context) to
better support unit testing.
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
* test: add unit tests for step context if evaluation
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
* fix: handle job error more resilient
The job error is not stored in a context map instead of a context
added value.
Since context values are immutable an added value requires to keep
the new context in all cases. This is fragile since it might slip
unnoticed to other parts of the code.
Storing the error of a job in the context map will make it more stable,
since the map is always there and the context of the pipeline is stable
for the whole run.
* feat: steps should use a default if expression of success()
* test: add integration test for if-expressions
* chore: disable editorconfig-checker for yaml multiline string
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
2021-12-08 20:57:42 +00:00
Ryan
a545ceaec9
Fix and test choco action ( #911 )
...
* ci(choco): fix action
Signed-off-by: hackercat <me@hackerc.at >
* fix(editorconfig): force style for all files, fix typo
Signed-off-by: hackercat <me@hackerc.at >
* ci(choco): test choco action
Signed-off-by: hackercat <me@hackerc.at >
* fix(editorconfig): unformat Dockerfile/sh
Signed-off-by: hackercat <me@hackerc.at >
2021-12-08 10:49:33 -08:00
Björn Brauer
b910a42edf
Docker auth ( #891 )
...
* feat: read docker credentials from local docker config
* fix: url.Parse requires protocol
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
* fix: docker decides by the existence of . or : if...
... the image is in a custom registry or not.
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
* fix: make docker hostname detection more robust
* test: mock docker config for getImagePullOptions test
By default github actions have a docker config set with a token to pull
images from docker hub.
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
2021-11-27 18:21:32 +00:00
Till!
5bdb9ed0fd
container credentials ( #868 )
...
* Chore: add a snapshot target
* Update: support credentials for private containers
Resolves : #788
* fix: rework container credentials
Signed-off-by: hackercat <me@hackerc.at >
* fix: check if Credentials are not nil
* fix: return on missing credentials key
Co-authored-by: hackercat <me@hackerc.at >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-27 18:05:56 +00:00
Victor Popkov
e793d03f4b
Add more steps context support ( #887 )
...
* feat: add more steps context support
- Add step outcome
- Remove step success in favour of conclusion
* feat: add conclusion and outcome steps context tests
Add corresponding tests and extend pkg/runner/expression.go vmSteps() to
handle steps context conclusion and outcome iota as strings.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-27 17:55:26 +00:00
Björn Brauer
6517d04b9a
feat: allow existing logger from context ( #898 )
...
We should reuse an existing context logger if in test context.
This will allow test to setup act with a null logger to assert
log messages.
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
2021-11-27 17:45:56 +00:00
Vladimir Romashchenko
f7263399b9
feat: SELinux lables for --bind ( #906 )
2021-11-26 05:18:31 +00:00
Ryan
6ebcac3771
ci(choco): fix chocolatey docker build ( #903 )
...
Signed-off-by: hackercat <me@hackerc.at >
2021-11-24 09:27:38 -08:00
Ryan
8ad6c07083
feat: add option for docker image rebuild ( #878 )
...
Adds option to rebuild local action docker images
Fixed up README due to missing flags after
PR #714 and #716
Signed-off-by: hackercat <me@hackerc.at >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-24 07:51:37 -08:00
Mathijs van Veluw
ff8b1df797
Don't interpolate joboutputs, before job is done ( #894 )
...
* Don't interpolate joboutputs, before job is donei
All credits go to @ChristopherHX which fixed this issue.
I only created a PR for this so it will be fixed in the upstream binary.
This fixes #758
* Added output test
* Fix typo
2021-11-24 15:49:08 +00:00
Ryan
96cf907c5e
Fix regex for GITHUB_ENV parsing ( #893 )
...
* fix: correct env pattern regex
GitHub Actions allows for envvars to contain
Signed-off-by: hackercat <me@hackerc.at >
* format: format and typo fix
Signed-off-by: hackercat <me@hackerc.at >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-19 17:36:50 +00:00
Ryan
4ae71b5878
Revert "feat: allow existing logger from context ( #859 )" ( #890 )
...
This reverts commit 603cf56878 .
2021-11-19 14:42:39 +00:00
Ryan
df4ef4de80
docs: add brew installation from HEAD ( #886 )
...
For folks who need latest fixes or "live on the edge"
2021-11-16 20:48:40 +00:00
dependabot[bot]
c26e661889
build(deps): bump github.com/go-ini/ini from 1.63.2 to 1.64.0 ( #882 )
...
Bumps [github.com/go-ini/ini](https://github.com/go-ini/ini ) from 1.63.2 to 1.64.0.
- [Release notes](https://github.com/go-ini/ini/releases )
- [Commits](https://github.com/go-ini/ini/compare/v1.63.2...v1.64.0 )
---
updated-dependencies:
- dependency-name: github.com/go-ini/ini
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-15 14:33:01 +00:00
Mike Beaumont
09693ec5b9
fix: fromJSON should work with any JSON ( #883 )
...
* test: fromJSON should work with arrays
* fix: fromJSON should work with any JSON
2021-11-15 14:26:04 +00:00
Ryan
12fa4d703d
fix: correctly unmarshal entrypoint ( #876 )
...
Signed-off-by: hackercat <me@hackerc.at >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-13 19:43:31 +00:00
Ryan
ec34eb9532
fix: use docker lib for image ref parsing ( #877 )
...
Signed-off-by: hackercat <me@hackerc.at >
2021-11-13 19:35:45 +00:00
Mike Beaumont
62d2167f3b
Fix github SSH regex for missing .git extension ( #871 )
...
* tests(pkg/common) add failing test case for SSH git URL
* fix(pkg/common) github SSH regex for missing .git extension
Co-authored-by: Ryan <me@hackerc.at >
2021-11-13 14:56:31 +00:00
Ryan
3054f3ea14
fix: cleanup unused actions ( #873 )
...
Signed-off-by: hackercat <me@hackerc.at >
2021-11-12 15:21:45 -08:00
Ryan
099af5e6a8
fix: interpolate env for step actions ( #872 )
...
Signed-off-by: hackercat <me@hackerc.at >
2021-11-12 15:21:18 -08:00
Markus Wolf
603cf56878
feat: allow existing logger from context ( #859 )
...
We should reuse an existing context logger if available.
This will allow test to setup act with a null logger to assert
log messages.
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
2021-11-12 15:20:45 -08:00
Ryan
cd24df5727
ci(golangci-lint): switch to latest ( #870 )
...
* ci(golangci-lint): switch to latest
remove schema override since it was fixed in upstream
Signed-off-by: hackercat <me@hackerc.at >
* fix: apply lint fixes
2021-11-12 12:48:10 -08:00
Markus Wolf
11f6ee37a6
Asset server implementation ( #677 )
...
* Add asset server and upload handling of binary files
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
* Add asset download parts to the asset server
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
* Add artifact-server-path flag
If the flag is not defined, the artifact server isn't started.
This includes the configuration of ACTIONS_RUNTIME_URL and
ACTIONS_RUNTIME_TOKEN which are set if the server is started.
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
* Move ACTIONS_RUNTIME_* vars into the withGithubEnv setup
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
* feat: add artifact server port as flag
This commits adds a flag to define the artifact server port.
If not given, the port defaults to 34567.
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
* test: add artifact server tests
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
* refactor: use fs.FS
This allows to add tests with in-memory file system
* feat: add support for gzip encoded uploads
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
* test: add artifact integration test
* chore: run act tests with asset server path
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
* docs: add new cli flags
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
* test: add test workflow to testdata
* feat: add log output
* refactor: log shutdown error instead of panic
* feat: use outbound ip for the asset server
This change should allow to use the host ip in macos and windows.
Since docker is running in an intermediate vm, localhost is not
sufficient to have the artifacts in the host system.
* fix: do not use canceled context
To shutdown artifact server, we should not use the already canceled
context but the parent context instead.
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
* feat: shutdown artifact server at end of pipeline
When the pipeline is done the asset server should be shut down
gracefully.
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
* fix: close server if graceful shutdown failed
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
* fix: ignore server closed error from listen call
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
2021-11-10 09:57:22 -08:00
dependabot[bot]
f8b3563102
build(deps): bump github.com/moby/buildkit from 0.9.1 to 0.9.2 ( #864 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.9.1...v0.9.2 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-10 09:54:38 -08:00
Ryan
80db062472
ci(mergify): fix deprecated strict mode ( #862 )
2021-11-04 07:23:22 -07:00
Ryan
e9ae7894e3
fix: set sh as default shell for containers ( #853 )
...
* fix: set default shell for containers to sh
This matches GitHub Actions behaviour where,
runners use bash since it's guaranteed to exist there
while containers use sh for compatibility
* tests: fixup for default shell
2021-11-03 11:47:47 -07:00
Josh Soref
7c73531008
Fixes ( #856 )
...
* fix: avoid triggering %!/(MISSING) for docker output
* fix: suppress --platform for empty platform
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com >
2021-11-03 11:47:09 -07:00
Ryan
aad724c87a
ci: remove macOS tests ( #860 )
...
Running Docker on non-Linux platforms is very painful,
especially in CI. It's better to remove macOS for now,
until a better implementation is present.
Signed-off-by: hackercat <me@hackerc.at >
2021-11-03 11:46:15 -07:00
dependabot[bot]
6a3a47c217
build(deps): bump github.com/docker/docker ( #855 )
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.8+incompatible to 20.10.10+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.8...v20.10.10 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-01 01:38:50 +00:00
dependabot[bot]
50dd0c0db1
build(deps): bump github.com/docker/cli ( #854 )
...
Bumps [github.com/docker/cli](https://github.com/docker/cli ) from 20.10.8+incompatible to 20.10.10+incompatible.
- [Release notes](https://github.com/docker/cli/releases )
- [Commits](https://github.com/docker/cli/compare/v20.10.8...v20.10.10 )
---
updated-dependencies:
- dependency-name: github.com/docker/cli
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-10-31 16:20:06 +00:00
Ryan
2319eb210f
docs: fix brew formula link ( #846 )
...
currently it points to nektos owned tap but instruction is for homebrew-core
2021-10-31 13:34:15 +00:00
ChristopherHX
83a28d9512
Close docker client ( #789 )
...
* Close docker client!
* Fix nil dereference
* Update run_context.go
* Bump
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-10-24 16:50:43 +00:00
Ryan
f8ddfca6f7
goreleaser: Switch to latest and drop Homebrew config ( #848 )
...
* ci: unpin goreleaser version
homebrew issue has been fixed
* ci: drop homebrew from goreleaser
act has been for quite a long time in homebrew-core
and it supports all macos/linux so there is no
reason for us to have separate tap, as it might
confuse some users
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-10-24 09:36:09 -07:00
Ryan
977b526384
ci: switch macos job to macos-10.15 ( #849 )
2021-10-23 18:37:33 -07:00
dependabot[bot]
b5e8a18683
build(deps): bump github.com/moby/buildkit from 0.9.0 to 0.9.1 ( #838 )
...
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.9.0...v0.9.1 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-18 20:24:05 +00:00
Ryan
a0d360236e
fix: rewrite StepContext env ( #832 )
...
* fix: rewrite StepContext env
step env from workflow should be last one to be written
fixes https://github.com/nektos/act/issues/777
* test: verify env correctness
* fix: move test into existing workflow
2021-09-28 01:18:59 +00:00
Ryan
6c60af7677
fix: rewrite how image env is merged ( #828 )
...
* fix: rewrite how image env is merged
* test: add test for extractFromImageEnv
2021-09-27 19:01:14 +00:00
Ryan
7a426a0f37
refactor: re-implement embed without "unused" import ( #830 )
...
* refactor: re-implement `embed` without "unused" import
* fix(gitignore): ignore local docker registry data
2021-09-27 17:33:14 +00:00
dependabot[bot]
bfcf0abd73
build(deps): bump github.com/joho/godotenv from 1.3.0 to 1.4.0 ( #824 )
...
Bumps [github.com/joho/godotenv](https://github.com/joho/godotenv ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/joho/godotenv/releases )
- [Commits](https://github.com/joho/godotenv/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/joho/godotenv
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Casey Lee <cplee@nektos.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-09-26 16:47:33 +00:00
Ryan
c2c8b525f8
Add reading environment from Docker image ( #771 )
...
* fix: read envvars from image definition
* fix: add test
* fix: sort slices
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-09-26 16:37:53 +00:00
Ryan
4d552e65ce
fix: add simple concurrency limit ( #823 )
...
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-09-26 16:21:12 +00:00
Mehdi ABAAKOUK
a6aea44fb0
fix(mergify): needs-work label handling ( #810 )
2021-09-26 09:08:52 -07:00
Ryan
b1e4844aac
ci: pin goreleaser version ( #825 )
2021-09-26 09:05:43 -07:00
Ryan
5a09eb24ca
Bump all dependencies (and fix dependabot mess) ( #822 )
...
* build(deps): bump all Go deps
* build(deps): bump actions/setup-go & actions/stale
2021-09-25 12:13:22 -07:00
Ryan
3c1454825d
fix: mount volume for workflow info ( #776 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-09-24 13:32:22 +00:00
dependabot[bot]
e82f17e230
build(deps): bump codecov/codecov-action from 1.5.2 to 2.1.0 ( #819 )
2021-09-23 00:12:29 -07:00
Ryan
17652ce80e
Remove ubuntu-16.04 and add missing links for nix/go ( #821 )
...
* fix: remove ubuntu-16.04
* fix: add missing links for nix/go
* fix: remove specific platform versions
2021-09-22 19:43:58 +00:00
Josh Soref
aa080d0ed9
Provide hint for -P ( #815 )
2021-09-13 23:14:41 +00:00
dependabot[bot]
6d7f574859
build(deps): bump github.com/go-git/go-billy/v5 from 5.0.0 to 5.3.1 ( #802 )
...
Bumps [github.com/go-git/go-billy/v5](https://github.com/go-git/go-billy ) from 5.0.0 to 5.3.1.
- [Release notes](https://github.com/go-git/go-billy/releases )
- [Commits](https://github.com/go-git/go-billy/compare/v5.0.0...v5.3.1 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-billy/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-09-10 15:34:10 +00:00
Marcin Falkowski
9126f15aa2
support for container option: --hostname ( #809 )
2021-09-10 05:03:40 +00:00
ChristopherHX
f0fd0af5ce
Refresh hash after pull for branch refs ( #791 )
...
* Refresh hash after pull for branch refs
* Bump
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-09-08 16:47:12 +00:00
dependabot[bot]
a7a2659c0e
build(deps): bump github.com/AlecAivazis/survey/v2 from 2.2.7 to 2.3.1 ( #803 )
...
Bumps [github.com/AlecAivazis/survey/v2](https://github.com/AlecAivazis/survey ) from 2.2.7 to 2.3.1.
- [Release notes](https://github.com/AlecAivazis/survey/releases )
- [Commits](https://github.com/AlecAivazis/survey/compare/v2.2.7...v2.3.1 )
---
updated-dependencies:
- dependency-name: github.com/AlecAivazis/survey/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-08 14:52:34 +00:00
Ryan
12928a0ac6
feat: add Dependabot config ( #797 )
...
Add Dependabot to keep dependencies up to date
2021-09-08 13:46:45 +00:00
ChristopherHX
6e5bd24728
Cache dockerhub images from linux for macOS ( #768 )
...
* Cache dockerhub images from linux for macOS
An attempt to avoid hitting the dockerhub Pull Rate Limit.
* parallelize / refactor docker cache
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-08-30 17:01:30 -07:00
Ryan
4c645b3ed9
Update Go to 1.17 ( #787 )
...
* ci: bump Go version & move it to env
* go.mod: bump golang.org/x/term
* ci: capture Windows arm64 binary
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-08-30 11:06:20 -07:00
Ryan
37aaec81f4
feat: improve list ( #786 )
2021-08-30 15:38:03 +00:00
Ryan
de44a505da
fix: copy whole action dir to container ( #774 )
...
fixes https://github.com/nektos/act/issues/754
this will prevent actions from failing that use resources outside
of the action directory
2021-08-10 22:21:52 -07:00
Ryan
bea32d5651
Add proper support for working-directory & fix command builder ( #772 )
...
* fix: align other Docker executors to print action
* fix: formatting
* fix: add proper workdir support
* fix: replace script filepath after slice creation
* fix: match substring so it works for pwsh
+ rename containerPath to scriptPath to reflect what value it contains
2021-08-10 19:40:20 +00:00
ChristopherHX
77b3968913
Fix docker: invalid reference format ( #767 )
...
* Fix local Docker actions: invalid reference format
* Create Dockerfile
* Create Dockerfile
* Update push.yml
* Revert "Create Dockerfile"
This reverts commit 9d1dbbc2c7fdf52963e55feb4148ac2b14d639d0.
* Fix lint
* fix: re-use image that is already present in repo
ubuntu:latest would pull unnecessary blobs from registry and count toward API limit
* fix: revert change
reverting due to issue in image deletion that will have to be investigated separately
Co-authored-by: Ryan <me@hackerc.at >
2021-08-09 18:16:31 +00:00
Ryan
5c841e22ab
Update docs, file formatting and docker images ( #766 )
...
* docs: fix wrong licence link
* fix: add more formatting settings, reformat all
feat: add vscode extensions recommendations
* docs: update contributing documentation
* fix: remove unnecessary comment
it was due to broken checkout
* docs: rework installation section
it has been brought up few times, new style should be easier
to understand
* docs: update images provided by catthehacker
* docs: replace 18.04 with recent image
* fix: add final new line
2021-08-09 09:07:26 -07:00
Ryan
94fd0ac899
Simplify Matrix decode, add defaults for fail-fast and max-parallel, add test ( #763 )
...
* fix[workflow]: multiple fixes for workflow/matrix
fix[workflow]: default `max-parallel`
fix[workflow]: default `fail-fast`, it's `true`, not `false`
fix[workflow]: skipping over the job when `strategy:` is defined but `matrix:` isn't (fixes #625 )
fix[workflow]: skip non-existing includes keys and hard fail on non-existing excludes keys
fix[workflow]: simplify Matrix decode (because I "think" I know how `yaml` works) (fixes #760 )
fix[tests]: add test for planner and runner
* fix(workflow): use yaml node for env key
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-08-09 15:35:05 +00:00
ChristopherHX
43d46aa62f
Fix format function {{, }} are escapes ( #752 )
...
* Fix format function {{, }} are escapes
Added some tests for some corner cases
* Update format function added 2 error checks
2021-08-09 15:19:10 +00:00
ChristopherHX
0ff204b615
Read localaction's from container ( #719 )
...
Fix localaction tests (missing checkout)
Co-authored-by: Ryan (hackercat) <me@hackerc.at >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-08-03 17:39:56 +00:00
Bryan Naegele
531ea02fb9
Fix ImageOS format ( #761 )
...
The current algorithm given `ubuntu-18.04` returns `ubuntu18.04` when it should be `ubuntu18` according to https://github.com/actions/virtual-environments/issues/345#issuecomment-581263296 .
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-08-01 15:39:39 +00:00
Herby Gillot
4036b8a3b1
README: add MacPorts info ( #762 )
2021-08-01 15:29:13 +00:00
ChristopherHX
149cc19908
Fix defaults (composite) ( #753 )
...
* Fix defaults (composite)
* uses-composite: rely on defaults to pass
* Add test_input_required back, needs more tests
* Update Tests to test defaults carefully
2021-07-21 13:50:43 +00:00
Derek Bender
c865a56c5a
Fix url typo in README.md ( #746 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-07-14 14:40:09 +00:00
Dave Tapley
73b22a0da6
Add docker context workaround to readme ( #749 )
...
* Add docker context workaround to readme
* Update README.md
Co-authored-by: Ryan (hackercat) <me@hackerc.at >
* Fix README
MD031/blanks-around-fences Fenced code blocks should be surrounded by blank lines [
Co-authored-by: Ryan (hackercat) <me@hackerc.at >
2021-07-07 18:41:23 +00:00
Phil Story
dcbd5837af
Add needs job output ( #629 )
...
* Add outputs field to job model
* Add output interpolation for jobs
* Add otto config reference for interpolated job output values into 'needs' context
* Add output interpolation call after job has completed.
* gofmt
* Remove whitespace
* goimports
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-07-01 15:20:20 +00:00
Ryan (hackercat)
1cf422e411
fix: warn Apple M1 (arm64) users ( #743 )
...
* fix: warn Apple M1 (arm64) users
* fix: missing dep
* fix: linting
* fix: linting (again)
2021-06-23 18:09:27 +00:00
Ryan (hackercat)
a9fe038347
Update images, fix extrapath ( #723 )
...
* fix: typo
* fix: remove debug for git references
it generates a massive amount of logs
* feat: read values from env
allows to test act on GHA when it's not a main repo
* fix: merge extrapath with PATH
* fix(tests): add additional shells for testing
* fix(image): update images
pin node to major version only, current node version: 12.22.1
replace most images with `node:12-buster-slim` to prevent
errors on macOS runner due to DockerHub pull limit
replace ocaml image
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-06-10 23:12:05 +00:00
Justin Grote
a9295c9db2
Test fixups for Windows/Forks ( #681 )
...
* Test fixups for Windows/Forks
* revert change for repo/actor/owner
this is fixed via https://github.com/nektos/act/pull/723
Co-authored-by: Ryan (hackercat) <me@hackerc.at >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-06-10 18:27:35 +00:00
ChristopherHX
e5d4886787
Refactor local, composite actions and run steps ( #712 )
...
Skips docker cp for local actions and use their correct path
Defines GITHUB_ACTION_PATH also for nodejs actions
Evaluate Env of composite action
Evaluate Run of composite action correctly
Evaluate Shell of run step
Evaluate WorkingDirectory of run step
Changed tests for behavior change
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-06-10 15:28:23 +00:00
Joseph Benden
003c995b36
Support container removal at exit. Fixes #694 ( #714 )
...
This patch adds a new command-line flag (`--rm`) to automatically
stop workflow container(s), just prior to exit. The default
behavior is kept, e.g.: the containers continue running at exit.
Fixes : #694
Signed-off-by: Joseph Benden <joe@benden.us >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-06-10 15:09:05 +00:00
Ryan (hackercat)
2261204c65
fix: wrong perms ( #726 )
...
if someone is using image with a non-root user, they will get a permission denied since only root has write perms
2021-06-09 16:08:39 -07:00
Ryan (hackercat)
6550eb7f25
fix: update codecov action (again) ( #731 )
2021-06-09 10:30:16 -07:00
Ryan (hackercat)
05bce00e93
fix: update codecov action ( #727 )
2021-06-07 10:26:28 -07:00
Ryan (hackercat)
96a0564526
fix: don't replace empty secrets ( #725 )
2021-06-07 13:54:12 +00:00
Ryan (hackercat)
33ccfa6f3b
Switch to interface{} instead of map[string]... ( #700 )
...
* fix: change `env` to be an interface
allows to use GitHub functions like `fromJson()`
* fix: change matrix to an interface instead of map
This allows to use GitHub functions like `fromJson()` to create dynamic
matrixes
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-06-06 14:53:18 +00:00
Ryan (hackercat)
fa93f4d5e7
fix: update issue template ( #722 )
...
* fix: update issue template
add additional information to be provided by user that should help in troubleshooting
* fix: move markdownlint config and link it
done it so the markdownlint-cli stops shouting about issues
* feat: add Matrix link
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-06-04 20:16:01 +00:00
Joseph Benden
6b4d359737
Add support for container kernel capabilities ( #716 )
...
This patch adds two new command-line flags to specify one or
more kernel capabilities to add or remove from the workflow
containers.
The command-line flag `--container-cap-add` allows for adding
specific capabilities on the workflow containers; where as,
The command-line flag `--container-cap-drop` allows for removing
specific capabilities on the workflow containers.
This was developed to specifically be able to add `SYS_PTRACE`
to a workflow I maintain. It involves using this capability to
monitor a make build, to then build a compilation database.
Signed-off-by: Joseph Benden <joe@benden.us >
2021-06-04 16:06:59 +00:00
Björn Brauer
8a9167da82
fix: avoid race condition by not running exec/start twice ( #702 )
...
ContainerExecAttach implicitly runs ContainerExecStart while attaching
to stdout/stderr.
Ref: e02bc91dcb/client/container_exec.go (L40)
Calling both can lead to a race condition as observed in #627
Fixes : #627
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
2021-05-25 12:35:52 +00:00
Ryan (hackercat)
d794e2fe4c
Move actions path outside of workdir ( #701 )
...
* feat: add option to specify user for exec
* fix: move actions to static path outside workdir
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-05-24 17:09:03 +00:00
Ryan (hackercat)
490039975f
Add arm64/arm and capture all snapshots ( #699 )
...
* fix: format `.goreleaser.yml`
* feat: add `arm64`/`arm` builds
* feat: capture all binaries built by goreleaser
`upload-artifact` actions will run only on GitHub Actions due to
`ACTIONS_RUNTIME_TOKEN` requirement
* fix: remove `windows/arm/6`
2021-05-23 08:32:55 -07:00
Ryan (hackercat)
799098b0e6
feat: add option for custom socket path ( #698 )
2021-05-23 14:43:09 +00:00
Josh Soref
764263ce0e
Have List suggest -W for duplicate jobs ( #691 )
...
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-05-20 14:12:10 +00:00
Björn Brauer
60b9606fc6
fix: use github auth token for pulling a repository ( #693 )
...
Co-Authored-By: Markus Wolf <markus.wolf@new-work.se >
Co-authored-by: Markus Wolf <markus.wolf@new-work.se >
2021-05-19 13:40:28 +00:00
Josh Soref
29ea8cfc4e
Fix: GITHUB_PATH should prepend ( #690 )
...
* GITHUB_PATH is prepend
https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#adding-a-system-path
* Check for replacing system binaries
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com >
2021-05-18 13:22:39 +00:00
Markus Wolf
38f6dfb49a
fix: use auth when fetching (same as with cloning) ( #687 )
...
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: Björn Brauer <bjoern.brauer@new-work.se >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-05-18 06:25:07 +00:00
Ryan (hackercat)
f571290b25
refactor: remove gotest.tools ( #688 )
...
* refactor: remove `gotest.tools`
* remove all references to `gotest.tools` and replace it with
`github.com/stretchr/testify` which was originally used for tests
* bump `golangci-lint` version
* add `depguard` and `importas` to prevent import of unwanted packages
* add custom schema and information about config since
schemastore.org has broken schema for `golangci-lint` config
* fix: handle more error cases
2021-05-17 23:14:49 -07:00
Oliver Kopp
3e22b1b374
Fix typo ( #685 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-05-17 01:09:11 +00:00
Oliver Kopp
ee05fb1e1f
Add hint on ${{ github.token }} ( #686 )
2021-05-17 01:02:40 +00:00
Markus Wolf
3db50376aa
fix: hide masked value ( #668 )
...
* fix: hide masked value
The ::add-mask:: command output logs the value to be masked.
This does expose critical information which should be hidden from
the output.
* Add test to not output secret in add-mask command
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-05-15 21:11:16 +00:00
Justin Grote
ef0da2ab9e
Hotfix: Skip Checkout Regression ( #680 )
...
* Fix: Skip Checkout Regression
* Fix test name
* Add newline to end of checkout push test
* Restore .gitignore from node12 test. Todo: Restore that file after the test
* Format workflow
* Test: Fix path slash direction for windows relative source path
* Add explicit nil test for newRemoteAction
* Regress .secrets during tests
Co-authored-by: Ryan (hackercat) <me@hackerc.at >
2021-05-10 15:12:57 +00:00
Ryan (hackercat)
aa68181f6b
refactor: return more errors, add more tests ( #679 )
...
adding more tests
returns same message for short SHA format like GitHub Actions
refactor error checking
add more errors :)
2021-05-08 03:29:03 +00:00
Ryan (hackercat)
cc4e23d96c
fix: remove Windows issue from README.md ( #675 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-05-06 13:16:24 -07:00
Ryan (hackercat)
a6a865e973
fix: replace gopass lib with golang.org/x/term ( #674 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-05-06 20:13:14 +00:00
Josh Soref
a144e71a1b
Add various GitHub environment variables ( #604 )
...
* define GITHUB_ACTION_PATH #603
* Add more environment variables
* Add job name
Note: the job name gets a suffix for matrix builds, but this is not part of the env var
* fix: remove unnecessary variables
* feat: add `RepositoryOwner`
credit: @KnisterPeter
* feat: add test for `getGithubContext()`
Co-authored-by: Ryan (hackercat) <me@hackerc.at >
2021-05-06 20:02:29 +00:00
Markus Wolf
a07cb440c2
Write git clone progress only if terminal is a TTY ( #670 )
2021-05-06 06:55:23 -07:00
Ryan (hackercat)
37a98f134a
feat: add go install instruction ( #672 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-05-06 13:43:50 +00:00
Torbjørn Vatn
92eec3a526
$GITHUB_PATH support ( #566 )
...
* Regression in the .golangci.yml file
* This looks like an even better fix to #451
The previous solution only prevented the `starting container process caused "exec: \"bash\"`
error when someone added an "extra" path in the workflow using `::add-path`
* Add support for >> $GITHUB_PATH
* The newRunCommand has too high cyclomatic complexity
* Add "linux/arm64" to new test
* The cyclop linter was complaining so I extracted some funcs
* Close some readers
* Fix typo
* fix: add missing composite function
* Fix regress from merging
* Keep the error messages as is
* consolidate with master
* Close the tar reader on defer
* New way to get ContainerWorkdir
* Remove arch from runner test
* Separate the UpdateFromEnv and UpdateFromPath
Co-authored-by: hackercat <me@hackerc.at >
2021-05-06 13:30:12 +00:00
Ryan (hackercat)
8153dc92e5
Fix environment variables and move envs.txt/event.json to fixed location ( #667 )
...
* fix: environment variables sourcing from `/etc/environment`
* fix: move `envs.txt` & `event.json` to `/tmp/`
Since #635 `envs.txt` is not copying properly when running `act` in WSL2
Moving it to fixed location resolves that.
2021-05-05 23:11:43 +00:00
Renstrom
aba4fec0ee
Fixes #598 ( #628 )
...
* Potentially solved merge conflict
* Update pkg/model/planner.go
Based on feedback
Co-authored-by: Ryan (hackercat) <me@hackerc.at >
* Fixed compilation error
* added missed test
* Fixed spelling error to work with lint error
Co-authored-by: Ryan (hackercat) <me@hackerc.at >
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-05-05 13:04:03 -07:00
Casey Lee
596e518fe9
Update codecov.yml
2021-05-05 09:48:50 -07:00
Björn Brauer
0c4374ec41
GitHub Enterprise support ( #658 )
...
* Add option to specify custom GitHub instance
* Use correct GHE API endpoint URLs
Co-authored-by: Markus Wolf <knister.peter@shadowrun-clan.de >
* Extract slug from GitHub Enterprise URLs
Co-authored-by: Markus Wolf <knister.peter@shadowrun-clan.de >
* Use GITHUB_TOKEN for clone authenticate if provided
This change will allow use authentication for cloning actions
from private repositories or github enterprise instances.
Co-Authored-By: Markus Wolf <knister.peter@shadowrun-clan.de >
* Add section about using act on GitHub Enterprise to README
Co-authored-by: Markus Wolf <knister.peter@shadowrun-clan.de >
* Set GitHubInstance in runnerConfig in runner_test
Co-authored-by: Markus Wolf <knister.peter@shadowrun-clan.de >
Co-authored-by: hackercat <me@hackerc.at >
Co-authored-by: Markus Wolf <knister.peter@shadowrun-clan.de >
2021-05-05 09:42:34 -07:00
Markus Wolf
710a3ac94c
Add custom docker registry authentication ( #665 )
...
* Add custom docker registry authentication
Uses DOCKER_USERNAME and DOCKER_PASSWORD as secrets provided into
the act cli.
Closes #527
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
* Add test to check if pull authentication is filled in
* Update debug message to be more descriptive
Co-authored-by: Ryan (hackercat) <me@hackerc.at >
Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de >
Co-authored-by: Ryan (hackercat) <me@hackerc.at >
2021-05-05 09:37:17 -07:00
Justin Grote
616d7fcaeb
Remove pwsh -login and add Pwsh test ( #660 )
...
* Remove pwsh -login and add Pwsh test
* Add Shell Command Test for coverage
* 🧪 Move PWSH Platform definition to inline test, it can always be expanded out later
Reference: https://github.com/nektos/act/pull/660#discussion_r626171728
* Test MacOS Build for transient failure
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-05-05 05:57:33 +00:00
Casey Lee
e79379cfaa
Mergify: configuration update ( #663 )
2021-05-04 22:45:34 -07:00
Casey Lee
314a80b502
Mergify: configuration update ( #662 )
2021-05-04 22:38:14 -07:00
Casey Lee
f4b3cfea67
Mergify: configuration update ( #661 )
2021-05-04 22:33:24 -07:00
Casey Lee
fd1166b9ed
Mergify: configuration update ( #659 )
...
* Mergify: configuration update
* cleanup workflows, codecov and mergify
2021-05-04 14:57:33 -07:00
Justin Grote
0f049426f6
Separate Container Workdir from host Workdir ( #635 )
...
* Separate Container Workdir from Host Workdir
* Add delegated component to MacOS Test
* Lint: Remove leading newline
* Fix trailing path issue
2021-05-04 14:50:35 -07:00
Josh Soref
020d6a6083
Composite action ( #608 )
...
* Refactor maybeCopyToActionDir
* Use maybeCopyToActionDir for model.ActionRunsUsingComposite
2021-05-03 14:57:46 -07:00
Ryan (hackercat)
cec63488f3
Add super-linter + fix lint issues ( #650 )
...
* feat: bump `golangci-lint`, add `super-linter`, replace outdated linter
Bump `golangci-lint` version.
Add `super-linter` to lint other languages.
Go linter is disabled because it's currently broken:
https://github.com/github/super-linter/pull/370
Replacing `scopelint` with `exportloopref`: "[runner] The linter
'scopelint' is deprecated (since v1.39.0) due to: The repository of the
linter has been deprecated by the owner. Replaced by exportloopref."
Fixed formatting in `.golangci.yml`
Add addtional linters:
`misspell`: purely style, detects typos in comments
`whitespace`: detects leading and trailing whitespace
`goimports`: it's gofmt + checks unused imports
* fix: lint/fix `go` files
* fix: lint with `standardjs`
* fix: lint/fix with `markdownlint`, make template more verbose
* feat: add lint stuff to makefile
* fix: `UseGitIgnore` formatting
* fix: lint/fix `README.md`
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-05-03 09:52:03 -07:00
Renstrom
3db3d416e3
Fixes Issue #597 ( #637 )
...
* feat:(Changed order of events, to prevent enviroment to run before if statement is run
* changed issue597 to issue-597
* Added test for linux/amd64
2021-05-03 09:51:48 -07:00
Ryan (hackercat)
780f60a1e6
fix: ignore act binary built when using make ( #654 )
2021-05-03 08:26:12 -07:00
Josh Soref
cc3e7aeaf2
GitHub Event Path #542 ( #605 )
...
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-05-03 08:02:26 -07:00
Ryan (hackercat)
806bc4d999
refactor: NewWorkflowPlanner ( #648 )
...
feat: add flag `--no-recurse` to disable recursion when reading workflows from directories
feat: added more tests to `TestPlanner`, renamed `TestJobFileInfo` to more appropriate name `WorkflowPlanTest`
style: changed error message to lowercase, added single quotes for better visibility
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-05-03 07:57:24 -07:00
Ryan (hackercat)
b04d762614
feat: Don't push pkg/runner/act/ where actions cache is stored ( #620 )
...
This will prevent pushing `act` cache that happens occasionally.
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-05-03 07:54:51 -07:00
Ryan (hackercat)
08141f5b00
fix: update readme with more relevant/updated information ( #630 )
2021-05-03 07:41:30 -07:00
Ryan (hackercat)
7ae9916de0
Add option to allow files/directories in .gitignore to be copied to container ( #537 )
...
* disable gitignore for actions
* feat: Add option to allow/disallow paths specified in .gitignore
Co-authored-by: Alan Birtles <alan.birtles@eu.sony.com >
2021-05-03 07:37:20 -07:00
Robert Stupp
ea7503bc25
Prefer go-git to find the reference name ( #633 )
...
Walking the directory tree underneath `.git/refs` is not reliable, as it usually does not
return tags, especially for freshly cloned repos and/or tags fetched from a remote.
The go-git library provides an iterator over all git references.
This approach prefers a reference (tag, branch) from go-git, if found. If none is found,
it falls back to the previous implementation.
2021-05-03 07:32:00 -07:00
Ryan (hackercat)
f32babb51d
fix: reworked container architecture ( #619 )
...
- Don't set architecture, let Docker host decide it's own platform,
remove `runtime` dependency and don't show default in `--help`
- Remove most tests, we need to check only once if it works on
different platform
- Rename `DeleteImage` to `RemoveImage` to conform to existing
function in `docker` cli, added options to specify `force` and
`pruneChildren`
2021-05-02 08:15:13 -07:00
Ryan (hackercat)
3e768cd916
feat: Speeding up workflows ( #643 )
...
* fix: rework macOS test so it's faster
* feat: add go module caching
2021-05-02 08:13:30 -07:00
Johannes Nicolai
f56b21f6c3
Add nektos/act to awesome-runner curated list ( #624 )
2021-04-18 09:53:54 -07:00
KADOTA, Kyohei
010e459e95
Clean the repository cache if it is in incomplete state ( #595 )
2021-04-06 06:43:02 -07:00
Josh Soref
465fbba7d1
Handle tagless versions ( #606 )
...
Average case:
git describe --tags
v0.2.9-130-g47e1ba1
git describe --tags --dirty --always | cut -c 2-
0.2.9-130-g47e1ba1
git describe --tags --dirty --always | sed -e s/^v//
47e1ba1
Edge case (no tags):
git describe --tags --dirty --always
47e1ba1
git describe --tags --dirty --always | cut -c 2-
7e1ba1
-- this is undesirable
2021-04-05 08:53:06 -07:00
hackercat
4125812a63
Refactor .actrc locations and default image survey ( #600 )
...
* refactor: move survey/cfgs into own funcs, read XDG base dirs for config
Moved actrc locations to own func since it can be reused.
Moved survey part to own func due to high cyclomatic complexity.
Added XDG config dir to config locations.
Replaced using HOME envvar with go-homedir module since it's already
an indirect dependency and handles home directories better
for each GOOS.
* refactor: use `go-homedir`, check if XDG var is not empty
2021-04-05 08:51:13 -07:00
Josh McSavaney
47e1ba1b55
Go 1.16 is required since 5752a03dc ( #601 )
2021-04-03 19:34:12 -07:00
Mark DeLillo
b9a7bc6202
Add support for composite actions ( #514 )
...
* Add support for composite actions
* Fix to make more complex composite actions work
* Fix to make more complex composite actions work
* Let's validate the steps in the composite steps to fail on uses and run's without shell, like the real world
* Add support for composite actions
* Add workflow to test composite actions
* Log instead of panicing when output is mismatched
* Merge maps so environment variables are not lost
* Remove Debug
* Correect merge error
* Remove invalid composite tests.
* Fix composite test
Co-authored-by: Casey Lee <cplee@nektos.com >
Co-authored-by: monkers <mikem@msquaredconsulting.co.uk >
Co-authored-by: Mike Moncrieffe <69815687+mikemonkers@users.noreply.github.com >
2021-04-02 13:40:44 -07:00
hackercat
94d736a602
fix: fail workflow if the job name is invalid ( #596 )
2021-04-02 07:01:45 -07:00
hackercat
5044ec6c43
fix: remove HOME env var ( #594 )
2021-04-01 14:01:01 -07:00
hackercat
25779af4bf
fix: return error if both run:/uses: keys are used ( #593 )
...
fixes https://github.com/nektos/act/issues/536
2021-04-01 11:36:41 -07:00
Josh Soref
5752a03dcd
Support running commands in repositories without action.yaml ( #293 )
...
* Comment for public function
* Add git describe fallback
* spelling: github
* Set initial branch to satisfy tests for modern git
* Clarify -even- if
* Go 1.16
* Support running commands in repositories without action.yaml
Support runnings commands with only a Docker file
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-03-30 12:26:25 -07:00
Jay Pipes
d67e282f68
use container image platform only on docker 1.41+ ( #591 )
...
Commit af5140f13e introduced support for
specifying a container image platform for cross-platform image building.
Unfortunately, attempting to execute a docker command that includes the
`--platform` flag against Docker daemons using API Version 1.40 and
before results in the following error:
```
"specify container image platform" requires API version 1.41, but the Docker daemon API version is 1.40
```
To allow `act` to be used on the 19.03 Docker CE and earlier versions,
this patch simply checks the Docker daemon API version and only
specifies platform specification when the daemon API version is 1.41 or
greater.
Fixes Issue #586
2021-03-30 10:10:42 -07:00
Casey Lee
737dfaff3d
Merge branch 'master' of github.com:nektos/act
2021-03-29 10:22:50 -07:00
Casey Lee
aaaa89532a
Update CODEOWNERS to use 'act-maintainers' team
2021-03-29 10:22:33 -07:00
Justin Grote
957b8ad76d
Update Shell Tasks to match ScriptHandlerHelpers ( #575 )
...
* Update Shell Tasks to match ScriptHandlerHelpers
Code: https://github.com/actions/runner/blob/main/src/Runner.Worker/Handlers/ScriptHandlerHelpers.cs
Docs: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell
Fixes #467
* 🩹 Remove old ps1 handler
* ♻️ gocritix fix
* 🐛 Powershell command must be a single entry to docker API
Fixes #467
* Remove Act Temp
* Remove additional Act Directories
* remove hard-coded workdir
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-03-29 10:06:51 -07:00
Casey Lee
c27ef0a65c
update to codecov version
2021-03-29 09:07:13 -07:00
hackercat
780a8a061c
fix: use new platforms after survey, check working dir for .actrc ( #577 )
2021-03-29 07:58:00 -07:00
hackercat
f5a02581c2
Add code testing on MacOS ( #563 )
...
* feat: add code testing on macos
* change name of test job
Keep the test job named `test` to align with current branch protection checks
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-03-29 07:55:51 -07:00
Casey Lee
af5140f13e
Merge branch 'master' of github.com:nektos/act
2021-03-28 22:34:03 -07:00
Casey Lee
345c652e75
add status checks
2021-03-28 22:28:45 -07:00
Casey Lee
2825449c7f
add codecov integration ( #585 )
...
* add codecov integration
* include past tags when releasing
2021-03-28 22:15:56 -07:00
Casey Lee
69018f36d3
include past tags when releasing
2021-03-28 22:11:42 -07:00
Casey Lee
f58fbc0dff
add codecov integration
2021-03-28 22:02:11 -07:00
hackercat
72f2d2de51
fix: update ubuntu-latest to point to ubuntu-20.04 ( #580 )
...
GitHub Actions switched `ubuntu-latest` to `ubuntu-20.04`
Ref:
https://github.com/actions/virtual-environments/issues/1816
https://github.com/actions/virtual-environments/pull/2852
2021-03-28 21:47:07 -07:00
hackercat
29b3d43988
fix: hardcode ubuntu-latest for ImageOS envvar ( #579 )
...
Hardcode current `ubuntu-latest` since we have no way to check that 'on the fly'
2021-03-28 21:46:09 -07:00
hackercat
f3b53d8eca
fix: pass sc.Env through common.Logger to hide secrets ( #578 )
...
Currently all secrets are exposed when running with `--verbose`/`-v` option
2021-03-28 21:45:07 -07:00
Justin Grote
da07324779
CI: Add snapshot artifacts to PR builds ( #574 )
...
* Feat: Add snapshot artifacts to PR builds
* Separate Artifacts to keep file size down
* Name the tasks
2021-03-28 21:38:28 -07:00
hackercat
b438b836ea
fix: invoke login shells to source /etc/environment ( #570 )
2021-03-28 21:35:01 -07:00
rockandska
6cde8f64dc
use project dir instead of /github/workspace ( #567 )
2021-03-28 21:32:45 -07:00
hackercat
6c258cf40d
Add option to run custom architecture (container platform) ( #525 )
...
* Add QEMU to run different architectures
* Update dependencies in `go.mod`
* Add `--container-architecture` flag to specify custom image architecture
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-03-28 21:08:40 -07:00
hackercat
41b03b581c
fix: add ImageOS env var based on running platform ( #571 )
2021-03-17 17:14:08 -07:00
hackercat
09679f0156
Update test workflows and improve expression_test.go/run_context_test.go ( #560 )
...
* fix: give case insensitive secret more meanigful name
* refactor: use `string` in generating `env:` and `steps:` for workflows
Smaller text generation is much better to read with normal strings than
raw string literals.
* feat: sort keys for `env:` so it's always in specific order
* fix: update test workflows
2021-03-12 16:25:10 -08:00
hackercat
eb2774275f
Fix tests on Windows ( #562 )
...
* fix: replace `\` with `/` in git ref to fix `git_test.go` on windows
Paths on Windows use backslash (`\`) as directory separator and this breaks `TestGitFindRef()`.
Replacing `\` with `/` in git ref fixes that issue.
* fix: replace `gopkg.in/godo.v2/glob` with std library `path/filepath`
`github.com/go-godo/godo` lib has been last updated in 2016 and it also
depends on another outdated lib `github.com/MichaelTJones/walk` with
last update in 2016. This also fixes `permission_denied` errors on
Windows (and perhaps Linux in some specific cases). I'm not aware of
any performance improvement or drawback because of that change.
2021-03-12 16:23:03 -08:00
Alfredo Deza
f29b1f2523
Add more context to MODULE_NOT_FOUND errors and how to fix it ( #552 )
2021-03-12 16:15:27 -08:00
Hibariya
8de7b956b7
Add --userns flag to support Docker daemon that enables user namespace ( #533 )
...
I got an error like this after hitting `act` command.
> Error: Error response from daemon: cannot share the host's network namespace when user namespaces are enabled
According to the document, when user namespaces are enabled on the Docker daemon,
neither host network mode and --privileged work without --userns=host. Since `act`
uses host network mode to match GitHub Actions runners, it cannot run jobs when
user namespaces are enabled. So I added the flag.
https://docs.docker.com/engine/security/userns-remap/#user-namespace-known-limitations
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-02-27 08:31:25 -08:00
Horimatsu Takuya
6c118fe9ad
#534 feat: step continues when continue-on-error is ture ( #544 )
...
* feat: step continues when continue-on-error is ture
* fix: typo, logging and make bool continuable
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-02-25 08:55:07 -08:00
Shin Uozumi
14c06ee5e4
enable to resolve commit hash in uses ( #530 )
...
Co-authored-by: sinozu <sinozu@users.noreply.github.com >
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-02-23 09:50:28 -08:00
hackercat
34dc2dc15c
Update Docker images ( #524 )
2021-02-23 09:49:24 -08:00
Kamil Domański
475a6aa1d0
properly parse arguments to Docker container steps ( #539 )
2021-02-23 09:47:06 -08:00
Johannes Nicolai
c4f1f3a1cf
Fix link to issue #97 in README.md ( #541 )
...
* fix link to issue #97 in README.md explaining why certain runner platforms are not supported
2021-02-23 09:45:28 -08:00
Shin Uozumi
9bf37fb868
Fix indent with go fmt ( #531 )
...
Co-authored-by: sinozu <sinozu@users.noreply.github.com >
2021-02-17 11:47:59 -08:00
Andrew Gee
60669808a4
Removed pipefail from bash shell execution to match GitHub Actions ( #529 )
...
fixes #528
Co-authored-by: Hugh Lunt <hugh.lunt@itv.com >
Co-authored-by: Hugh Lunt <hugh.lunt@itv.com >
2021-02-12 08:28:26 -08:00
Cat™
661aa08235
Add GitHub issue templates ( #512 )
2021-02-08 09:15:51 -08:00
KADOTA, Kyohei
316b078f8c
Shouldn't rewrite dot in a string to index syntax ( #502 )
...
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-02-08 09:14:12 -08:00
Cat™
fc46f506e3
Update README.md/cmd/root.go with additional information ( #523 )
...
* Update README
* Add notice about large image, add link to repo for `.actrc`
2021-02-08 09:12:57 -08:00
Cat™
ec6b1624c0
Fix choco Dockerfile ( #515 )
2021-02-03 11:12:15 -08:00
Taiju Muto
eca1b9c478
Add lacking environment variables. ( #513 )
2021-01-31 21:59:51 -08:00
Cat™
8339f4b404
Interpolate with: inputs ( #511 )
2021-01-30 17:43:11 -08:00
Owen Young
22d56c3517
fix: --version, --help do not need check platform config ( #508 )
2021-01-29 06:40:13 -08:00
Ed
56ec36726b
Fix Cartesian product to return empty set if empty set is given ( #503 )
...
This fixes #499 , where a matrix strategy with only include keys ends up
causing multiple builds. This bugs appears to have been introduced in #415 ,
when extra include keys are added in the matrix strategy. The cause
seems to be because the CartesianProduct function returns an item with
empty keys, instead of return an empty set.
Co-authored-by: Ed Tan <edtan@users.noreply.github.com >
2021-01-23 14:55:54 -08:00
KADOTA, Kyohei
2d1a946fb1
Throw an error if the steps has a invalid uses directive ( #500 )
...
* Throw an error if the steps has a invalid uses directive
* Refactor TestStepContextExecutor
2021-01-23 08:07:28 -08:00
Cat™
e37b42a333
Print error with workflow/job information when runs-on key is not defined ( #494 )
...
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-01-21 06:02:48 -08:00
KADOTA, Kyohei
719a077b7c
Stop current execution if there is the invalid syntax in the workflow ( #495 )
2021-01-21 06:00:33 -08:00
Cat™
b424a785e3
Load .secrets file as default ( #488 )
...
* Load .secrets file as default
* Update README
2021-01-19 06:31:46 -08:00
Cat™
6130460c40
Add survey during first run for a default image ( #483 )
...
* Add survey during first run for a default image
* few minor formatting updates
* Use image from DockerHub
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-01-19 06:30:17 -08:00
Ed
c7b3869b2f
Report error when if expression is invalid ( #485 )
...
Co-authored-by: Ed Tan <edtan@users.noreply.github.com >
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-01-18 11:44:27 -08:00
Cat™
9bbf35e88e
Add autodetect event flag ( #486 )
...
* Add autodetect event flag
* Add new flag to README.md
* Make help more clear
2021-01-18 11:42:55 -08:00
Casey Lee
7f6a808262
update stale labels to stop closing issues that are NOT stale
2021-01-18 10:41:49 -08:00
KADOTA, Kyohei
e6fcfed458
Format sources with gofmt ( #472 )
...
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-01-14 21:37:38 -08:00
Cat™
41692c314d
Add --env flag to pass environment vars without file ( #474 )
2021-01-14 21:26:01 -08:00
KADOTA, Kyohei
6e1cdeefc0
Fix "reference not found" error on checkout ( #433 ) ( #471 )
2021-01-14 21:24:17 -08:00
Cat™
460ed2db04
Update parts of repo ( #476 )
...
* Update flags in README
* Add secrets and `.env` files examples
* Fix typo: environment
* Fix typo: returned
* Add --version back, since I've built act without ldflags
2021-01-14 21:21:44 -08:00
Ibraheam
126cce3cfe
Fix/a small confusion in readme ( #477 )
...
* using ubuntu-18.04 instead of ubuntu-latest when specifying platform -P flag in readme, it cause a little confusion
* fix a confusion in .actrc for the image name
2021-01-14 21:20:17 -08:00
Cat™
97dc3cf147
Make stale bot action less aggressive ( #478 )
...
Make stale bot action less aggressive
Days before marking issues/PRs as stale: 30
Days before closing stale issues/PRs: 14
2021-01-14 21:19:25 -08:00
Wink Saville
f2c15074ac
Fix issue 416 ( #423 )
...
This is a solution to issue #416 where environment variables created or
changed in the previous step are not usable in the next step because
the rc.ExprEval is from the beginning of the previous step.
This change refactors setupEnv so that before interpolating the environment
variables a NewExpressionEvaluator is created.
Fixes: 416
2021-01-12 16:02:54 -08:00
Cat™
2811101dea
Make all secrets case insensitive by formatting them to uppercase ( #470 )
...
* Uppercase secrets, print error when secret with same name already exists
* Test lower-to-upper case formatting for secrets
2021-01-12 09:54:53 -08:00
KADOTA, Kyohei
1b38d5c4d9
Fix "reference not found" error ( #433 )
...
If an action uses the branch to pin the major version, `- use: user/action@v1`
will stop with an error: "v1: reference not found."
In this case `act` should use refs/remotes/origin/v1 as a name to resolve v1 revision.
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-01-11 22:47:33 -08:00
Cat™
760daebf5d
Fix slashes when running on Windows ( #461 )
2021-01-11 22:41:35 -08:00
Torbjørn Vatn
15eaa15a0e
GitHub env file support ( #426 )
...
* Upgrade to the official golangci-lint action and fix some issues it found
* Update deps
* Remove a shadow warning
* Initialize the splitPattern only once
* Initial attempt at supporting $GITHUB_ENV
Needs some polishing and tests
* Now it's actually working
* Replace golang.org/x/crypto/ssh/terminal with golang.org/x/term
* Disable the issue-228 test again
* The linter is picky
* Discovered that the workflow/envs.txt had to exist in certain cases
* Fix small linter issue
2021-01-11 22:39:43 -08:00
KADOTA, Kyohei
8887daa3e7
Fix tests if there are hooks generated by templates ( #434 )
...
If there are custom hooks in ~/.git_template/hooks,
they can occur an error on such as pre-commit hooks.
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-01-11 22:35:57 -08:00
Cat™
80a245652e
Add option to disable hiding of secrets ( #460 )
2021-01-11 22:28:45 -08:00
Cat™
a9b3d6426b
Use static initial PATH ( #462 )
2021-01-11 22:27:16 -08:00
Cat™
fecc571bce
Add Ubuntu 20.04 to supported platforms ( #463 )
...
Co-authored-by: Casey Lee <cplee@nektos.com >
2021-01-11 22:22:53 -08:00
Casey Lee
f86a4326a8
update goreleaser.yml
2021-01-11 22:17:36 -08:00
Benjamin Cooper
e16e6ea1c8
Update README.md ( #459 )
2021-01-08 00:26:20 -08:00
Steffen Seckler
e47a2395a5
Fixes include when using matrix and strategy build. ( #415 )
...
* fixes include directive of strategy build.
* Adds test for include and exclude in matrix builds.
* ubuntu-16.04 instead of 20.04
* Adds more platforms for runner_test
Prevent most "skipping unsupported platform messages".
* correct printing for unsupported platform
* fix merge
2020-12-08 10:13:07 -08:00
Wink Saville
d784bce96a
Extract runTestJobFile from TestRunEvent ( #429 )
...
This will allow other tests to be created in runner_test.go that can
be tested individually.
2020-11-29 21:45:11 -08:00
Torbjørn Vatn
b3299ecd30
Act env ( #417 )
...
* Test more if env variants
* The correct negation syntax is !=
* Make the Interpolate function support negated booleans from envs
* Move assert := a.New(t) into t.Run
This uncovered that some of the test premisses was wrong and the
Eval Bool function also had flaws
* Remove a stray logrus import
* Add an ACT env set to true
This can be used to skip certain steps that you don't want to run locally
when testing. E.g. steps that sends messages to Slack channels on successful
builds etc.
* Add a description about env.ACT to the readme
* A new attempt at Interpolation and EvalBool
* One small merge fix
* Remove some fmt.Printfs
* Fix some merge conflicts
2020-11-18 07:14:34 -08:00
Torbjørn Vatn
8ba3306aa4
EvalBool and Interpolation fixes ( #424 )
...
* A new attempt at Interpolation and EvalBool
* One small merge fix
* Remove some fmt.Printfs
2020-11-17 09:31:05 -08:00
Torbjørn Vatn
3f4998a4ed
envs in if: - take 2 ( #412 )
...
* Test more if env variants
* The correct negation syntax is !=
* Make the Interpolate function support negated booleans from envs
* Move assert := a.New(t) into t.Run
This uncovered that some of the test premisses was wrong and the
Eval Bool function also had flaws
* Remove a stray logrus import
2020-11-12 08:15:09 -08:00
Steffen Seckler
695c496684
Adds ability to use container images from matrices. ( #413 )
...
Uses rc.ExprEval.Interpolate on container image.
2020-11-10 14:55:27 -08:00
Peter Tissen
d5b2d60c35
Add variadic version of hashFiles ( #411 )
2020-11-09 09:08:57 -08:00
Casey Lee
d6b2e9df78
increase operations per run
2020-11-08 08:31:19 -08:00
Casey Lee
e6a391ddb1
remove stale label when comments added
2020-11-08 08:23:53 -08:00
Wink Saville
3f3de6e0b1
Use PathListSeparator ( #408 )
...
In PR #406 I used PathSeparator and I should have used PathListSeparator.
See: https://golang.org/pkg/os/#pkg-constants
2020-11-04 11:54:48 -08:00
Wink Saville
8204ef4b82
Change handling of ExtraPath ( #406 )
...
To make the handling of ExtraPath portable append it to the front of the
PATH when it exists, instead of always changing the script.
2020-11-02 13:56:20 -08:00
Owen Young
92067eb1a5
fix: outputs espace ( #404 )
...
* fix: outputs espace
* refactor: move unescape to func
* refactor: fix ci lint
* refactor: unescape function
2020-11-02 05:40:46 -08:00
Benjamin Räthlein
1e69525fb4
Update README.md ( #399 )
...
Add the command structure and another example for a non-default event command to make the usage more clear
2020-10-21 08:09:40 -07:00
jmmendivil
4791a9bc44
doc: add --secret-file example ( #395 )
2020-10-17 07:38:53 -07:00
lshamis
644bc2b635
Simpler list view ( #382 )
...
* Simpler list view
* lint
* readding graph viz with -g/--graph
Co-authored-by: Leonid Shamis <lshamis@bob.localdomain >
Co-authored-by: Casey Lee <cplee@nektos.com >
2020-10-12 10:26:22 -07:00
Taliesin Sisson
014d71af43
When running on Windows the correct path separator must be used ( #386 )
...
* When running on Windows the correct path separator must be used. filePath.join is OS aware, so when we want to use forward slash use path.join instead.
on windows docker cp should end with \. when copying a directory
when running npm modules we should pass in path with all forward slashes
This fixes #331
* When calculating relative folders on Windows for destination path on Linux, we need to change \ for /
* Reduce complexity by extracting methods
* V1 does not point to a file that does not exist
* Looks like something else is the cause of this test breaking. Last successful build is #371 , builds after that are failing
2020-10-08 22:30:50 -07:00
David Beck
569ebaccae
[Add] More logging for default push action ( #383 )
2020-10-08 22:28:01 -07:00
Lyle Underwood
3d9b82515c
Remove confusing message about symlinks ( #381 )
2020-10-06 10:02:37 -07:00
Javier Romero
729adec5e5
Fix path for local node12 actions ( #371 )
...
Fixes #185
Signed-off-by: Javier Romero <root@jromero.codes >
2020-09-29 13:39:45 -07:00
Tom Payne
32c41d22d6
Fix test target ( #375 )
...
* Fix test target
* Run Go tests in test target
2020-09-28 12:03:35 -07:00
Leonardo Dino
44151f208e
Add CI=true environment variable ( #372 )
...
fixes #333
see https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables
2020-09-28 08:22:42 -07:00
Tom Payne
6fdf1b04ef
Fix Homebrew install instructions ( #374 )
2020-09-28 08:21:44 -07:00
Owen
1070c58538
feat: support custom GITHUB_RUN_ID, GITHUB_RUN_NUMBER ( #369 )
...
* feat: add fromJSON support
* feat: support custom runId and runNumber
* chore: manual update
* chore: lint
2020-09-22 14:13:29 -07:00
Bar Weiss
04456ad234
Fix copyDir to normalize file paths in tar archive ( #360 )
2020-09-15 07:00:15 -07:00
Tom Lazar
7d443c6520
Set the default branch inside the event data ( #354 )
...
* set ${{github.event.repository.default_branch}}
* change `ok == false` to `!ok`
Co-authored-by: Casey Lee <cplee@nektos.com >
2020-09-02 07:56:44 -07:00
Owen
d521fa5bba
feat: add fromJSON support ( #352 )
2020-09-01 13:55:29 -07:00
Cameron Booth
b6f1df4d2f
Special case handling of empty workflow files for user experience ( #349 )
...
Co-authored-by: Casey Lee <cplee@nektos.com >
2020-08-31 14:50:01 -07:00
Yoan Blanc
3eef111e46
chore: upgrade docker v19.03.12 ( #348 )
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
2020-08-29 22:55:22 -07:00
Casey Lee
85f89e16eb
fix docker build issue on windows
2020-08-28 12:31:16 -07:00
Casey Lee
0d5a228ab9
update actions/stale to remove stale when issues are updated
2020-08-28 11:56:20 -07:00
Julian Squires
e698e8b324
Support setting shell via defaults.run ( #343 )
...
Note that we don't support the more general use of defaults, just its
run key for setting shell and working directory.
The documentation for defaults.run is here:
https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#defaultsrun
Fixes #214 .
Co-authored-by: Casey Lee <cplee@nektos.com >
2020-08-28 11:52:25 -07:00
Yoan Blanc
b3b8961122
feat: docker 19.03.12 ( #347 )
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch >
2020-08-28 11:45:03 -07:00
watiko
26e4270e41
fix file permission for non root user docker image ( #334 )
2020-08-08 13:31:26 -07:00
Casey Lee
17c7ecead2
Merge pull request #327 from whywaita/feat/add-privileged-mode
...
add privileged mode
2020-08-02 21:53:59 -07:00
Casey Lee
0ccc867f30
Merge branch 'master' into feat/add-privileged-mode
2020-08-01 19:05:56 -07:00
Tachibana waita
9a661538e6
actions/hello-world-javascript-action@master moved to main, use stable tag ( #326 )
2020-08-01 19:05:25 -07:00
whywaita
24bdb024bf
add flag of privileged mode
2020-08-02 05:21:49 +09:00
Casey Lee
bbc8123f27
Merge pull request #318 from nnadeau/master
...
Added PHONY targets to Makefile
2020-07-26 16:36:41 -07:00
Casey Lee
f3379181ff
Merge branch 'master' into master
2020-07-26 16:36:30 -07:00
Casey Lee
a0c3ddb5b2
Merge pull request #320 from nnadeau/patch-1
...
Added docker pull instructions for building from source
2020-07-26 16:35:43 -07:00
Nicholas Nadeau, Ph.D., P.Eng
3ec15546bf
Added docker pull instructions
2020-07-26 11:25:14 -04:00
Nicholas Nadeau
35d79c7215
Added PHONY targets
2020-07-26 09:01:01 -04:00
Casey Lee
0a17a7ef84
Merge pull request #314 from Strajk/secret-file-docs
...
Document `secret-file` in README and add example
2020-07-21 06:51:33 -07:00
Casey Lee
52e4002c73
Merge branch 'master' into secret-file-docs
2020-07-21 06:51:21 -07:00
Casey Lee
8245d23e1e
Merge pull request #313 from denysvitali/feature/fix-defaults
...
fix: add default values in vmInput
2020-07-21 06:50:14 -07:00
Strajk
4864ece107
Document secret-file in README and add example
2020-07-21 10:10:23 +02:00
Denys Vitali
ae39a4b1d3
fix(test): adapt to sjw change
2020-07-20 21:43:36 +02:00
Denys Vitali
cc369e2f73
fix: add default values in vmInput
2020-07-20 21:17:49 +02:00
Stephen Solka
85a47838fd
use t.Cleanup and prefer assert.NoError over .Nil ( #309 )
...
Co-authored-by: Casey Lee <cplee@nektos.com >
2020-07-20 07:35:43 -07:00
Dario Vladović
f00aa08417
Support PREFIX environment variable ( #308 )
2020-07-20 07:33:29 -07:00
Amit Mahbubani
0b9268ada7
Fix comments on StepType enum consts ( #304 )
2020-07-13 09:39:23 -07:00
Ayaz BADOURALY
7dcd0bc1bb
Rewrite contexts before evaluating them ( #287 )
...
* Rewrite contexts before evaluating them
* Precompile context and expression patterns
* Test trim before rewrite
The current contextPattern is quite constraining and would fail the
rewrite of a context with trailing spaces. Triming happens during the
execution of Interpolate, and these tests aim to detect future breaking
changes on this behavior.
Co-authored-by: Casey Lee <cplee@nektos.com >
2020-06-24 07:08:45 -07:00
Josh Soref
64b8d2afa4
Properly pass format argument to avoid MISSING ( #290 )
...
#273
2020-06-24 07:05:05 -07:00
Jeremy Lempereur
7cc668707b
remove .gitignore before docker cp ( #288 )
...
* Test setup before I try to understand how things work
* Remove .gitignore before we run docker cp
2020-06-23 11:57:24 -07:00
Stan Wohlwend
d4e41a90a2
Fix container volumes being reused sometimes ( #283 )
2020-06-18 08:21:55 -07:00
Raj Nigam
f5e1bd45b3
Update unit test command to make test ( #274 )
2020-06-12 15:31:37 -07:00
Michael Heap
dfd1fee7fe
Pull latest changes from ref using cached repo ( #267 )
...
* Pull latest changes from ref using cached repo
Act switched from checking out a branch to checking out
a hash in order to resolve #24 - see
bc5c23e8e4
This had a side effect of preventing `w.Pull()` from updating
to the latest commit if a ref was a branch/tag and the repo
already exists on disk.
This commit checks if input.Ref is equivalent to the resolved
hash, and runs `r.Fetch()` and checks out the branch for input.Ref
if it is different. `w.Pull()` can then pull the latest changes
before we checkout `*hash` again like normal
* Extract CloneIfRequired to reduce cyclomatic complexity
Co-authored-by: Casey Lee <cplee@nektos.com >
2020-06-09 07:43:26 -07:00
Casey Lee
39667011b8
Merge pull request #259 from arbourd/set-single-workflow
...
Change -W command to accept a single file
2020-05-27 07:35:59 -07:00
Dylan Arbour
69b8802ab3
Change -W command to accept a single file
...
Currently setting workflows with the -W (--workflows) flag only accepts
a folder. It is not possible to run a single workflow.yml file.
This commit allows either a single file or a directory to be passed into
the workflows flag.
2020-05-26 23:29:50 -04:00
Gabriel Joshua Paet
a3a85938ad
Added documentation for module not found issue. ( #256 )
...
* Added documentation for module not found issue.
* Linked the open issue #228 .
2020-05-26 09:12:17 -07:00
Josh Soref
c46ba93adb
Update brand name for macOS ( #252 )
2020-05-20 08:37:29 -07:00
Josh Soref
5c850b5ba8
Fix using: node12 handling ( #243 )
...
Co-authored-by: Casey Lee <cplee@nektos.com >
2020-05-18 14:31:09 -07:00
Josh Soref
2bb9906425
Markup for runners ( #241 )
2020-05-18 09:54:59 -07:00
Josh Soref
2097a3c017
Spelling ( #240 )
...
* spelling: cartesian
* spelling: deferring
* spelling: marshal
2020-05-18 09:53:42 -07:00
Josh Soref
2f3187ebcd
Grammar ( #238 )
...
* spelling: GitHub
* Spelling and grammar
2020-05-15 12:30:49 -07:00
Michael Heap
d3f25bac79
Mask secrets in job output ( #231 )
...
Previously secrets would be shown in log output as provided. This
commit updates the stepLogFormatter to replace any instance of the secret
string with "***", as GitHub Actions would
Known issues: If the secret is a generic string (such as "docker"), all
occurances of that string will be replaced in the output
Co-authored-by: Casey Lee <cplee@nektos.com >
2020-05-13 15:22:31 -07:00
Michael Heap
a5e86bd024
Add support for changing the GITHUB_ACTOR ( #229 )
...
This adds the `-a` flag when running `act` to change the username of the GITHUB_ACTOR environment variable
Co-authored-by: Casey Lee <cplee@nektos.com >
2020-05-12 00:14:56 -07:00
Torbjørn Vatn
a149cf8ca2
Make envs available in if conditionals ( #225 )
...
* Ignore .idea
* Add Env to the RunContext vm so we can Evaluate and Interpolate `env.xx`
* Make EvalBool support expressions more in line with the github runner
* Turns out Boolean(value) is what github is doing after all
* Add test for github context as well
2020-05-04 12:18:13 -07:00
Michael Heap
6d6ea7ac04
Implement UnmarshalYAML for ActionRunsUsing ( #223 )
...
In #222 I added case normalisation to ReadAction() to ensure that Docker and docker are interpreted the same way.
I realised that this was being done at the wrong level and required multiple type conversions. By implementing `func (a ActionRunsUsing) UnmarshalYAML` we can lowercase the string as it's being unserialized
This has an added benefit that any time this type is hydrated the `runs.using` key will be lowercased, rather than relying on `ReadAction()`
2020-05-04 05:40:11 -07:00
Sven Dowideit
6196436f70
extract the docker NewClientWithOpts, and add connectionhelper for DOCKER_HOST set to ssh://remote ( #207 )
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au >
Co-authored-by: Casey Lee <cplee@nektos.com >
2020-05-03 21:15:42 -07:00
Michael Heap
ef9fab9fad
Normalise Runs.Using to lowercase ( #222 )
...
Currently, providing `using: Docker` is an error as the switch statement in `step_context.go` is case sensitive.
Actions run successfully on GitHub with `using: Docker` leading me to believe that they're case insensitive. This commit updates `act` to match
Co-authored-by: Casey Lee <cplee@nektos.com >
2020-05-03 20:59:13 -07:00
Michael Heap
195a6c9ffb
Add default error case for Runs.Using ( #221 )
...
The string comparison in `step_context.go` is currently case sensitive. This commit adds an error that returns the valid options and tells the user what value they passed
2020-05-03 20:55:20 -07:00
Casey Lee
a48cce3a78
fix : #170 add RUNNER_TEMP
2020-04-23 08:18:36 -07:00
Casey Lee
a9533b05ce
fix : #170 #171 - add RUNNER_OS and RUNNER_TEMP
2020-04-22 23:57:36 -07:00
Casey Lee
c44b71c996
fix: ignore symlink errors
2020-04-22 23:48:25 -07:00
Casey Lee
8c290994c1
fix : #182 - support symlinks in workspace
2020-04-22 23:24:31 -07:00
Casey Lee
6c4e7b9fde
fix: 168 include error message from docker SDK
2020-04-22 23:04:28 -07:00
Juan Eugenio Abadie
b95fdb896f
Use env variables in Action.Runs.Env ( #201 )
...
* Use env variables in Action.Runs.Env
* Use Action.Runs.Env in all the cases
2020-04-19 11:29:34 -07:00
jony montana
2f395475b0
feat: load every environment from --env-file to workflow ( #184 )
...
* feat: load every environment from --env-file to workflow
* fix: pass dotenv's environments through by context
* updates to support --secret-file
Co-authored-by: Casey Lee <cplee@nektos.com >
2020-04-17 10:04:40 -07:00
Máximo Cuadros
f6e37a8d67
*: update go-git import ( #194 )
2020-04-16 16:24:30 -07:00
Tomer Keren
320b0b8127
Add install instructions from Scoop ( #183 )
2020-04-16 16:22:47 -07:00
Alberto Fernández
67542608a2
Remove length constraint ( #190 )
2020-04-16 16:05:00 -07:00
Aidan Steele
bf3824cc10
Improved gitignore handling ( #163 )
2020-03-18 06:55:39 -07:00
Aidan Steele
4a4bd36cf6
Add support for runs-on array form ( closes #146 ) ( #155 )
...
* Add support for runs-on array form (closes #146 )
* Fixed style issues
Co-authored-by: Casey Lee <cplee@nektos.com >
2020-03-16 14:58:10 -07:00
Aidan Steele
fea9a8afa5
Use “push” event workflow(s) if defined ( closes #156 ) ( #157 )
2020-03-15 22:29:13 -07:00
Casey Lee
f5e67f2b86
fix #150 - disable dryrun in git clone
2020-03-14 00:13:18 -07:00
Aidan Steele
b670173764
Add support for step.working-directory ( closes #149 ) ( #154 )
2020-03-14 00:00:37 -07:00
Casey Lee
d2d5c90a36
Merge branch 'master' of github.com:nektos/act
2020-03-13 23:39:15 -07:00
Casey Lee
3baf626aa4
add file info to files cp into container
2020-03-13 23:21:25 -07:00
Yannik Sander
25e1ad687d
Include install instructions for nix ( #152 )
2020-03-13 07:55:20 -07:00
Casey Lee
d18e21dbd0
Merge branch 'master' of github.com:nektos/act
2020-03-12 17:23:07 -07:00
Casey Lee
c439a6ff14
support nested expressions
2020-03-12 17:22:33 -07:00
David Lozano Jarque
f6b761378a
docs(README): add --env-file flag ( #147 )
2020-03-12 09:54:05 -07:00
Casey Lee
7f88f81bf6
fix #50 - exclude anything in .gitignore from being copied into the job volume
2020-03-09 18:32:48 -07:00
Casey Lee
b7fcf137ab
Fix 132 - support for chocolatey install ( #144 )
...
* fix #132 - publish chocolatey package for act
* add missing files to pass validation
* remove extra choco step
2020-03-09 17:49:55 -07:00
Casey Lee
16520bb277
fix #122 - support actions/checkout for repos other the one for this workflow ( #143 )
2020-03-09 17:45:42 -07:00
Casey Lee
143676fcfb
fix #141 - use host network to match GitHub Actions runners ( #142 )
2020-03-09 17:43:24 -07:00
Casey Lee
bd6f232b20
fix build for windows
2020-03-06 17:08:07 -08:00
Jacob Turner
2157ef76e8
Add flags to README ( #138 )
...
Co-authored-by: Casey Lee <cplee@nektos.com >
2020-03-06 17:06:07 -08:00
Jacob Turner
643f8d08b7
Add event documentation ( #137 )
2020-03-06 17:05:36 -08:00
chenrui
ca648a37c8
chore(deps): cleanup go.mod a little bit ( #136 )
...
* Upgrade docker to v19.03.7
* go mod vendor
* golangci-lint 1.23.8
2020-03-06 14:37:54 -08:00
Casey Lee
f46768cf90
go mod update
2020-03-06 14:30:23 -08:00
Casey Lee
129b23ad23
go mod tidy
2020-03-06 14:23:05 -08:00
chenrui
c588c07ce7
Bump golang to v1.14 ( #135 )
...
* Bump golang to v1.14
* go mod vendor
Co-authored-by: Casey Lee <cplee@nektos.com >
2020-03-06 14:21:24 -08:00
Casey Lee
15fb58bf43
fix #134 - include base_ref and head_ref in github context from the event json
2020-03-06 14:17:57 -08:00
Casey Lee
87392c2ed7
fix #134 - support 'env' context in steps
2020-03-06 13:39:01 -08:00
Casey Lee
4fde7d8865
fix #121 and #123 - add support for reading env variables from .env ( #133 )
2020-03-06 12:30:24 -08:00
Casey Lee
af970769d7
fix #127 - force eval as a boolean ( #131 )
2020-03-06 11:30:39 -08:00
Casey Lee
e33606361f
tone down verbosity
2020-03-06 10:25:18 -08:00
Casey Lee
c32a87c6dc
fix #128 : guard against empty actionName when 'uses: ./' ( #130 )
...
* fix #128 : guard against empty actionName when 'uses: ./'
* fix #129 - force image name to be lowercase
2020-03-06 10:17:20 -08:00
Casey Lee
1f9f3b826e
go mod tidy
2020-03-06 09:11:18 -08:00
Casey Lee
59b9b8e97a
fix #108 - ensure container names are unique for matrix runs
2020-03-04 16:24:14 -08:00
Steffen Schmitz
4f84be12e3
fix #117 - handle whitespace in actrc secrets ( #118 )
...
* fix #117 - handle whitespace in actrc secrets
* Switch to raw string on regex pattern
Co-authored-by: Casey Lee <cplee@nektos.com >
2020-03-02 08:11:46 -08:00
Casey Lee
a5570ffdd6
run on push and pull_request
2020-03-02 08:04:30 -08:00
Casey Lee
e9de6ca2c0
fix #115 - support toJson and toJSON ( #116 )
2020-02-28 15:20:31 -08:00
Casey Lee
45839d68ec
manage stale issues in GH actions
2020-02-28 09:35:29 -08:00
Casey Lee
6e1da1a70d
fix #110 - support path in action ( #111 )
2020-02-27 14:17:01 -08:00
Casey Lee
21e2bb8657
fix #108 - support matrix expressions in job name ( #109 )
2020-02-26 23:29:43 -08:00
Casey Lee
e739f72c5e
Update README.md
2020-02-26 22:09:13 -08:00
Casey Lee
8696b42178
gofmt
2020-02-25 16:58:26 -08:00
Casey Lee
76ecede42e
Merge branch 'master' of github.com:nektos/act
2020-02-25 09:23:05 -08:00
Casey Lee
1d84ee0db1
fix #102 - add windows support
2020-02-25 09:22:59 -08:00
Casey Lee
9dd2428546
fix #100 - change RUNNER_TOOL_CACHE to /opt/hostedtoolcache ( #103 )
2020-02-25 08:52:04 -08:00
Casey Lee
ead2ab4d69
fix #95 - change ports to array of strings
2020-02-24 22:37:20 -08:00
Casey Lee
51b6167606
fix 99: support string and map variants of container
2020-02-24 22:35:08 -08:00
Casey Lee
dadf8918be
documentation for .actrc
2020-02-24 22:16:00 -08:00
Casey Lee
76a8bfc4fc
fix #89 - support .actrc file
2020-02-24 22:11:33 -08:00
Casey Lee
5b90c8a44d
remove super verbose log statement
2020-02-24 17:58:34 -08:00
Casey Lee
0f796ff9f6
Merge pull request #98 from nektos/ISS-86
...
Iss 86
2020-02-24 17:51:40 -08:00
Casey Lee
1121f6e132
run with copy of workingdir
2020-02-24 17:48:21 -08:00
Casey Lee
8f5918942d
move action cache to volume
2020-02-24 16:38:49 -08:00
Casey Lee
eb28924ba5
actions
2020-02-24 15:05:41 -08:00
Casey Lee
d54b25d983
makefile cleanups
2020-02-24 15:04:33 -08:00
Casey Lee
3a65967b95
ci cleanup
2020-02-24 14:43:03 -08:00
Casey Lee
037e08a3a7
integration test
2020-02-24 12:48:12 -08:00
Casey Lee
6c632946be
unit tests pass
2020-02-24 10:56:49 -08:00
Casey Lee
88041afb87
cache dir for remote actions
2020-02-23 22:34:48 -08:00
Casey Lee
94591c58d7
local actions done
2020-02-23 16:36:44 -08:00
Casey Lee
ac1bd0893e
shared container for job
2020-02-23 15:02:01 -08:00
Casey Lee
01876438c2
shared container for job
2020-02-23 15:01:25 -08:00
Casey Lee
9179d8924d
updates for tests
2020-02-21 22:19:59 -08:00
Casey Lee
2cb276ca05
unchecked error
2020-02-21 08:42:00 -08:00
Casey Lee
418b0db047
reuse containers to fix #86
2020-02-20 22:43:20 -05:00
Casey Lee
e371fa8c49
stop overwritting gitconfig
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:06:30 -05:00
Casey Lee
58731e8d9b
fixes #90 - hard reset when using a version for an action
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:06:28 -05:00
Casey Lee
80147e8b5b
new quickstart image
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:06:26 -05:00
Casey Lee
bc2b952b65
token for goreleaser
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:06:24 -05:00
Casey Lee
ad2789fa1b
new token for brew
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:06:22 -05:00
Casey Lee
6834c5c96f
add warning
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:06:20 -05:00
Casey Lee
3d3fc59dbe
update for platforms
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:06:18 -05:00
Casey Lee
9511f5baf4
fix unit tsts for runner
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:06:16 -05:00
Casey Lee
543501a36a
add support to override platform
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:06:15 -05:00
Casey Lee
e4ee2ddab7
disable integration testing
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:06:13 -05:00
Casey Lee
3dd50dfe28
default task for Makefile
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:06:11 -05:00
Casey Lee
573f78e1b4
support for secrets
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:06:09 -05:00
Casey Lee
9651992584
code complexity of NewPlanExecutor
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:06:07 -05:00
Casey Lee
60be2d67c1
align name of job in output
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:06:05 -05:00
Casey Lee
f8fb88816a
matrix is done
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:06:03 -05:00
Casey Lee
5b7019cd0b
skip unsupported platforms
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:06:01 -05:00
Casey Lee
73559207c7
initial support for expressons
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:59 -05:00
Casey Lee
09773f7c5c
fix tests
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:57 -05:00
Casey Lee
e40ab0145f
expressions working
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:55 -05:00
Casey Lee
409060c847
merge master
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:53 -05:00
Casey Lee
6fb2fbbeaa
add funding.yml
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:51 -05:00
Casey Lee
76b1c6a3f1
HCL syntax disclaimer on README
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:50 -05:00
Casey Lee
fd6fe1872f
bug with local action
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:48 -05:00
Casey Lee
e29973becf
updates to readme for next act release
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:46 -05:00
Casey Lee
64562d41ab
test updates
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:44 -05:00
Casey Lee
f7252cbcf9
add commands support
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:42 -05:00
Casey Lee
033168228b
cleanup logging
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:40 -05:00
Casey Lee
a21d4bbd90
ignore actions/checkout locally
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:38 -05:00
Casey Lee
835b36cb63
ci tests
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:36 -05:00
Casey Lee
ac8258db4b
support list/map/scalar for on and needs
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:34 -05:00
Casey Lee
0582306861
unit tests
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:31 -05:00
Casey Lee
be75ee20b1
local actions
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:29 -05:00
Casey Lee
4e046e1ec0
support custom shell
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:27 -05:00
Casey Lee
532af98aef
successfully able to run simple workflows
...
Signed-off-by: Casey Lee <cplee@nektos.com >
2020-02-20 21:05:25 -05:00
Casey Lee
8c49ba0cec
initial load of yaml working
2020-02-04 16:38:41 -08:00
Casey Lee
500e9677f3
Merge pull request #78 from qoomon/patch-1
...
doc: remove unnecessary brew command
2019-09-16 14:35:51 -07:00
Bengt Brodersen
51bcd05909
doc: remove unnecessary brew command
2019-09-09 17:05:51 +02:00
Casey Lee
1b1dc58007
Merge pull request #77 from SirWindfield/patch-1
...
add arch linux installation instructions
2019-09-04 21:51:31 -04:00
Sven Lechner
59fb4b3b2c
add arch linux installation instructions
...
I've created an AUR package for act :)
2019-09-04 14:46:49 +02:00
Casey Lee
6fa86b407f
fix unit test failures in GitHub Actions caused by missing gitconfig
2019-05-28 09:47:40 -07:00
Casey Lee
b5159281f9
update vendor
2019-05-23 08:46:23 -07:00
Casey Lee
308162e2eb
Merge pull request #68 from caarlos0/master
...
feat: support branches as GITHUB_REF
2019-05-22 23:15:58 -07:00
Casey Lee
54ade14d18
Merge branch 'master' into master
2019-05-22 23:14:38 -07:00
Casey Lee
ba26bd7273
Merge pull request #66 from maxheld83/patch-2
...
explain how to run act with secrets
2019-05-22 23:12:53 -07:00
Casey Lee
cb6bfde683
Merge branch 'master' into patch-2
2019-05-22 23:12:45 -07:00
Casey Lee
766998807d
Merge pull request #65 from maxheld83/patch-1
...
explain how to "skip" some actions using filter
2019-05-22 23:11:24 -07:00
Casey Lee
205d9f7ac8
Merge branch 'master' into patch-1
2019-05-22 23:11:16 -07:00
Casey Lee
d85cabfa52
Merge pull request #57 from aidansteele/fix-nontty
...
Use docker’s stdcopy to ensure we don’t emit garbage bytes to stdout
2019-05-22 23:10:05 -07:00
Carlos Alexandro Becker
9fd6310363
fix: clean code
2019-05-23 01:45:50 -03:00
Carlos Alexandro Becker
01f7ff315c
fix: using filepath instead of path
2019-05-23 01:41:56 -03:00
Carlos Alexandro Becker
8d181a6a1e
fix: added tests and improved code
2019-05-23 01:40:07 -03:00
Carlos Alexandro Becker
03d57a80c9
feat: support branches as GITHUB_REF
2019-05-23 00:05:14 -03:00
Max Held
6fd3811ec6
explain how to run act with secrets
...
again, thought this might be helpful for other users.
**Caveat**: I'm not an InfoSec expert, so someone should look this over.
Don't want to encourage people to do stupid things.
2019-05-20 20:04:47 +02:00
Max Held
367ec0c61c
explain how to "skip" some actions using filter
...
I just figured this out; might be helpful for other users.
2019-05-20 19:49:10 +02:00
Aidan Steele
1d64fef1a1
Use docker’s stdcopy to ensure we don’t emit garbage bytes to stdout
2019-04-09 20:45:58 +10:00
Casey Lee
f2cb9e391e
Merge pull request #56 from aidansteele/graph-render
...
Render correct graph for non-default events
2019-04-08 08:16:03 -07:00
Aidan Steele
589ff16271
Render correct graph for non-default events
2019-04-08 21:01:49 +10:00
Casey Lee
449c899973
Merge pull request #55 from chaseadamsio/master
...
s/pull-request/pull_request
2019-04-02 17:26:26 -04:00
Chase Adams
4c09cbb045
s/pull-request/pull_request
...
pull-request isn't an event type but pull_request is!
2019-04-02 11:11:59 -07:00
Casey Lee
048759a125
fix logic in determining when to pull images
2019-03-18 16:50:23 -07:00
Casey Lee
967339e344
Merge pull request #48 from marccampbell/ignore-response
...
Ignore error, vet failure
2019-03-10 08:13:14 -07:00
Marc Campbell
45f8309524
Ignore error, vet failure
2019-03-09 18:38:35 -08:00
Casey Lee
b18239ff77
Merge pull request #46 from sosedoff/capture-build-error
...
Handle docker image build failures
2019-03-02 07:53:24 -08:00
Dan Sosedoff
1c25ee9d71
Add an extra test
2019-03-01 21:36:07 -06:00
Dan Sosedoff
5330599c93
Capture errors from docker log output
...
- Refactored logDockerResponse function to remove extra if-else nesting
- logDockerResponse func now returns an error if error was detected from the log stream
- logDockerResponse will check for msg.ErrorDetail.Message and bail if there's an error
2019-03-01 21:16:43 -06:00
Casey Lee
1791f1fd44
skip integration test
2019-02-19 09:08:41 -08:00
Casey Lee
8186f00560
Merge pull request #38 from marccampbell/optional-docker-pull
...
Add flag to skip pulling images already present
2019-02-19 06:29:26 -08:00
Marc Campbell
7fadbdb6e8
Add flag to skip pulling images already present
2019-02-18 21:12:35 -08:00
Casey Lee
3a4de2d215
Merge pull request #36 from Jaskaranbir/readme-update
...
Add info about verbose-switch to README
2019-02-18 20:07:13 -08:00
Casey Lee
a225d72c50
Merge branch 'master' into readme-update
2019-02-18 20:07:05 -08:00
Casey Lee
c2c65353d1
Merge pull request #40 from marccampbell/stdout
...
Use stdout for actionLogger
2019-02-18 20:05:29 -08:00
Marc Campbell
86611873eb
Use stdout
2019-02-18 16:30:34 -08:00
Jaskaranbir Singh
07242b8c7a
Add info about verbose-switch to README
2019-02-17 15:06:45 -05:00
Casey Lee
7fcacaadb3
Merge pull request #35 from sosedoff/detect-event-type
...
Detect workflow event type
2019-02-16 18:01:36 -07:00
Dan Sosedoff
ff2c631d40
Add extra test for event detection
2019-02-15 10:44:36 -06:00
Dan Sosedoff
96065fe807
Detect workflow event type
2019-02-15 10:34:19 -06:00
Casey Lee
32c1ec97e6
Merge pull request #34 from sosedoff/regex-fix
...
Regex tweaks
2019-02-14 19:46:59 -05:00
Dan Sosedoff
6addc48cde
Add extra test cases for testing git slugs
2019-02-14 14:35:02 -06:00
Dan Sosedoff
fb77d5a883
Regex tweaks
...
- No need to compile regexes in the function, moved them to vars
- Fixed github http regex: it was not matching https://github.com/foo/bar (no git extension)
2019-02-14 14:31:57 -06:00
Casey Lee
2e52ef61c8
feedback from PR on --watch
2019-02-12 23:35:04 -05:00
Casey Lee
e27d5fa3af
Merge pull request #30 from urcomputeringpal/watch
...
--watch
2019-02-12 23:30:02 -05:00
Casey Lee
4228018177
Merge branch 'master' into watch
2019-02-12 23:29:54 -05:00
Casey Lee
af08b30ee5
fix #26 - improve regex for matching github repo. add unit test to cover
2019-02-12 23:09:51 -05:00
Casey Lee
7e92f699a9
fix #31 - trim whitespace on git revision
2019-02-12 23:09:41 -05:00
Jesse Newland
3198627879
--watch
2019-02-09 20:39:09 -06:00
Casey Lee
de62a2eece
resolve issues with release action
2019-02-07 09:50:30 -08:00
Casey Lee
7b012832b4
issue with patterns and vendor directory
2019-02-07 09:39:04 -08:00
Casey Lee
18427728ae
Merge pull request #27 from nektos/parser
...
Replace parser with new parser from GitHub
2019-02-07 09:12:09 -08:00
Casey Lee
eed58492aa
skip integration test in GH actions
2019-02-07 09:09:19 -08:00
Casey Lee
4b61fb3bc3
pin to v1.0.0 of github action parser
2019-02-06 22:36:16 -08:00
Casey Lee
3e04312912
update to latest version of action parser
2019-02-06 22:36:15 -08:00
Casey Lee
bc5c23e8e4
fix #24 - support both branch refs and hash refs
2019-02-06 22:36:14 -08:00
Casey Lee
ecae898a7b
add tests for various actions
2019-02-06 22:36:13 -08:00
Casey Lee
5d0a8d26ae
replace parser with actions/workflow-parser
2019-02-06 22:36:13 -08:00
Casey Lee
72fbefcedc
Merge pull request #25 from kentaro-m/kentaro-m-patch-1
...
Fix an install command for brew
2019-02-06 22:35:12 -08:00
Kentaro Matsushita
4b2e1700f1
Fix an install command for brew
2019-02-03 18:39:47 +09:00
Casey Lee
c2e1188cfd
Merge pull request #23 from nektos/issue-22
...
fix #22 : require prefix './' for local actions
2019-01-25 07:28:02 -08:00
Casey Lee
ca268132b9
fix 22: require prefix './' for local actions
2019-01-24 22:17:58 -08:00
Casey Lee
320e9b6057
fail on error ( #20 )
...
ci-via-github-actions
2019-01-23 11:51:22 -08:00
Casey Lee
f98caa2656
bump goreleaser version
2019-01-23 07:35:12 -08:00
Casey Lee
c08b37978b
Update main.workflow
2019-01-23 06:13:09 -08:00
Casey Lee
8c4572fd7d
bump workflow
2019-01-23 06:11:53 -08:00
Casey Lee
1e0ec5280f
Merge branch 'master' of github.com:nektos/act
2019-01-23 06:10:19 -08:00
Casey Lee
365f7aefdd
readme update
2019-01-23 06:10:01 -08:00
Casey Lee
1f5cf30d17
Merge pull request #15 from SvenDowideit/go1.11.4-and-docker-18.09
...
Go 1.11.4+ and Docker 18.09 pre-reqs
2019-01-22 07:33:54 -08:00
Casey Lee
bb2f48af09
Update README.md
2019-01-22 07:33:20 -08:00
Casey Lee
cbab149ff7
fix #14 : negotiate docker client version
2019-01-21 06:31:40 -08:00
Sven Dowideit
df01d4fd8a
Go 1.11.4+ and Docker 18.09 pre-reqs
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au >
2019-01-21 18:32:36 +10:00
Casey Lee
3cdc039201
readme update
2019-01-18 18:19:26 -08:00
Casey Lee
c108a0f5a1
Merge branch 'master' of github.com:nektos/act
2019-01-18 18:18:29 -08:00
Casey Lee
0f4c8f455f
readme update
2019-01-18 18:18:11 -08:00
Casey Lee
29cf61e90b
Merge pull request #13 from tylerbuchea/patch-2
...
Update README.md
2019-01-18 13:30:33 -08:00
Casey Lee
a04141c444
fix: panic on regex in main.workflow
...
fixes #12
2019-01-18 13:28:53 -08:00
Tyler Buchea
a23bd812b5
Update README.md
...
Pretty minimal changes, I removed some extra spaces and corrected a typo in the "How Does It Work?" paragraph "the" -> "then".
2019-01-18 13:05:29 -08:00
Casey Lee
36303ce43d
readme update
2019-01-18 09:01:01 -08:00
Casey Lee
ad65ee36ac
readme update
2019-01-18 08:57:01 -08:00
Casey Lee
dc81b37dd0
readme update
2019-01-18 08:56:19 -08:00
Casey Lee
e06deccd5e
readme update
2019-01-18 08:37:26 -08:00
Casey Lee
56aa488867
readme update
2019-01-18 08:35:57 -08:00
Casey Lee
8a1c1edf10
readme update
2019-01-18 08:33:52 -08:00
Casey Lee
766b7d2070
readme update
2019-01-18 08:32:55 -08:00
Casey Lee
beba1ad1e3
readme update
2019-01-18 08:31:35 -08:00
Casey Lee
aa13b69262
readme update
2019-01-18 08:28:34 -08:00
Casey Lee
54b93d7547
readme update
2019-01-18 08:28:09 -08:00
Casey Lee
cb0704e8bf
fixup handling of git revisions for non-branch HEAD
2019-01-17 15:53:03 -08:00
Casey Lee
20f20eddf7
fix issue from PR #10
2019-01-17 15:28:52 -08:00
Casey Lee
8793c8a6a4
add support for 'reuse' mode to allow act to be used for a fast local task runner
2019-01-17 14:53:35 -08:00
Casey Lee
317a305f51
refactor actions to improve testability
2019-01-17 14:53:35 -08:00
Casey Lee
19d1d0cfda
Merge pull request #10 from Code0x58/non-symbolic-ref-HEAD
...
Allow non-symbolic-ref HEAD
2019-01-17 14:52:20 -08:00
Oliver Bristow
1ead030d2e
Allow non-symbolic-ref HEAD
2019-01-17 22:36:47 +00:00
Casey Lee
949dc467e0
Merge pull request #9 from Code0x58/allow-empty-secret
...
Allow empty string secrets
2019-01-16 23:36:53 -08:00
Oliver Bristow
dcd235bcda
Allow empty string secrets
2019-01-17 07:18:21 +00:00
Casey Lee
c573d9d48a
fix #7 - allow passing a custom event.json to be populated in the container filesystem
2019-01-16 13:11:32 -08:00
Casey Lee
ce5fbcf2e2
cleanup logging statements
2019-01-16 10:10:24 -08:00
Casey Lee
454b219a40
Merge pull request #8 from Atrox/master
...
add windows compatibility
2019-01-16 09:53:50 -08:00
Atrox
a041b34ac5
add windows compatibility
2019-01-16 13:58:18 +01:00
Casey Lee
3c4c5a15b4
go fmt
2019-01-15 23:12:10 -08:00
Casey Lee
88847aed71
add unit tests for various ways an action can be defined
2019-01-15 23:11:45 -08:00
Casey Lee
e8c8579eff
fix #5 - configure docker client via env
2019-01-15 21:54:37 -08:00
Casey Lee
28af42867a
fix #6 - update the example for running a specific action
2019-01-15 21:44:17 -08:00
Casey Lee
6f07c10d8c
improve linting
2019-01-15 17:41:02 -08:00
Casey Lee
2b471fbff0
fix #2 - add support for an array of 'Runs'
2019-01-15 09:57:58 -08:00
Casey Lee
44e21b102e
resolve issue with reference a branch on a github action
2019-01-15 09:05:27 -08:00
Casey Lee
c668a410c3
readme update
2019-01-15 08:26:10 -08:00
Casey Lee
b6d7851105
readme update
2019-01-15 08:25:50 -08:00
Casey Lee
aa8209e7d8
readme
2019-01-15 00:32:19 -08:00
Casey Lee
f683af5954
Initial commit with support for GitHub actions
2019-01-12 20:45:25 -08:00
Casey Lee
d136b830f2
Initial commit
2019-01-02 11:53:43 -08:00