From 48fb82d4f94687100d2e465b7557da8318c1b06f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 15:06:45 +0000 Subject: [PATCH 1/2] Bump github.com/ldez/ghactions from 1.9.0 to 1.10.0 Bumps [github.com/ldez/ghactions](https://github.com/ldez/ghactions) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/ldez/ghactions/releases) - [Commits](https://github.com/ldez/ghactions/compare/v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: github.com/ldez/ghactions dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 4 +++- go.sum | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 7c92a95..e43836f 100644 --- a/go.mod +++ b/go.mod @@ -1,13 +1,15 @@ module github.com/Staffbase/yamllint-action go 1.21 +toolchain go1.22.2 require ( github.com/google/go-github/v58 v58.0.0 - github.com/ldez/ghactions v1.9.0 + github.com/ldez/ghactions v1.10.0 ) require ( + github.com/google/go-github/v62 v62.0.0 // indirect github.com/google/go-querystring v1.1.0 // indirect golang.org/x/oauth2 v0.20.0 // indirect ) diff --git a/go.sum b/go.sum index 04d1ffd..af45a0b 100644 --- a/go.sum +++ b/go.sum @@ -3,10 +3,12 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-github/v58 v58.0.0 h1:Una7GGERlF/37XfkPwpzYJe0Vp4dt2k1kCjlxwjIvzw= github.com/google/go-github/v58 v58.0.0/go.mod h1:k4hxDKEfoWpSqFlc8LTpGd9fu2KrV1YAa6Hi6FmDNY4= +github.com/google/go-github/v62 v62.0.0 h1:/6mGCaRywZz9MuHyw9gD1CwsbmBX8GWsbFkwMmHdhl4= +github.com/google/go-github/v62 v62.0.0/go.mod h1:EMxeUqGJq2xRu9DYBMwel/mr7kZrzUOfQmmpYrZn2a4= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= -github.com/ldez/ghactions v1.9.0 h1:TRbCdqph6rLkwCa3OU/S6WvNQqdt4u68SiU+BZwovIU= -github.com/ldez/ghactions v1.9.0/go.mod h1:1QcwVhMLiZIe63WymYrzCw409sLevMpEmrn3toVP1NM= +github.com/ldez/ghactions v1.10.0 h1:7Q0tYHdpPDhNwq2HzxypCfL/jBWFQa7UDD+I0JoNiGk= +github.com/ldez/ghactions v1.10.0/go.mod h1:Vnd6ljT2XC/O6CkSckTQiiFsKlw+h6qtM6n9FOoHMEc= golang.org/x/oauth2 v0.20.0 h1:4mQdhULixXKP1rwYBW0vAijoXnkTG0BLCDRzfe1idMo= golang.org/x/oauth2 v0.20.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= From f70fc8233ffc8e0bdadba7e6d5100365a4000d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Wed, 29 May 2024 10:58:39 +0200 Subject: [PATCH 2/2] update go-github MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: André Bauer --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 2 +- .gitignore | 1 + go.mod | 6 ++---- go.sum | 2 -- yamllint-action.go | 2 +- 6 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bef2d6a..9c28d22 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version: 1.22 - name: Check out code into the Go module directory uses: actions/checkout@v4 @@ -32,7 +32,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version: 1.22 - name: Release Dry Run uses: goreleaser/goreleaser-action@v5.1.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 70c78f2..8b753ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version: 1.22 - name: Login to docker registry uses: docker/login-action@v3.1.0 diff --git a/.gitignore b/.gitignore index ed0f7a6..f928777 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.iml .idea dist/ +yamllint-action diff --git a/go.mod b/go.mod index e43836f..c52778e 100644 --- a/go.mod +++ b/go.mod @@ -1,15 +1,13 @@ module github.com/Staffbase/yamllint-action -go 1.21 -toolchain go1.22.2 +go 1.22.2 require ( - github.com/google/go-github/v58 v58.0.0 + github.com/google/go-github/v62 v62.0.0 github.com/ldez/ghactions v1.10.0 ) require ( - github.com/google/go-github/v62 v62.0.0 // indirect github.com/google/go-querystring v1.1.0 // indirect golang.org/x/oauth2 v0.20.0 // indirect ) diff --git a/go.sum b/go.sum index af45a0b..27860c3 100644 --- a/go.sum +++ b/go.sum @@ -1,8 +1,6 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-github/v58 v58.0.0 h1:Una7GGERlF/37XfkPwpzYJe0Vp4dt2k1kCjlxwjIvzw= -github.com/google/go-github/v58 v58.0.0/go.mod h1:k4hxDKEfoWpSqFlc8LTpGd9fu2KrV1YAa6Hi6FmDNY4= github.com/google/go-github/v62 v62.0.0 h1:/6mGCaRywZz9MuHyw9gD1CwsbmBX8GWsbFkwMmHdhl4= github.com/google/go-github/v62 v62.0.0/go.mod h1:EMxeUqGJq2xRu9DYBMwel/mr7kZrzUOfQmmpYrZn2a4= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= diff --git a/yamllint-action.go b/yamllint-action.go index 6702b50..79093ad 100644 --- a/yamllint-action.go +++ b/yamllint-action.go @@ -25,7 +25,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v58/github" + "github.com/google/go-github/v62/github" "github.com/ldez/ghactions" )