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
ChristopherHX and GitHub
6e80373eb6
Shrink Readme ( #2198 )
...
nektosact.com should become the single source of truth
2024-02-06 08:22:01 -08:00
ChristopherHX and GitHub
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
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
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 and GitHub
a6ec2c129a
fix: improve action not found error ( #2171 )
2024-01-28 16:37:19 +00:00
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 <[email protected] >
* add remote reusable workflow to ActionCache
* fixup
---------
Co-authored-by: Björn Brauer <[email protected] >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-01-19 23:49:35 +00:00
ChristopherHX and GitHub
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
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
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
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 <[email protected] >
---------
Co-authored-by: Jason Song <[email protected] >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-10-03 22:56:18 +00:00
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
ChristopherHX and GitHub
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
ChristopherHX and GitHub
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
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
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
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
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
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
ChristopherHX and GitHub
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
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
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