Christopher Homberger and silverwind
c7c4bd600a
fix: support multiline secret masking ( #1001 )
...
* command logging exposes multiline secrets more often than before
* duplicated add-mask command in reporter now handles this as well
Closes #998
Co-authored-by: silverwind <[email protected] >
Co-authored-by: silverwind <[email protected] >
Reviewed-on: https://gitea.com/gitea/runner/pulls/1001
Reviewed-by: Lunny Xiao <[email protected] >
Reviewed-by: silverwind <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2026-05-29 19:58:15 +00:00
Christopher Homberger and Lunny Xiao
c4b57fbcb2
chore(deps): upgrade dependencies ( #775 )
...
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 <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-12-20 23:35:15 +00:00
Christopher Homberger and Lunny Xiao
3a07d231a0
Fix yaml with prefixed newline broken setjob + yaml v4 ( #144 )
...
* go-yaml v3 **and** v4 workaround
* avoid yaml.Marshal broken indention
Co-authored-by: Lunny Xiao <[email protected] >
Reviewed-on: https://gitea.com/gitea/act/pulls/144
Reviewed-by: wxiaoguang <[email protected] >
Reviewed-by: Zettat123 <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-12-09 02:28:56 +00:00
ChristopherHX and Jason Song
50e0509007
Do not implicitly mount /var/run/docker.sock ( #751 )
...
* podman creates an folder
* dind sees a folder and fails
Was adding the mount a mistake?, a feature with side effects?
Closes https://gitea.com/gitea/act_runner/issues/750
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/751
Reviewed-by: Jason Song <[email protected] >
Co-authored-by: ChristopherHX <[email protected] >
Co-committed-by: ChristopherHX <[email protected] >
2025-10-09 07:16:56 +00:00
Christopher Homberger and Lunny Xiao
8920c4a170
Timeout to wait for and optionally require docker always ( #741 )
...
* do not require docker cli in the runner image for waiting for a sidecar dockerd
* allow to specify that `:host` labels would also only be accepted if docker is reachable
Co-authored-by: Lunny Xiao <[email protected] >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/741
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-08-28 17:28:08 +00:00
Christopher Homberger and Lunny Xiao
6a7e18b124
Allow node24 actions ( #737 )
...
* `node` Tool is used regardless of this change
* upgrade images with `node` = `node24` if required
* actions/checkout@v5 now passing validation
Fixes #729
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/737
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-08-21 17:47:26 +00:00
Christopher Homberger and ChristopherHX
91852faf93
refactor: simplify adding new node versions add node 24 ( #140 )
...
* backport
Reviewed-on: https://gitea.com/gitea/act/pulls/140
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-08-21 16:04:08 +00:00
ChristopherHX and ChristopherHX
39509e9ad0
Support Simplified Concurrency ( #139 )
...
- update RawConcurrency struct to parse and serialize string-based concurrency notation
- update EvaluateConcurrency to handle new RawConcurrency format
Reviewed-on: https://gitea.com/gitea/act/pulls/139
Reviewed-by: Zettat123 <[email protected] >
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: ChristopherHX <[email protected] >
Co-committed-by: ChristopherHX <[email protected] >
2025-07-29 09:14:47 +00:00
Christopher Homberger and techknowlogick
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 <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-05-08 01:57:53 +00:00
Christopher Homberger and techknowlogick
f0b5aff3bb
fix: invalid label NoInteractive exit code ( #683 )
...
* add test
* return validation error not nil from function
Closes #665
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/683
Reviewed-by: techknowlogick <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-05-07 17:17:26 +00:00
Christopher Homberger and techknowlogick
44b4736703
feat: docker env vars for ephemeral and once ( #685 )
...
* GITEA_RUNNER_EPHEMERAL=1
* GITEA_RUNNER_ONCE=1
Related https://gitea.com/gitea/act_runner/issues/684
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/685
Reviewed-by: techknowlogick <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-05-07 15:43:05 +00:00
Christopher Homberger and Lunny Xiao
b1ae30dda8
ephemeral act runner ( #649 )
...
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 <[email protected] >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/649
Reviewed-by: Zettat123 <[email protected] >
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2025-03-13 21:57:44 +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
Christopher Homberger and Lunny Xiao
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 <[email protected] >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/473
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2024-02-19 02:30:54 +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
Christopher Homberger and Lunny Xiao
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 <[email protected] >
Reviewed-on: https://gitea.com/gitea/act_runner/pulls/471
Reviewed-by: delvh <[email protected] >
Reviewed-by: Lunny Xiao <[email protected] >
Co-authored-by: Christopher Homberger <[email protected] >
Co-committed-by: Christopher Homberger <[email protected] >
2024-02-08 02:43:39 +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
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
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
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
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 <[email protected] >
* Update side effects
---------
Co-authored-by: Jason Song <[email protected] >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-04-18 18:09:57 +00:00
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
ChristopherHX and GitHub
97749a27b9
fix: ghc assignment typo ( #1729 )
...
* fix: ghc assignment typo
* fixup server_url
2023-04-13 14:09:29 +00:00
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
ChristopherHX and GitHub
24440d9f15
test: Enshure ForcePull config doesn't break docker actions (1661)
2023-03-08 14:57:49 +00:00
ChristopherHX and GitHub
f3c88b5091
fix: crash if the id tool fails to run in the container (1660)
2023-03-08 14:41:25 +00:00
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
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
ChristopherHX and GitHub
21ea3d0d5f
chore: Remove obsolete Container.UpdateFromPath ( #1631 )
...
* chore: Remove obsolete Container.UpdateFromPath
* remove unused import
2023-02-16 16:11:26 +00:00
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
ChristopherHX and GitHub
f91b2aa5db
fix: Apply forcePull only for prebuild docker actions ( #1599 )
2023-02-02 17:24:35 +00:00
ChristopherHX and GitHub
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 and GitHub
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
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
ChristopherHX and GitHub
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 and GitHub
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
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
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 <[email protected] >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-01-10 21:55:05 +00:00
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
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
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
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
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 and GitHub
7d9951200f
feat: JobLoggerFactory ( #1496 )
...
Remove overriding io.Stdout in TestMaskValues to prevent deadlock in GitHub Actions
2022-12-09 10:25:32 +00:00
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
57bf4d27a2
refactor: share UpdateFromEnv logic ( #1457 )
...
* refactor: share UpdateFromEnv logic
* Add test for GITHUB_OUTPUT
Co-authored-by: Ben Randall <[email protected] >
* Add GITHUB_STATE test
* Add test for the old broken parser
Co-authored-by: Ben Randall <[email protected] >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-12-06 16:19:27 +00:00
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
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
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
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 and GitHub
f2b98ed301
feat: Host environment ( #1293 )
2022-11-16 21:29:45 +00:00
ChristopherHX and GitHub
d97481d567
fix: nil pointer access ( workflow_dispatch )
2022-11-10 20:16:00 +00:00
ChristopherHX and GitHub
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
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
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
ChristopherHX and GitHub
3387fd72ee
fix: CI is unstable due to new linting rules ( #1292 )
2022-08-06 22:53:05 +00:00
ChristopherHX and GitHub
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
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 <[email protected] >
* remove cruft from master merge
Co-authored-by: R <[email protected] >
Co-authored-by: Casey Lee <[email protected] >
Co-authored-by: Casey Lee <[email protected] >
2022-06-20 15:47:39 -07:00
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 <[email protected] >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-20 15:33:07 -07:00
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 <[email protected] >
2022-06-20 15:14:14 -07:00
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 and GitHub
28f5b37fd1
fix: Remove volume with same name as the container again ( #1203 )
...
* Update run_context.go
* .
2022-06-07 14:10:43 +00:00
ChristopherHX and GitHub
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
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
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
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
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
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
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
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 and GitHub
5083284deb
Fix: tojson(null) == 'null' ( #1068 )
...
* Fix: tojson(null) == 'null'
* Update test
* Update functions_test.go
2022-03-22 08:55:13 +00:00
ChristopherHX and GitHub
4d7107161e
Revert: Don't stop JobContainer on failure ( #1041 )
2022-03-14 19:46:32 +00:00
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 <[email protected] >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-02-15 16:35:02 +00:00
ChristopherHX and GitHub
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
3f0375aeff
Test: env.ACT in if condition of the workflow ( #965 )
...
Co-authored-by: Mathijs van Veluw <[email protected] >
Co-authored-by: Mathijs van Veluw <[email protected] >
2022-01-25 09:27:27 -08:00