Releases: nektos/act
v0.2.28
v0.2.27
What's Changed
New features
- Added support for chunked uploads. by @grigorye in #1208
- Allow passed in env vars to supersede ones declared in the workflow by @liamphmurphy in #1100
- implement pre and post steps by @KnisterPeter in #1089
- feat: split job steps into its own files/structs by @KnisterPeter in #1004
- feat: add option to specify git remote name by @catthehacker in #1104
- feat: support
GITHUB_REF_NAME
&GITHUB_REF_TYPE
by @thiskevinwang in #1142 - feat/bug-report-extended by @catthehacker in #1163
- feat: add ubuntu-22.04 by @catthehacker in #1150
- feat: handle context cancelation during docker exec by @KnisterPeter in #1170
- feat: non root user container by @ChristopherHX in #1202
- implement volume mount for container job by @lesomnus in #1101
Bug fixes
- pkg/runner: add support to replace GitHub's env by @aanm in #1197
- Remove the correct Volume by @ChristopherHX in #1148
- fix: set default version string by @catthehacker in #1070
- fix: don't overwrite with empty cmd/entrypoint by @catthehacker in #1076
- fix(editorconfig): correct braces by @catthehacker in #1094
- fix: return error on reusable workflows by @catthehacker in #1093
- fix: copy ignored tracked files by @ChristopherHX in #1074
- fix: expression evaluator do not error that much by @ChristopherHX in #1137
- fix: conclusion and outcome are no integers by @ChristopherHX in #1136
- fix: panic while running DRYRUN with local actions by @ChristopherHX in #1141
- fix: return invalid step type by @KnisterPeter in #1157
- fix: panic if a step in a job is nil by @ChristopherHX in #1145
- fix: remove composite restrictions by @catthehacker in #1128
- fix: Remove volume with same name as the container again by @ChristopherHX in #1203
- fix: dryrun skip local actions + enable Tests by @ChristopherHX in #1199
- fix: skip local actions pre step in any case by @KnisterPeter in #1204
- fix: allow TimeoutMinutes to be expression by @catthehacker in #1217
- fix: keep action inputs by @KnisterPeter in #1215
- fix: localcheckout mock by @ChristopherHX in #1198
- fix: processing of strategy.matrix.include by @ChristopherHX in #1200
Documentation updates
- Update docs to reflect status of support for services by @jalevin in #1180
- README: add MacPorts badge by @herbygillot in #1129
- docs(README): remove go install by @catthehacker in #1123
- Update README.md:
nix run
command by @GuillaumeDesforges in #1121
Updated dependencies
- update runc and containerd by @cplee in #1224
- deps: bump go-git by @catthehacker in #1057
- build(deps): bump github.com/docker/cli from 20.10.13+incompatible to 20.10.14+incompatible by @dependabot in #1081
- build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.2 to 2.3.4 by @dependabot in #1079
- build(deps): bump github.com/docker/docker from 20.10.13+incompatible to 20.10.14+incompatible by @dependabot in #1080
- build(deps): bump actions/cache from 2 to 3 by @dependabot in #1082
- deps: remove shlex by @catthehacker in #1086
- deps: bump go.mod to go1.18 by @catthehacker in #1088
- build(deps): bump github.com/opencontainers/selinux from 1.10.0 to 1.10.1 by @dependabot in #1102
- build(deps): bump github.com/rhysd/actionlint from 1.6.10 to 1.6.11 by @dependabot in #1106
- build(deps): bump deps which dependabot doesn't want to by @catthehacker in #1107
- build(deps): bump actions/stale from 4 to 5 by @dependabot in #1117
- build(deps): bump actions/setup-go from 2 to 3 by @dependabot in #1120
- build(deps): bump actions/upload-artifact from 2 to 3 by @dependabot in #1119
- build(deps): bump github.com/moby/buildkit from 0.10.0 to 0.10.1 by @dependabot in #1116
- build(deps): bump codecov/codecov-action from 2.1.0 to 3.0.0 by @dependabot in #1118
- build(deps): bump github.com/rhysd/actionlint from 1.6.11 to 1.6.12 by @dependabot in #1126
- build(deps): bump codecov/codecov-action from 3.0.0 to 3.1.0 by @dependabot in #1139
- build(deps): bump github.com/moby/buildkit from 0.10.1 to 0.10.2 by @dependabot in #1147
- build(deps): bump github.com/docker/cli from 20.10.14+incompatible to 20.10.15+incompatible by @dependabot in #1154
- build(deps): bump github.com/docker/docker from 20.10.14+incompatible to 20.10.15+incompatible by @dependabot in #1155
- build(deps): bump docker/setup-qemu-action from 1 to 2 by @dependabot in #1156
- build(deps): bump github.com/moby/buildkit from 0.10.2 to 0.10.3 by @dependabot in #1153
- build(deps): bump github.com/docker/cli from 20.10.15+incompatible to 20.10.16+incompatible by @dependabot in #1168
- build(deps): bump github.com/docker/docker from 20.10.15+incompatible to 20.10.16+incompatible by @dependabot in #1167
- build(deps): bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 by @dependabot in #1169
- build(deps): bump github.com/rhysd/actionlint from 1.6.12 to 1.6.13 by @dependabot in #1173
- build(deps): bump goreleaser/goreleaser-action from 2 to 3 by @dependabot in #1179
- build(deps): bump github.com/go-ini/ini from 1.66.4 to 1.66.5 by @dependabot in #1189
- build(deps): bump github.com/go-ini/ini from 1.66.5 to 1.66.6 by @dependabot in #1201
- build(deps): bump github.com/docker/docker from 20.10.16+incompatible to 20.10.17+incompatible by @dependabot in #1212
- build(deps): bump github.com/docker/cli from 20.10.16+incompatible to 20.10.17+incompatible by @dependabot in #1211
- build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.4 to 2.3.5 by @dependabot in #1214
- build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 by @dependabot in #1213
Other
- governance: fix bug report rendering by @catthehacker in #1186
- automatically merge PRs from dependabot by @cplee in #1084
- refactor: simplify action function signatures by @KnisterPeter in #1083
- ci: bump go to 1.18 by @catthehacker in #1087
- tests(runner): move arm64 test to own func by @catthehacker in #1095
- use new paths from goreleaser by @cplee in #1135
- tests: remove runTestJobFile by @catthehacker in #1127
- ci: always grab latest go version by @catthehacker in #1124
- chore: fold integration test outputs by @KnisterPeter in #1111
- refactor: remove composite action runcontext workaround by @KnisterPeter in #1085
- ci(choco): update chocolatey to 1.1.0 by @catthehacker in #1164
- governance: new issue templates by @catthehacker in #1048
- refactor: remove github.com/pkg/errors dependency by @catthehacker in #1077
- Improve logging by @ZauberNerd in #1171
- auto generate changelog by @cplee in #1225
New Contributors
- @liamphmurphy made their first contribution in #1100
- @lesomnus made their first contribution in #1101
- @GuillaumeDesforges made their first contribution in #1121
- @thiskevinwang made their first contribution in #1142
- @jalevin made their first contribution in #1180
- @aanm made their first contribution in #1197...
v0.2.26
Changelog
New Features
- 5d7027d feat: add bug-report flag (#1056)
- f09cdb8 feat: add flag to always run the checkout action (#1049)
- 6b05957 feat: add step name to logger field (#1027)
- 14c9801 feat: add json logger output (#1026)
- 18792f9 feat: run jobs in parallel (#1003)
- 2eda7c6 feat: add skipped status as step result (#950)
- edd0fb9 feat: try to read ref and sha from event payload if available (#889)
- 4e6cddf feat(goreleaser): format changelog, add prereleases (#942)
- 5580812 feat: add node16 support (#922)
- 6517d04 feat: allow existing logger from context (#898)
- f726339 feat: SELinux lables for --bind (#906)
Bug fixes
- 1e92d87 fix: remove unused TestContext (#1013)
- aab2af0 fix: coerce booleans to numbers for comparison in exprparser (#1030)
- 3db3c73 fix: trim whitespace from actrc (#1024)
- c22d833 fix: hide masked values in log files (#1011)
- ad06f5d fix: print line after password prompt (#1014)
- d1e0216 fix: deep evaluate matrix strategy (#964)
- 9abc87b fix: always execute closeContainer() executor (#988)
- c802064 fix: docker cp of dangling symlink (#943) (#948)
- 4be9062 fix: set composite outputs on failure (#945)
- 518148d fix(goreleaser): add append mode for release notes (#962)
- e9c4609 fix: update install.sh (#937)
- adabf2a fix: rework setupShellCommand (#930)
- 4e0ba61 fix: clarify --reuse and --rm flags (#929)
- fec0c0c fix: ::stop-commands:: should continue to print the lines (#920)
- 1891c72 fix: continue jobs + steps after failure (#840)
Documentation updates
Other
- a970145 Fix: panic: reflect: slice index out of range (#1066)
- 380bd58 Fix: call of reflect.Value.Interface on zero Value (#1067)
- 5083284 Fix: tojson(null) == 'null' (#1068)
- 87175ec build(deps): bump github.com/docker/docker (#1062)
- 7d946c4 build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#1061)
- 4d71071 Revert: Don't stop JobContainer on failure (#1041)
- 7d403b8 build(deps): bump golangci/golangci-lint-action from 2 to 3.1.0 (#1019)
- 932ad0e ci(stalebot): ignore feature requests (#1017)
- 0579f7c build(deps): bump actions/checkout from 2 to 3 (#1028)
- fa71f0b build(deps): bump github.com/spf13/cobra from 1.3.0 to 1.4.0 (#1040)
- 933413e build(deps): bump github.com/docker/cli (#1038)
- ee92e07 build(deps): bump github.com/rhysd/actionlint from 1.6.9 to 1.6.10 (#1039)
- 5c0023c build(deps): bump github.com/docker/distribution (#1037)
- 56486f1 build(deps): bump github.com/moby/buildkit from 0.9.3 to 0.10.0 (#1036)
- e9e6dda build(deps): bump github.com/spf13/cobra from 1.2.1 to 1.3.0 (#955)
- 55da213 Update link to 'filesystems' GitHub docs (#1016)
- 9a54c99 build(deps): bump github.com/rhysd/actionlint from 1.6.8 to 1.6.9 (#1018)
- c24cfc7 Expression evaluator fixes (#1009)
- 7d43396 build(deps): bump github.com/go-ini/ini from 1.64.0 to 1.66.4 (#997)
- ff13844 refactor: default empty if: statement to if: success() in evaluator & remove
FixIfStatement()
(#990) - 0fae967 build(deps): bump github.com/docker/distribution (#994)
- 331afe1 Added instructions to install on fedora using copr package (#993)
- e4f0080 refactor: extract setupAction into ActionReader (#986)
- e23223a refactor: extract RunContext Executor in JobExecutor (#984)
- 4f8da0a ci(Mergify): configuration update (#972)
- 7dbf3fc Fix: regression run after failure (#971)
- 557dc75 ci(Mergify): configuration update (#966)
- dba7f83 build(deps): bump github.com/moby/buildkit from 0.9.2 to 0.9.3 (#958)
- b0f5557 build(deps): bump github.com/docker/docker (#957)
- eedac17 build(deps): bump github.com/opencontainers/image-spec (#954)
- bbf6b7e build(deps): bump github.com/docker/cli (#956)
- 3f0375a Test: env.ACT in if condition of the workflow (#965)
- eba71f9 Refactor expression evaluator to use parser from actionlint package (#908)
- ed01f46 refactor: export and move shared contexts into pkg/model (#931)
- 9868e13 Feature: uses in composite (#793)
- 2ef30c3 lint(megalinter): disable markdown link check (#938)
- 9be6a58 ci: replace superlinter with megalinter (#923)
- cad4bc8 ci(Mergify): configuration update (#924)
- a545cea Fix and test choco action (#911)
- b910a42 Docker auth (#891)
- 5bdb9ed container credentials (#868)
- e793d03 Add more steps context support (#887)
- 6ebcac3 ci(choco): fix chocolatey docker build (#903)
v0.2.25
Changelog
8ad6c07 feat: add option for docker image rebuild (#878)
ff8b1df Don't interpolate joboutputs, before job is done (#894)
96cf907 Fix regex for GITHUB_ENV parsing (#893)
4ae71b5 Revert "feat: allow existing logger from context (#859)" (#890)
df4ef4d docs: add brew installation from HEAD (#886)
c26e661 build(deps): bump github.com/go-ini/ini from 1.63.2 to 1.64.0 (#882)
09693ec fix: fromJSON should work with any JSON (#883)
12fa4d7 fix: correctly unmarshal entrypoint (#876)
ec34eb9 fix: use docker lib for image ref parsing (#877)
62d2167 Fix github SSH regex for missing .git extension (#871)
3054f3e fix: cleanup unused actions (#873)
099af5e fix: interpolate env for step actions (#872)
603cf56 feat: allow existing logger from context (#859)
cd24df5 ci(golangci-lint): switch to latest (#870)
11f6ee3 Asset server implementation (#677)
f8b3563 build(deps): bump github.com/moby/buildkit from 0.9.1 to 0.9.2 (#864)
80db062 ci(mergify): fix deprecated strict mode (#862)
e9ae789 fix: set sh
as default shell for containers (#853)
7c73531 Fixes (#856)
aad724c ci: remove macOS tests (#860)
6a3a47c build(deps): bump github.com/docker/docker (#855)
50dd0c0 build(deps): bump github.com/docker/cli (#854)
2319eb2 docs: fix brew formula link (#846)
83a28d9 Close docker client (#789)
f8ddfca goreleaser: Switch to latest and drop Homebrew config (#848)
977b526 ci: switch macos job to macos-10.15 (#849)
b5e8a18 build(deps): bump github.com/moby/buildkit from 0.9.0 to 0.9.1 (#838)
a0d3602 fix: rewrite StepContext env (#832)
6c60af7 fix: rewrite how image env is merged (#828)
7a426a0 refactor: re-implement embed
without "unused" import (#830)
bfcf0ab build(deps): bump github.com/joho/godotenv from 1.3.0 to 1.4.0 (#824)
c2c8b52 Add reading environment from Docker image (#771)
4d552e6 fix: add simple concurrency limit (#823)
a6aea44 fix(mergify): needs-work label handling (#810)
b1e4844 ci: pin goreleaser version (#825)
5a09eb2 Bump all dependencies (and fix dependabot mess) (#822)
3c14548 fix: mount volume for workflow info (#776)
e82f17e build(deps): bump codecov/codecov-action from 1.5.2 to 2.1.0 (#819)
17652ce Remove ubuntu-16.04 and add missing links for nix/go (#821)
aa080d0 Provide hint for -P (#815)
6d7f574 build(deps): bump github.com/go-git/go-billy/v5 from 5.0.0 to 5.3.1 (#802)
9126f15 support for container option: --hostname (#809)
f0fd0af Refresh hash after pull for branch refs (#791)
a7a2659 build(deps): bump github.com/AlecAivazis/survey/v2 from 2.2.7 to 2.3.1 (#803)
12928a0 feat: add Dependabot config (#797)
6e5bd24 Cache dockerhub images from linux for macOS (#768)
4c645b3 Update Go to 1.17 (#787)
37aaec8 feat: improve list (#786)
de44a50 fix: copy whole action dir to container (#774)
bea32d5 Add proper support for working-directory & fix command builder (#772)
77b3968 Fix docker: invalid reference format (#767)
5c841e2 Update docs, file formatting and docker images (#766)
94fd0ac Simplify Matrix decode, add defaults for fail-fast and max-parallel, add test (#763)
43d46aa Fix format function {{, }} are escapes (#752)
v0.2.24
Changelog
0ff204b Read localaction's from container (#719)
531ea02 Fix ImageOS
format (#761)
4036b8a README: add MacPorts info (#762)
149cc19 Fix defaults (composite) (#753)
c865a56 Fix url typo in README.md (#746)
73b22a0 Add docker context workaround to readme (#749)
dcbd583 Add needs
job output (#629)
1cf422e fix: warn Apple M1 (arm64) users (#743)
v0.2.23
Changelog
a9fe038 Update images, fix extrapath (#723)
a9295c9 Test fixups for Windows/Forks (#681)
e5d4886 Refactor local, composite actions and run steps (#712)
003c995 Support container removal at exit. Fixes #694 (#714)
2261204 fix: wrong perms (#726)
6550eb7 fix: update codecov action (again) (#731)
05bce00 fix: update codecov action (#727)
96a0564 fix: don't replace empty secrets (#725)
33ccfa6 Switch to interface{}
instead of map[string]...
(#700)
fa93f4d fix: update issue template (#722)
6b4d359 Add support for container kernel capabilities (#716)
8a9167d fix: avoid race condition by not running exec/start twice (#702)
d794e2f Move actions path outside of workdir (#701)
4900399 Add arm64
/arm
and capture all snapshots (#699)
799098b feat: add option for custom socket path (#698)
764263c Have List suggest -W for duplicate jobs (#691)
60b9606 fix: use github auth token for pulling a repository (#693)
29ea8cf Fix: GITHUB_PATH should prepend (#690)
38f6dfb fix: use auth when fetching (same as with cloning) (#687)
f571290 refactor: remove gotest.tools
(#688)
3e22b1b Fix typo (#685)
ee05fb1 Add hint on ${{ github.token }} (#686)
3db5037 fix: hide masked value (#668)
ef0da2a Hotfix: Skip Checkout Regression (#680)
aa68181 refactor: return more errors, add more tests (#679)
v0.2.22
Changelog
cc4e23d fix: remove Windows issue from README.md
(#675)
a6a865e fix: replace gopass
lib with golang.org/x/term
(#674)
a144e71 Add various GitHub environment variables (#604)
a07cb44 Write git clone progress only if terminal is a TTY (#670)
37a98f1 feat: add go
install instruction (#672)
92eec3a $GITHUB_PATH support (#566)
8153dc9 Fix environment variables and move envs.txt
/event.json
to fixed location (#667)
aba4fec Fixes #598 (#628)
0c4374e GitHub Enterprise support (#658)
710a3ac Add custom docker registry authentication (#665)
616d7fc Remove pwsh -login and add Pwsh test (#660)
0f04942 Separate Container Workdir from host Workdir (#635)
020d6a6 Composite action (#608)
cec6348 Add super-linter
+ fix lint issues (#650)
3db3d41 Fixes Issue #597 (#637)
780f60a fix: ignore act
binary built when using make
(#654)
cc3e7ae GitHub Event Path #542 (#605)
806bc4d refactor: NewWorkflowPlanner
(#648)
b04d762 feat: Don't push pkg/runner/act/
where actions cache is stored (#620)
08141f5 fix: update readme with more relevant/updated information (#630)
7ae9916 Add option to allow files/directories in .gitignore
to be copied to container (#537)
ea7503b Prefer go-git to find the reference name (#633)
f32babb fix: reworked container architecture (#619)
3e768cd feat: Speeding up workflows (#643)
f56b21f Add nektos/act to awesome-runner curated list (#624)
010e459 Clean the repository cache if it is in incomplete state (#595)
465fbba Handle tagless versions (#606)
4125812 Refactor .actrc
locations and default image survey (#600)
47e1ba1 Go 1.16 is required since 5752a03 (#601)
b9a7bc6 Add support for composite actions (#514)
94d736a fix: fail workflow if the job name is invalid (#596)
5044ec6 fix: remove HOME env var (#594)
25779af fix: return error if both run:
/uses:
keys are used (#593)
v0.2.21
Changelog
5752a03 Support running commands in repositories without action.yaml (#293)
d67e282 use container image platform only on docker 1.41+ (#591)
aaaa895 Update CODEOWNERS to use 'act-maintainers' team
957b8ad Update Shell Tasks to match ScriptHandlerHelpers (#575)
c27ef0a update to codecov version
780a8a0 fix: use new platforms after survey, check working dir for .actrc
(#577)
f5a0258 Add code testing on MacOS (#563)
345c652 add status checks
2825449 add codecov integration (#585)
69018f3 include past tags when releasing
f58fbc0 add codecov integration
72f2d2d fix: update ubuntu-latest
to point to ubuntu-20.04
(#580)
29b3d43 fix: hardcode ubuntu-latest
for ImageOS
envvar (#579)
f3b53d8 fix: pass sc.Env
through common.Logger
to hide secrets (#578)
da07324 CI: Add snapshot artifacts to PR builds (#574)
b438b83 fix: invoke login shells to source /etc/environment
(#570)
6cde8f6 use project dir instead of /github/workspace (#567)
6c258cf Add option to run custom architecture (container platform) (#525)
41b03b5 fix: add ImageOS
env var based on running platform (#571)
09679f0 Update test workflows and improve expression_test.go
/run_context_test.go
(#560)
eb27742 Fix tests on Windows (#562)
f29b1f2 Add more context to MODULE_NOT_FOUND errors and how to fix it (#552)
8de7b95 Add --userns flag to support Docker daemon that enables user namespace (#533)
6c118fe #534 feat: step continues when continue-on-error is ture (#544)
14c06ee enable to resolve commit hash in uses
(#530)
34dc2dc Update Docker images (#524)
475a6aa properly parse arguments to Docker container steps (#539)
c4f1f3a Fix link to issue #97 in README.md (#541)
9bf37fb Fix indent with go fmt (#531)
6066980 Removed pipefail from bash shell execution to match GitHub Actions (#529)
v0.2.20
Changelog
661aa08 - Add GitHub issue templates (#512) (Cat™)
316b078 - Shouldn't rewrite dot in a string to index syntax (#502) (KADOTA, Kyohei)
fc46f50 - Update README.md
/cmd/root.go
with additional information (#523) (Cat™)
ec6b162 - Fix choco Dockerfile (#515) (Cat™)
eca1b9c - Add lacking environment variables. (#513) (Taiju Muto)
8339f4b - Interpolate with:
inputs (#511) (Cat™)
22d56c3 - fix: --version, --help do not need check platform config (#508) (Owen Young)
56ec367 - Fix Cartesian product to return empty set if empty set is given (#503) (Ed)
2d1a946 - Throw an error if the steps has a invalid uses directive (#500) (KADOTA, Kyohei)
v0.2.19
Changelog
- Make all secrets case insensitive by formatting them to uppercase (#470)
- Fix issue #416 (#423)
- Make stale bot action less aggressive (#478)
- Fix a small confusion in readme (#477)
- Update parts of repo (#476)
- Fix "reference not found" error on checkout (#433) (#471)
- Add --env flag to pass environment vars without file (#474)
- Format sources with gofmt (#472)
- update stale labels to stop closing issues that are NOT stale
- Add autodetect event flag (#486)
- Report error when
if
expression is invalid (#485) - Add survey during first run for a default image (#483)
- Load .secrets file as default (#488)
- Stop current execution if there is the invalid syntax in the workflow
- Print error with workflow/job information when runs-on key is not def