From 880087fcbb77742ce499a71a84d7398d333e2f20 Mon Sep 17 00:00:00 2001 From: Ali AKCA Date: Tue, 2 Jan 2024 12:56:30 +0100 Subject: [PATCH] build: bump dependencies --- README.md | 4 ++-- gha/actions/hello-world-javascript-action/README.md | 2 +- gha/actions/hello-world-javascript-action/dagger.json | 2 +- gha/aquasecurity/trivy-action/README.md | 2 +- gha/aquasecurity/trivy-action/dagger.json | 2 +- gha/catalog.yaml | 4 ++-- gha/trufflesecurity/trufflehog/README.md | 6 +++--- gha/trufflesecurity/trufflehog/dagger.json | 2 +- gha/trufflesecurity/trufflehog/main.go | 2 ++ ghx/src/go.mod | 2 +- ghx/src/go.sum | 2 ++ 11 files changed, 17 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 9d3c713..5ec68e9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # GitHub Action Local Executor -![dagger-min-version](https://img.shields.io/badge/dagger%20version-v0.9.4-green) +![dagger-min-version](https://img.shields.io/badge/dagger%20version-v0.9.5-green) Welcome to project `gale`! @@ -26,7 +26,7 @@ To start using `gale`, make sure your computer has these tools: 1. **Docker**: Dagger, requires [Docker](https://www.docker.com/) running on your host system. -2. **Dagger CLI**: You need to install the Dagger CLI , version >= v0.9.4, to use `gale`. [Install the Dagger CLI](https://docs.dagger.io/quickstart/729236/cli) +2. **Dagger CLI**: You need to install the Dagger CLI , version >= v0.9.5, to use `gale`. [Install the Dagger CLI](https://docs.dagger.io/quickstart/729236/cli) Once you have these tools, you are ready to install and use `gale`. diff --git a/gha/actions/hello-world-javascript-action/README.md b/gha/actions/hello-world-javascript-action/README.md index ac642b6..7af13f0 100644 --- a/gha/actions/hello-world-javascript-action/README.md +++ b/gha/actions/hello-world-javascript-action/README.md @@ -1,6 +1,6 @@ # Module: Hello, World! -![dagger-min-version](https://img.shields.io/badge/dagger%20version-v0.9.4-green) +![dagger-min-version](https://img.shields.io/badge/dagger%20version-v0.9.5-green) Greet someone and record the time diff --git a/gha/actions/hello-world-javascript-action/dagger.json b/gha/actions/hello-world-javascript-action/dagger.json index 8316059..ea7c1cd 100644 --- a/gha/actions/hello-world-javascript-action/dagger.json +++ b/gha/actions/hello-world-javascript-action/dagger.json @@ -2,6 +2,6 @@ "name": "hello-world-javascript-action", "sdk": "go", "dependencies": [ - "github.com/aweris/gale@f68252f64186ad05c1c8b3d72a25e7c2933c169d" + "github.com/aweris/gale@d6f1073fc783be41753dae427996072f453f49f8" ] } diff --git a/gha/aquasecurity/trivy-action/README.md b/gha/aquasecurity/trivy-action/README.md index b3775a5..dc8fee5 100644 --- a/gha/aquasecurity/trivy-action/README.md +++ b/gha/aquasecurity/trivy-action/README.md @@ -1,6 +1,6 @@ # Module: Aqua Security Trivy -![dagger-min-version](https://img.shields.io/badge/dagger%20version-v0.9.4-green) +![dagger-min-version](https://img.shields.io/badge/dagger%20version-v0.9.5-green) Scans container images for vulnerabilities with Trivy diff --git a/gha/aquasecurity/trivy-action/dagger.json b/gha/aquasecurity/trivy-action/dagger.json index 924a187..ec14576 100644 --- a/gha/aquasecurity/trivy-action/dagger.json +++ b/gha/aquasecurity/trivy-action/dagger.json @@ -2,6 +2,6 @@ "name": "trivy-action", "sdk": "go", "dependencies": [ - "github.com/aweris/gale@f68252f64186ad05c1c8b3d72a25e7c2933c169d" + "github.com/aweris/gale@d6f1073fc783be41753dae427996072f453f49f8" ] } diff --git a/gha/catalog.yaml b/gha/catalog.yaml index cffbf05..b20e569 100644 --- a/gha/catalog.yaml +++ b/gha/catalog.yaml @@ -1,7 +1,7 @@ # global values to be used by all actions global: - galeVersion: "f68252f64186ad05c1c8b3d72a25e7c2933c169d" - daggerVersion: "v0.9.4" + galeVersion: "d6f1073fc783be41753dae427996072f453f49f8" + daggerVersion: "v0.9.5" # generated actions. global values can be overridden per action item if needed actions: diff --git a/gha/trufflesecurity/trufflehog/README.md b/gha/trufflesecurity/trufflehog/README.md index 6664a33..438a8fd 100644 --- a/gha/trufflesecurity/trufflehog/README.md +++ b/gha/trufflesecurity/trufflehog/README.md @@ -1,8 +1,8 @@ # Module: TruffleHog OSS -![dagger-min-version](https://img.shields.io/badge/dagger%20version-v0.9.4-green) +![dagger-min-version](https://img.shields.io/badge/dagger%20version-v0.9.5-green) -Scan Github Actions with TruffleHog +Scan Github Actions with TruffleHog. This module is automatically generated using [actions-generator](https://github.com/aweris/gale/tree/main/daggerverse/actions/generator). It is a Dagger-compatible adaptation of the original [trufflesecurity/trufflehog](https://github.com/trufflesecurity/trufflehog) action. @@ -23,7 +23,7 @@ dagger call -m github.com/aweris/gale/gha/trufflesecurity/trufflehog run [flags] | base | false | Start scanning from here (usually main branch). | | | extra_args | false | Extra args to be passed to the trufflehog cli. | | | head | false | Scan commits until here (usually dev branch). | | -| path | true | Repository path | | +| path | false | Repository path | ./ | ### Action Runtime Inputs diff --git a/gha/trufflesecurity/trufflehog/dagger.json b/gha/trufflesecurity/trufflehog/dagger.json index a3eb375..2ff19a1 100644 --- a/gha/trufflesecurity/trufflehog/dagger.json +++ b/gha/trufflesecurity/trufflehog/dagger.json @@ -2,6 +2,6 @@ "name": "trufflehog", "sdk": "go", "dependencies": [ - "github.com/aweris/gale@f68252f64186ad05c1c8b3d72a25e7c2933c169d" + "github.com/aweris/gale@d6f1073fc783be41753dae427996072f453f49f8" ] } diff --git a/gha/trufflesecurity/trufflehog/main.go b/gha/trufflesecurity/trufflehog/main.go index e089adc..fee7998 100644 --- a/gha/trufflesecurity/trufflehog/main.go +++ b/gha/trufflesecurity/trufflehog/main.go @@ -41,6 +41,8 @@ func (_ *Trufflehog) Run( // +optional=true head string, // Repository path + // +optional=true + // +default=./ path string, ) *Container { return dag.Gale(toGaleOpts(source, repo, tag, branch)). diff --git a/ghx/src/go.mod b/ghx/src/go.mod index 48d7923..5d787f4 100644 --- a/ghx/src/go.mod +++ b/ghx/src/go.mod @@ -3,7 +3,7 @@ module ghx go 1.21.3 require ( - dagger.io/dagger v0.9.4 + dagger.io/dagger v0.9.5 github.com/aweris/gale/common v0.0.0-00010101000000-000000000000 github.com/caarlos0/env/v9 v9.0.0 github.com/go-git/go-git/v5 v5.10.0 diff --git a/ghx/src/go.sum b/ghx/src/go.sum index ef1e72f..242498c 100644 --- a/ghx/src/go.sum +++ b/ghx/src/go.sum @@ -1,5 +1,7 @@ dagger.io/dagger v0.9.4 h1:0GNTLq1RlTOcwq6u3qMg/hLFBf2t+OlPeq9OYstLE1E= dagger.io/dagger v0.9.4/go.mod h1:ic2UD6gS5iBp2e6VWPxyb7h6VpAyhFN6U7/TDlriox8= +dagger.io/dagger v0.9.5 h1:44ypKgOjKZKrzqHSoa/wIfqnrSZM87tuoAKJpo5tGV4= +dagger.io/dagger v0.9.5/go.mod h1:ic2UD6gS5iBp2e6VWPxyb7h6VpAyhFN6U7/TDlriox8= dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= github.com/99designs/gqlgen v0.17.40 h1:/l8JcEVQ93wqIfmH9VS1jsAkwm6eAF1NwQn3N+SDqBY=