Christopher Homberger and ChristopherHX
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 <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2026-02-14 16:16:53 +00:00
Christopher Homberger and ChristopherHX
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 <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2026-02-06 11:11:34 +00:00
Christopher Homberger and ChristopherHX
6c827eba95
fix: anchor cyclic detection ( #30 )
...
Closes #25
Reviewed-on: https://gitea.com/actions-oss/act-cli/pulls/30
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2026-02-02 20:43:49 +00:00
ChristopherHX and 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 <[email protected] >
Co-committed-by: ChristopherHX <[email protected] >
2026-01-31 23:24:09 +00:00
Christopher Homberger and ChristopherHX
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 <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-12-19 16:25:23 +00:00
ChristopherHX and 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 <[email protected] >
Co-committed-by: ChristopherHX <[email protected] >
2025-12-19 16:24:48 +00:00
ChristopherHX and 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 <[email protected] >
Co-committed-by: ChristopherHX <[email protected] >
2025-12-18 19:27:30 +00:00
Christopher Homberger and ChristopherHX
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 <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-11-27 14:57:23 +00:00
ChristopherHX and GitHub
2c1a559406
Bump version from 0.3.5 to 0.4.0 ( #143 )
2025-11-27 14:19:30 +01:00
ChristopherHX and GitHub
114e57f94e
chore(docs): Mention YAML Anchor support ( #130 )
2025-10-06 13:53:29 +02:00
ChristopherHX and GitHub
82dccc7820
Replace expressions engine ( #133 )
2025-10-06 13:53:15 +02:00
ChristopherHX and GitHub
9c2f3e9f70
Fix self referencing anchors should cause error ( #132 )
2025-09-27 00:04:03 +02:00
ChristopherHX and GitHub
67f0e3d852
Update Version ( #129 )
2025-09-13 13:55:02 +00:00
ChristopherHX and GitHub
79360e4ed1
fix: explode yaml anchors ( #126 )
...
* do not require code changes at several places
2025-09-13 15:46:46 +02:00
ChristopherHX and GitHub
2478a22d8c
Update VERSION ( #124 )
2025-08-04 17:08:08 +02:00
ChristopherHX and GitHub
cd57d482c3
support yaml anchors ( #65 )
2025-08-04 16:57:51 +02:00
ChristopherHX and GitHub
42ec8a5ab5
fix: Allow almost all node<number> variants in actions.runs ( #120 )
2025-07-24 23:33:11 +02:00
ChristopherHX and GitHub
aeb7c01c61
Bump Test image to bookworm ( #121 )
...
* buster is end of life since 2024
2025-07-24 23:25:36 +02:00
ChristopherHX and GitHub
4c7216f69b
fix: matrix expansion logic ( #115 )
...
* add another test
* remove //nolint:gocyclo
2025-06-08 13:23:33 +02:00
ChristopherHX and GitHub
3293d725a7
feat: add parallel flag ( #114 )
...
* add parallel flag
2025-06-08 12:41:42 +02:00
ChristopherHX and GitHub
f36df5592d
feat: CustomExecutor Provide Custom Job Runner Implementation ( #113 )
2025-06-08 11:41:38 +02:00
ChristopherHX and GitHub
d5a1a09aa4
fix: GITHUB_ENV and GITHUB_OUTPUT allow larger lines ( #112 )
...
* Specify larger buffer
2025-06-03 22:59:05 +02:00
ChristopherHX and GitHub
e6ba3086c3
chore(deps): Migrate docker api usage ( #110 )
...
* do not use deprecated types / functions
2025-06-01 13:53:07 +00:00
ChristopherHX and GitHub
61237a1bdd
Update README.md ( #108 )
2025-05-31 10:31:24 +02:00
ChristopherHX and GitHub
5ca0d3cb71
chore(deps): Update Workflow Schema ( #107 )
...
* add ai permission
* add workflow description
2025-05-21 10:02:35 +00:00
ChristopherHX and GitHub
b634fba677
feat: contextdata overlay api and more gh/gt instance flags ( #105 )
...
* add TestGetGitHubContextOverlay
2025-05-18 13:44:33 +02:00
ChristopherHX and GitHub
6440a419d2
fix: stability of docker cancel test ( #106 )
2025-05-18 13:24:33 +02:00
ChristopherHX and GitHub
1dc7a4d269
feat: allow ctx overlay + case sensitive env ctx ( #99 )
...
* switch to fork of actionlint
2025-05-18 11:35:05 +02:00
ChristopherHX and GitHub
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
ChristopherHX and GitHub
268a69b6d1
fix: use moby/go-archive due to deprecation ( #102 )
2025-05-03 11:12:48 +02:00
ChristopherHX and GitHub
bb13ab4f84
feat: cache module add CreateHandler api ( #98 )
2025-04-26 16:58:30 +02:00
ChristopherHX and GitHub
258de0fa37
fix: container cleanup error is not a job execution error ( #97 )
2025-04-26 16:41:04 +02:00
ChristopherHX and GitHub
8536279ece
feat: service container in host mode ( #95 )
2025-04-26 14:28:53 +00:00
ChristopherHX and GitHub
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 and GitHub
eddc77f3e0
refactor: migrate container changes ( #91 )
...
* refactor: migrate container changes
* ignore contextcheck
2025-04-26 13:28:18 +02:00
ChristopherHX and GitHub
dfbb094199
feat: custom host env dir for api ( #92 )
2025-04-26 12:55:45 +02:00
ChristopherHX and GitHub
0aca9b8144
fix: post step failure is job failure ( #85 )
2025-04-25 22:32:55 +00:00
ChristopherHX and GitHub
f2550c1971
fix: file name ( #90 )
2025-04-25 22:47:02 +02:00
ChristopherHX and GitHub
fba76f10dd
core(deps): bump golang-cilint to v2.0.2 ( #83 )
2025-04-25 21:58:30 +02:00
ChristopherHX and GitHub
4be22e9b76
fix: use the happy path for workflow_call ( #88 )
...
* not really supported mode
2025-04-25 19:56:07 +02:00
ChristopherHX and GitHub
b3cd631d23
chore(ci): require ENABLE_PROMOTE for promote cron ( #84 )
2025-04-02 13:01:13 +02:00
ChristopherHX and GitHub
f6db2a26cc
bumo VERSION ( #77 )
2025-03-29 13:52:48 +01:00
ChristopherHX and GitHub
a1935498a7
fix: tart backend stops VM to early ( #76 )
2025-03-29 13:39:47 +01:00
ChristopherHX and GitHub
fcf370fcd1
Update VERSION ( #73 )
2025-03-29 12:28:13 +01:00
ChristopherHX and GitHub
8ffb782f4d
chore: remove notices service ( #72 )
2025-03-29 12:27:52 +01:00
ChristopherHX and GitHub
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
ChristopherHX and GitHub
95ba59f608
feat: --validate and --strict ( #71 )
...
* feat: `--validate` and `--strict`
* add test for strict validate
2025-03-28 22:56:20 +01:00
ChristopherHX and GitHub
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 and GitHub
d9a6d40f7c
catch panic in finally ( #68 )
2025-03-24 23:22:43 +01:00
ChristopherHX and GitHub
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 and GitHub
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 and GitHub
903b0730d7
Platform tart:// improve logging / fix tool_cache ( #61 )
2025-02-22 15:17:32 +01:00
ChristopherHX and GitHub
00231e5dc1
feat: GoGitActionCache shallow fetch ( #63 )
2025-02-22 15:17:17 +01:00
ChristopherHX and GitHub
d0964718a1
chore: Group DependableBot Updates monthly ( #55 )
2025-02-21 16:06:07 +01:00
ChristopherHX and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
d930a546ec
Use gh auth token for default GITHUB_TOKEN secret ( #43 )
...
* initial version
2025-02-01 11:07:17 +01:00
358722a69f
Added support for dereferenced map properties ( #44 )
...
* Added support for dereferenced properties
* Added negative test
Co-authored-by: m1r4c <[email protected] >
2025-01-31 21:39:20 +00:00
ChristopherHX and GitHub
a162920fb4
Update Readme and issue templates ( #40 )
2025-01-31 17:54:54 +01:00
ChristopherHX and GitHub
513497943c
Update .gitleaksignore ( #25 )
...
* megalinter update makes REDACTED fail gitleaks
2025-01-29 18:57:08 +01:00
ChristopherHX and GitHub
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 and GitHub
592dc4bf2c
[BREAKING] new pull-if-needed no-rebuild ( #32 )
...
* Old inverted names removed
2025-01-29 17:25:39 +01:00
ChristopherHX and GitHub
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 and GitHub
3bd3400253
Use act as bin name ( #22 )
2025-01-29 17:22:24 +01:00
ChristopherHX and GitHub
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
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 <[email protected] >
2025-01-29 17:20:06 +01:00
ChristopherHX and GitHub
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
ChristopherHX and GitHub
f28bee065f
valueMasker create secrets copy ( #26 )
...
* concurrent map iteration + write still unknown
2025-01-28 17:10:30 -05:00
ChristopherHX and GitHub
afbf79f190
chore: remove .actrc ( #18 )
2025-01-27 18:12:31 +01:00
ChristopherHX and GitHub
dfbb4fa0b1
chore: resolve goreleaser deprecation warnings ( #16 )
2025-01-27 18:12:17 +01:00
ChristopherHX and GitHub
8e89026ba4
chore: refactor snapshot upload ( #15 )
2025-01-27 18:11:46 +01:00
ChristopherHX and GitHub
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 and GitHub
3d684447a5
make ci run in this fork ( #9 )
2025-01-26 11:20:26 +00:00
ChristopherHX and GitHub
92b3ece22e
Delete IMAGES.md ( #8 )
...
* obsolete file
2025-01-26 11:37:26 +01:00
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
ChristopherHX and GitHub
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
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
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
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
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
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 <[email protected] >
* Update pkg/schema/schema.go
---------
Co-authored-by: Josh Soref <[email protected] >
2024-09-10 11:14:47 -07:00
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
ChristopherHX and GitHub
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
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
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
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
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
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
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
ChristopherHX and GitHub
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
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
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
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
ChristopherHX and GitHub
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
ChristopherHX and GitHub
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
ChristopherHX and GitHub
e1cd7c915f
fix: logo and demo asset urls ( #2226 )
2024-02-24 02:47:55 +00:00
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
ChristopherHX and GitHub
5601fb0e13
refactor: simpilfy go-git cache ( #2208 )
2024-02-18 03:53:22 +00:00
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