dependabot[bot]
34144c25ab
build(deps): bump the dependencies group with 6 updates ( #2675 )
...
* build(deps): bump the dependencies group with 6 updates
Bumps the dependencies group with 6 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.4.1+incompatible` | `28.0.0+incompatible` |
| [github.com/go-git/go-billy/v5](https://github.com/go-git/go-billy ) | `5.6.1` | `5.6.2` |
| [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) | `5.13.1` | `5.13.2` |
| [golang.org/x/term](https://github.com/golang/term ) | `0.28.0` | `0.29.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.4.1+incompatible to 28.0.0+incompatible
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v27.4.1...v28.0.0 )
Updates `github.com/go-git/go-billy/v5` from 5.6.1 to 5.6.2
- [Release notes](https://github.com/go-git/go-billy/releases )
- [Commits](https://github.com/go-git/go-billy/compare/v5.6.1...v5.6.2 )
Updates `github.com/go-git/go-git/v5` 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 )
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 `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/go-git/go-billy/v5
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-patch
dependency-group: dependencies
- dependency-name: golang.org/x/term
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 >
Co-authored-by: Casey Lee <cplee@nektos.com >
2025-02-25 09:28:30 +00:00
Steven Edwards
c6a7754910
Disable "unable to get git repo" when none exists. ( #2495 )
...
* Disable "unable to get git repo" when none exists.
* Restore error back so it's included in bug reports
Change from Warningf to Debugf.
---------
Co-authored-by: Casey Lee <cplee@nektos.com >
2025-02-25 06:00:38 +00:00
ChristopherHX
cf09fd0af1
fix: use non strict schema to allow some undefined behavior ( #2524 )
...
* fix: use non strict schema to allow some undefined behavior
* GitHub Actions doesn't use the newer strict schema in the service
* Tolerate more hallucinations
* Update workflow.go
* Update workflow.go
* Update pkg/model/workflow.go
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
---------
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2025-02-25 02:45:49 +00:00
ChristopherHX
95e411da06
fix: remote docker actions new action cache and dry run mode ( #2513 )
...
* fixes
* Add TestDockerCopyTarStreamDryRun
* increase coverage a bit
* fixup
* fixup
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2025-02-25 02:28:17 +00:00
ChristopherHX
16bdce5f1f
feat: GoGitActionCache shallow fetch ( #2677 )
...
* speed up cloning iff feature flag is on, should not have any negative impact
2025-02-22 14:29:03 +00:00
ChristopherHX
cb26fd8670
Use gh auth token for default GITHUB_TOKEN secret ( #2651 )
...
* initial version
2025-02-09 03:24:32 +00:00
Steven Edwards
51147d452a
Incorporate Debug, Warn, Error logging. ( #2490 )
2025-02-08 11:19:05 -08:00
ChristopherHX
60a499da93
refactor logger ( #2552 )
2025-02-08 11:18:08 -08:00
ChristopherHX
be51601734
parse_env_file discard utf8 bom ( #2638 )
...
* parse_env_file discard utf8 bom
* powershell 5 may add the BOM even when explicitly using utf8
* add test + apply to GITHUB_PATH as well
* fix it
* fix powershel 5 syntax
* misc
* fixup
* fix wrong subaction
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2025-02-01 18:17:25 +00:00
m1r4c
9dd0854a67
Added support for dereferenced map properties ( #2635 )
...
* Added support for dereferenced properties
* Added negative test
* Update pkg/exprparser/functions_test.go
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
* Update pkg/exprparser/functions_test.go
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
* fix lint
---------
Co-authored-by: m1r4c <lars-github@domesjo.com >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2025-01-31 19:14:24 +00:00
S. M. Mahmudul Haque (Yamin)
deea8ec8c6
fix: prevent unintended input replacement in reusable workflows with workflow_dispatch when using workflow_call ( #2502 )
...
* Remove redundant check
See: https://github.com/nektos/act/issues/2464#issuecomment-2430903650
* Add condition to prevent replacing inputs in reusable workflows with workflow_dispatch inputs
Closes: https://github.com/nektos/act/issues/2464
* fmt
* Revert "Remove redundant check"
This reverts commit 63455960ec714eea7631a586bcd59bed449739fc.
* add test
* Update runner_test.go
* update label
---------
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-12-29 14:52:06 +00:00
ChristopherHX
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
Casey Lee
7172fc31d1
chore: upgrade dependencies ( #2589 )
...
* chore: upgrade dependencies
* fix: linter errors
* chore: bump version of golangci-lint
* chore: go mod tidy
* fix: failing test
* fix: update version of upload-artifact to v4
* chore: format test output with gotestfmt
* fix: typo in test exec
* fix: failing tests
* fix: windows unit test execution
* fix: windows unit test execution
* fix: whitespace
2024-12-24 13:12:24 -08:00
derrik
e6b5062e5c
fix: amd64 arch to X64 ( #2580 )
2024-12-24 08:56:52 -08:00
ChristopherHX
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
ChristopherHX
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
ChristopherHX
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
ChristopherHX
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
ChristopherHX
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
Ryan
a34d9c6d60
run_context: add GITHUB_RUN_ATTEMPT ( #2458 )
...
* run_context: add GITHUB_RUN_ATTEMPT
Fixes https://github.com/nektos/act/issues/2451
Fixes https://github.com/nektos/act/issues/1615
* fix whitespace
* fix githubcontext
* fix TestSetupEnv
---------
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-09-19 21:36:09 +00:00
sebastien-perpignane
2e117a4d2b
bug/issue #2448 - manage special bash options when no shell is defined ( #2449 )
...
* bash without "-o pipefail" option when "bash" is not explicitely
defined in the workflow
* bonus: fix inverted expected and actual in TestGetGitHubContext assertions
2024-09-19 08:28:45 +00:00
ChristopherHX
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 <2119212+jsoref@users.noreply.github.com >
* Update pkg/schema/schema.go
---------
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-10 11:14:47 -07:00
ChristopherHX
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
benniekiss
60a2fed37b
fix GOOS parsing to match expected GHA RUNNER_OS values ( #2422 )
...
github actions reports RUNNER_OS for linux and windows with capital letters (Linux, Windows). This should increase compatibility when runner uses `-self-hosted`
Co-authored-by: Jason Song <i@wolfogre.com >
2024-08-13 17:33:47 +00:00
ChristopherHX
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
Chongyi Zheng
a62063b73f
Bump mergo to v1.0.0 with new module URL ( #2403 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-07-24 10:12:40 +00:00
Andrii Chyrva
570ccf390e
Fix #2363 . Add /pre- and /post-entrypoint handling ( #2394 )
...
* Fix #2363 . Add /pre- and /post-entrypoint handling
* fix copy paste error
---------
Co-authored-by: Andrii Chyrva <achyrva@hotmail.com >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-07-24 07:41:33 +00:00
ChristopherHX
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
ChristopherHX
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
ChristopherHX
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
Louis Auzuret
e4607fc791
fix: skip service container for empty image ( #2281 )
...
* fix: skip service container for empty image
It is used to skip empty image name in services which is the only way to handle condition services in github action currently https://github.com/actions/runner/issues/822
* test: add testdata for empty image in services
* fix: add missing test call
* fix: wring test call
* fix: invalid without expression
---------
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-06-05 19:16:34 +00:00
ChristopherHX
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
ChristopherHX
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
ChristopherHX
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
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
Andreas Taylor
657a3d768c
Fix for issue 2232: Many lines of "Could not find any stages to run" on run ( #2272 )
...
* Initial commit
* Put the tests back
* Remove unnecessary checks
* Remove unneeded check and fix test code
---------
Co-authored-by: Jason Song <i@wolfogre.com >
2024-05-13 15:41:28 +00:00
Yaroslav Halchenko
843cd94cc2
Add codespell support (config, workflow to detect/not fix) and make it fix few typos ( #2296 )
...
* Add github action to codespell master on push and PRs
* Add codespell config with few custom skips
* [DATALAD RUNCMD] Do interactive fixing of leftover ambigous typos
=== Do not change lines below ===
{
"chain": [],
"cmd": "codespell -w -i 3 -C 2 ./pkg/common/git/git.go",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
* exclude pkg/runner/hashfiles/index.js
* [DATALAD RUNCMD] run codespell throughout fixing typos automagically
=== Do not change lines below ===
{
"chain": [],
"cmd": "codespell -w",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-04-19 09:22:45 +00:00
dependabot[bot]
2a2cd7d5bc
build(deps): bump github.com/moby/buildkit from 0.12.5 to 0.13.1 ( #2253 )
...
* build(deps): bump github.com/moby/buildkit from 0.12.5 to 0.13.1
Bumps [github.com/moby/buildkit](https://github.com/moby/buildkit ) from 0.12.5 to 0.13.1.
- [Release notes](https://github.com/moby/buildkit/releases )
- [Commits](https://github.com/moby/buildkit/compare/v0.12.5...v0.13.1 )
---
updated-dependencies:
- dependency-name: github.com/moby/buildkit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* update error messages
* remove point
---------
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 >
2024-04-11 22:39:17 +00:00
Jason Song
2df924c509
Bump docker to v26 ( #2289 )
...
* chore: bump docker
* chore: bump more
* chore: update codes
2024-04-11 08:29:02 -07:00
ChristopherHX
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
lvyaoting
ac13a1b20d
chore: fix some comments ( #2279 )
...
Signed-off-by: lvyaoting <lvyaoting@outlook.com >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-04-10 19:58:56 +00:00
Jason Song
cdc22da7f0
Remove local action cache if remote has changed ( #2284 )
...
* fix: remove local cache if remote is changed
* test: TestCloneIfRequired
2024-04-10 12:41:02 +00:00
ChristopherHX
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
Jason Collins
d9a19c8b02
Trivial: reduce log spam. ( #2256 )
...
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-03-28 23:28:48 +00:00
James Kang
3949d74af5
chore: remove repetitive words ( #2259 )
...
Signed-off-by: majorteach <csgcgl@126.com >
Co-authored-by: ChristopherHX <christopher.homberger@web.de >
2024-03-28 23:14:53 +00:00
Jason Song
b9382a2c4e
Support overwriting caches ( #2265 )
...
* feat: support overwrite caches
* test: fix case
* test: fix get_with_multiple_keys
* chore: use atomic.Bool
* test: improve get_with_multiple_keys
* chore: use ping to improve path
* fix: wrong CompareAndSwap
* test: TestHandler_gcCache
* chore: lint code
* chore: lint code
2024-03-28 16:42:02 +00:00
Jason Song
f56dd65ff6
test: use ping to improve network test ( #2266 )
2024-03-28 11:56:26 +00:00
ChristopherHX
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
huajin tong
352ad41ad2
fix function name in comment ( #2240 )
...
Signed-off-by: thirdkeyword <fliterdashen@gmail.com >
2024-03-06 14:20:06 +00:00
ChristopherHX
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