Skip to content

Commit 78827ad

Browse files
authored
Merge pull request #126 from Staffbase/dependabot/go_modules/github.com/ldez/ghactions-1.12.0
Bump github.com/ldez/ghactions from 1.11.0 to 1.12.0
2 parents 088b845 + c9087c5 commit 78827ad

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
module github.com/Staffbase/yamllint-action
22

3-
go 1.22.2
3+
go 1.24.0
44

55
require (
6-
github.com/google/go-github/v68 v68.0.0
7-
github.com/ldez/ghactions v1.11.0
6+
github.com/google/go-github/v71 v71.0.0
7+
github.com/ldez/ghactions v1.12.0
88
)
99

1010
require (
1111
github.com/google/go-querystring v1.1.0 // indirect
12-
golang.org/x/oauth2 v0.24.0 // indirect
12+
golang.org/x/oauth2 v0.29.0 // indirect
1313
)

go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
2-
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
3-
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
4-
github.com/google/go-github/v68 v68.0.0 h1:ZW57zeNZiXTdQ16qrDiZ0k6XucrxZ2CGmoTvcCyQG6s=
5-
github.com/google/go-github/v68 v68.0.0/go.mod h1:K9HAUBovM2sLwM408A18h+wd9vqdLOEqTUCbnRIcx68=
2+
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
3+
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
4+
github.com/google/go-github/v71 v71.0.0 h1:Zi16OymGKZZMm8ZliffVVJ/Q9YZreDKONCr+WUd0Z30=
5+
github.com/google/go-github/v71 v71.0.0/go.mod h1:URZXObp2BLlMjwu0O8g4y6VBneUj2bCHgnI8FfgZ51M=
66
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
77
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
8-
github.com/ldez/ghactions v1.11.0 h1:kU5qgCIgjw90nv9h24NFRDz4tVwwZBYCSeiB0UBeJEQ=
9-
github.com/ldez/ghactions v1.11.0/go.mod h1:HPIHAbCG/cZwhQT7dSTVmxIUPUF29BRgXs9uyCRaO6Q=
10-
golang.org/x/oauth2 v0.24.0 h1:KTBBxWqUa0ykRPLtV69rRto9TLXcqYkeswu48x/gvNE=
11-
golang.org/x/oauth2 v0.24.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
8+
github.com/ldez/ghactions v1.12.0 h1:gwB47104ff5qiyEqQVA58ITP+US+PenngAiLV1iw+5o=
9+
github.com/ldez/ghactions v1.12.0/go.mod h1:PAEzUa8kBa71WiJsyex84+rh0iiQuVO4I2yDX8WEH5Y=
10+
golang.org/x/oauth2 v0.29.0 h1:WdYw2tdTK1S8olAzWHdgeqfy+Mtm9XNhv/xJsY65d98=
11+
golang.org/x/oauth2 v0.29.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=
1212
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

yamllint-action.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"strconv"
2626
"strings"
2727

28-
"github.com/google/go-github/v68/github"
28+
"github.com/google/go-github/v71/github"
2929
"github.com/ldez/ghactions"
3030
)
3131

@@ -217,7 +217,7 @@ func handlePush(ctx context.Context, client *github.Client, report Report) error
217217
}
218218

219219
if report.ErrorHasOccured {
220-
return fmt.Errorf(summary)
220+
return fmt.Errorf("report contains error: %s", summary)
221221
} else {
222222
return nil
223223
}

0 commit comments

Comments
 (0)