Commit Graph

1250 Commits

Author SHA1 Message Date
ChristopherHX
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
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
d930a546ec Use gh auth token for default GITHUB_TOKEN secret (#43)
* initial version
2025-02-01 11:07:17 +01:00
ChristopherHX
358722a69f Added support for dereferenced map properties (#44)
* Added support for dereferenced properties
* Added negative test

Co-authored-by: m1r4c <lars-github@domesjo.com>
2025-01-31 21:39:20 +00:00
ChristopherHX
a162920fb4 Update Readme and issue templates (#40) 2025-01-31 17:54:54 +01:00
Steven Edwards
54f0cef40a Refactor findGitSlug to eliminate else ifs. (#41) 2025-01-30 11:42:24 -05:00
dependabot[bot]
09a2afc578 build(deps): bump megalinter/megalinter from 8.3.0 to 8.4.1 (#39)
Bumps [megalinter/megalinter](https://github.com/megalinter/megalinter) from 8.3.0 to 8.4.1.
- [Release notes](https://github.com/megalinter/megalinter/releases)
- [Changelog](https://github.com/oxsecurity/megalinter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/megalinter/megalinter/compare/v8.3.0...v8.4.1)

---
updated-dependencies:
- dependency-name: megalinter/megalinter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-29 18:15:27 +00:00
ChristopherHX
513497943c Update .gitleaksignore (#25)
* megalinter update makes REDACTED fail gitleaks
2025-01-29 18:57:08 +01:00
ChristopherHX
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
592dc4bf2c [BREAKING] new pull-if-needed no-rebuild (#32)
* Old inverted names removed
2025-01-29 17:25:39 +01:00
ChristopherHX
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
3bd3400253 Use act as bin name (#22) 2025-01-29 17:22:24 +01:00
ChristopherHX
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
ChristopherHX
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 <2119212+jsoref@users.noreply.github.com>
2025-01-29 17:20:06 +01:00
ChristopherHX
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
Steven Edwards
635129e9e5 Incorporate Debug, Warn, Error logging (#36)
Closes #35
2025-01-29 09:59:02 -05:00
Steven Edwards
b17d9858f2 Update README.md (#37)
Clone this repo still pointed to `nektos/act`
2025-01-28 21:38:48 -05:00
ChristopherHX
f28bee065f valueMasker create secrets copy (#26)
* concurrent map iteration + write still unknown
2025-01-28 17:10:30 -05:00
ChristopherHX
afbf79f190 chore: remove .actrc (#18) 2025-01-27 18:12:31 +01:00
ChristopherHX
dfbb4fa0b1 chore: resolve goreleaser deprecation warnings (#16) 2025-01-27 18:12:17 +01:00
ChristopherHX
8e89026ba4 chore: refactor snapshot upload (#15) 2025-01-27 18:11:46 +01:00
Steven Edwards
70c9e21c85 update go imports (#20)
* Replace nektos/act imports with actions-oss/act-cli

* Update go.mod to reference new repo

* Fix goimports "not properly formatted" complaints.

Replacing the imports left some out of alphabetical order.
2025-01-27 18:11:12 +01:00
dependabot[bot]
1d135cf8d1 build(deps): bump github.com/docker/cli (#3)
Bumps [github.com/docker/cli](https://github.com/docker/cli) from 27.4.1+incompatible to 27.5.1+incompatible.
- [Commits](https://github.com/docker/cli/compare/v27.4.1...v27.5.1)

---
updated-dependencies:
- dependency-name: github.com/docker/cli
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-26 12:43:57 +00:00
dependabot[bot]
3081ce9955 build(deps): bump github.com/go-git/go-git/v5 from 5.13.1 to 5.13.2 (#5)
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) 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)

---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-26 12:43:21 +00:00
dependabot[bot]
4076f87f97 build(deps): bump google.golang.org/protobuf from 1.36.3 to 1.36.4 (#4)
Bumps google.golang.org/protobuf from 1.36.3 to 1.36.4.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-26 12:37:09 +00:00
dependabot[bot]
41d83e7859 build(deps): bump github.com/docker/docker (#2)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 27.4.1+incompatible to 27.5.1+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v27.4.1...v27.5.1)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-26 12:26:30 +00:00
dependabot[bot]
fb98ca1c7e build(deps): bump goreleaser/goreleaser-action from 5 to 6 (#1)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 5 to 6.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-26 13:20:09 +01:00
ChristopherHX
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
3d684447a5 make ci run in this fork (#9) 2025-01-26 11:20:26 +00:00
ChristopherHX
92b3ece22e Delete IMAGES.md (#8)
* obsolete file
2025-01-26 11:37:26 +01:00
dependabot[bot]
7bfe066df8 build(deps): bump github.com/rhysd/actionlint from 1.7.6 to 1.7.7 (#2624)
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint) from 1.7.6 to 1.7.7.
- [Release notes](https://github.com/rhysd/actionlint/releases)
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rhysd/actionlint/compare/v1.7.6...v1.7.7)

---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2025-01-20 03:17:41 +00:00
dependabot[bot]
bcafb8fcd4 build(deps): bump google.golang.org/protobuf from 1.36.2 to 1.36.3 (#2623)
Bumps google.golang.org/protobuf from 1.36.2 to 1.36.3.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-20 03:01:12 +00:00
dependabot[bot]
652265b2cc build(deps): bump golangci/golangci-lint-action from 6.1.1 to 6.2.0 (#2622)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v6.1.1...v6.2.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-20 02:25:10 +00:00
Sanjula Ganepola
5ce39f621c Add GitHub Local Actions to README (#2588)
* Add GitHub Local Actions to README

Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>

* Remove trailing whitespace

Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>

* Add line break after heading

Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>

* Restore final new line

Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>

---------

Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
Co-authored-by: Casey Lee <cplee@nektos.com>
2025-01-19 21:21:28 +00:00
dependabot[bot]
a9e31cde30 build(deps): bump google.golang.org/protobuf from 1.36.1 to 1.36.2 (#2612)
Bumps google.golang.org/protobuf from 1.36.1 to 1.36.2.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-13 02:27:17 +00:00
dependabot[bot]
0ff68e6362 build(deps): bump github.com/go-git/go-git/v5 from 5.13.0 to 5.13.1 (#2604)
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.13.0 to 5.13.1.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](https://github.com/go-git/go-git/compare/v5.13.0...v5.13.1)

---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2025-01-06 03:12:57 +00:00
dependabot[bot]
4c9875bb0d build(deps): bump github.com/rhysd/actionlint from 1.7.5 to 1.7.6 (#2603)
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint) from 1.7.5 to 1.7.6.
- [Release notes](https://github.com/rhysd/actionlint/releases)
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rhysd/actionlint/compare/v1.7.5...v1.7.6)

---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2025-01-06 02:53:33 +00:00
dependabot[bot]
24adb1eaf8 build(deps): bump golang.org/x/term from 0.27.0 to 0.28.0 (#2602)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.27.0 to 0.28.0.
- [Commits](https://github.com/golang/term/compare/v0.27.0...v0.28.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-06 02:36:33 +00:00
github-actions[bot]
0006dee285 chore: bump VERSION to 0.2.71 2025-01-01 02:30:43 +00:00
sobolevn
0ca1e18334 Fix typo in --action-offline-mode option description (#2590) 2024-12-30 19:12:35 -08:00
dependabot[bot]
a64359c9cb build(deps): bump github.com/go-git/go-git/v5 from 5.12.0 to 5.13.0 (#2595)
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.12.0 to 5.13.0.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](https://github.com/go-git/go-git/compare/v5.12.0...v5.13.0)

---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-30 03:17:04 +00:00
dependabot[bot]
ccfadfee20 build(deps): bump github.com/go-git/go-billy/v5 from 5.6.0 to 5.6.1 (#2594)
Bumps [github.com/go-git/go-billy/v5](https://github.com/go-git/go-billy) from 5.6.0 to 5.6.1.
- [Release notes](https://github.com/go-git/go-billy/releases)
- [Commits](https://github.com/go-git/go-billy/compare/v5.6.0...v5.6.1)

---
updated-dependencies:
- dependency-name: github.com/go-git/go-billy/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-12-30 02:59:00 +00:00
dependabot[bot]
c315398305 build(deps): bump github.com/rhysd/actionlint from 1.7.4 to 1.7.5 (#2593)
Bumps [github.com/rhysd/actionlint](https://github.com/rhysd/actionlint) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/rhysd/actionlint/releases)
- [Changelog](https://github.com/rhysd/actionlint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rhysd/actionlint/compare/v1.7.4...v1.7.5)

---
updated-dependencies:
- dependency-name: github.com/rhysd/actionlint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-30 02:41:53 +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
mergify[bot]
bd8dda1939 ci(mergify): upgrade configuration to current format (#2547)
Co-authored-by: Mergify <37929162+mergify[bot]@users.noreply.github.com>
2024-12-25 02:00:07 +00:00
Jim Crowley
fe017a109f feat: Adding in logic to check if act needs to be downloaded (#2575)
Co-authored-by: Casey Lee <cplee@nektos.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2024-12-25 01:43:09 +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
github-actions[bot]
9c7f103bb3 chore: bump VERSION to 0.2.70 2024-12-01 02:37:19 +00:00