Commit Graph

1276 Commits

Author SHA1 Message Date
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
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
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
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