From 32fa25d2bf054d6ce690431773854d9216636764 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 25 Oct 2024 00:59:38 +0000
Subject: [PATCH 1/3] chore(deps): update actions/setup-go digest to 41dfa10 in
.github/workflows/test.yml (main) (#5041)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/lint.yml | 2 +-
.github/workflows/release.yml | 2 +-
.github/workflows/test.yml | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 572c7c0b05..398101e06d 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
# need to setup go toolchain explicitly
- - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5
+ - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5
with:
go-version-file: go.mod
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index f16293de6a..2d3d1ebe5d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -14,7 +14,7 @@ jobs:
with:
submodules: true
- - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5
+ - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5
with:
go-version-file: go.mod
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index de7209c6ee..283fd75e10 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -53,7 +53,7 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
# need to setup go toolchain explicitly
- - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5
+ - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5
with:
go-version-file: go.mod
@@ -119,7 +119,7 @@ jobs:
NGROK_AUTH_TOKEN: ${{ secrets.ATLANTISBOT_NGROK_AUTH_TOKEN }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5
+ - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5
with:
go-version-file: go.mod
@@ -156,7 +156,7 @@ jobs:
NGROK_AUTH_TOKEN: ${{ secrets.ATLANTISBOT_NGROK_AUTH_TOKEN }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5
+ - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5
with:
go-version-file: go.mod
From 95d55b6324ef45fe88885cc50595bc7290bb897f Mon Sep 17 00:00:00 2001
From: RB <7775707+nitrocode@users.noreply.github.com>
Date: Fri, 25 Oct 2024 10:48:07 -0500
Subject: [PATCH 2/3] docs: add an anchor for native env vars (#5023)
---
runatlantis.io/docs/custom-workflows.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runatlantis.io/docs/custom-workflows.md b/runatlantis.io/docs/custom-workflows.md
index 33d7757ef1..f2edd827ae 100644
--- a/runatlantis.io/docs/custom-workflows.md
+++ b/runatlantis.io/docs/custom-workflows.md
@@ -608,7 +608,7 @@ Full
| run.command | string | none | yes | Shell command to run |
| run.output | string | "show" | no | How to post-process the output of this command when posted in the PR comment. The options are
*`show` - preserve the full output
* `hide` - hide output from comment (still visible in the real-time streaming output)
* `strip_refreshing` - hide all output up until and including the last line containing "Refreshing...". This matches the behavior of the built-in `plan` command |
-::: tip Notes
+#### Native Environment Variables
* `run` steps in the main `workflow` are executed with the following environment variables:
note: these variables are not available to `pre` or `post` workflows
From 50ace7de5c5ff23ebaffb8356ab02afc47b8f8c7 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 2 Nov 2024 15:14:55 +0000
Subject: [PATCH 3/3] fix(deps): update module github.com/google/go-github/v63
to v65 in go.mod (main) (#4968)
Signed-off-by: X-Guardian
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: X-Guardian
---
e2e/github.go | 2 +-
e2e/go.mod | 2 +-
e2e/go.sum | 4 ++--
go.mod | 2 +-
go.sum | 4 ++--
server/controllers/events/events_controller.go | 2 +-
server/controllers/events/events_controller_e2e_test.go | 2 +-
server/controllers/events/events_controller_test.go | 2 +-
server/controllers/events/github_request_validator.go | 2 +-
server/events/apply_command_runner_test.go | 2 +-
server/events/command_runner.go | 2 +-
server/events/command_runner_test.go | 2 +-
server/events/event_parser.go | 2 +-
server/events/event_parser_test.go | 2 +-
server/events/mocks/mock_event_parsing.go | 2 +-
server/events/mocks/mock_github_pull_getter.go | 2 +-
server/events/plan_command_runner_test.go | 2 +-
server/events/vcs/github_client.go | 2 +-
server/events/vcs/github_credentials.go | 2 +-
server/events/vcs/instrumented_client.go | 2 +-
server/events/vcs/mocks/mock_github_pull_request_getter.go | 2 +-
server/events/vcs/testdata/fixtures.go | 2 +-
testdrive/github.go | 2 +-
testdrive/testdrive.go | 2 +-
24 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/e2e/github.go b/e2e/github.go
index 0ffe087dc1..dd70421e84 100644
--- a/e2e/github.go
+++ b/e2e/github.go
@@ -21,7 +21,7 @@ import (
"os/exec"
"strings"
- "github.com/google/go-github/v63/github"
+ "github.com/google/go-github/v65/github"
)
type GithubClient struct {
diff --git a/e2e/go.mod b/e2e/go.mod
index 6afa1c6d32..cccf3f4471 100644
--- a/e2e/go.mod
+++ b/e2e/go.mod
@@ -3,7 +3,7 @@ module github.com/runatlantis/atlantis/e2e
go 1.23.0
require (
- github.com/google/go-github/v63 v63.0.0
+ github.com/google/go-github/v65 v65.0.0
github.com/hashicorp/go-multierror v1.1.1
github.com/xanzy/go-gitlab v0.111.0
)
diff --git a/e2e/go.sum b/e2e/go.sum
index 4693aabf12..42fc2c0195 100644
--- a/e2e/go.sum
+++ b/e2e/go.sum
@@ -10,8 +10,8 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.5.5/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/v63 v63.0.0 h1:13xwK/wk9alSokujB9lJkuzdmQuVn2QCPeck76wR3nE=
-github.com/google/go-github/v63 v63.0.0/go.mod h1:IqbcrgUmIcEaioWrGYei/09o+ge5vhffGOcxrO0AfmA=
+github.com/google/go-github/v65 v65.0.0 h1:pQ7BmO3DZivvFk92geC0jB0q2m3gyn8vnYPgV7GSLhQ=
+github.com/google/go-github/v65 v65.0.0/go.mod h1:DvrqWo5hvsdhJvHd4WyVF9ttANN3BniqjP8uTFMNb60=
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/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
diff --git a/go.mod b/go.mod
index da4fba5da4..c6f4fd40da 100644
--- a/go.mod
+++ b/go.mod
@@ -13,7 +13,7 @@ require (
github.com/go-playground/validator/v10 v10.22.1
github.com/go-test/deep v1.1.1
github.com/golang-jwt/jwt/v5 v5.2.1
- github.com/google/go-github/v63 v63.0.0
+ github.com/google/go-github/v65 v65.0.0
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
github.com/google/uuid v1.6.0
github.com/gorilla/mux v1.8.1
diff --git a/go.sum b/go.sum
index 4fedfcb557..0d0760b774 100644
--- a/go.sum
+++ b/go.sum
@@ -216,8 +216,8 @@ 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/v62 v62.0.0 h1:/6mGCaRywZz9MuHyw9gD1CwsbmBX8GWsbFkwMmHdhl4=
github.com/google/go-github/v62 v62.0.0/go.mod h1:EMxeUqGJq2xRu9DYBMwel/mr7kZrzUOfQmmpYrZn2a4=
-github.com/google/go-github/v63 v63.0.0 h1:13xwK/wk9alSokujB9lJkuzdmQuVn2QCPeck76wR3nE=
-github.com/google/go-github/v63 v63.0.0/go.mod h1:IqbcrgUmIcEaioWrGYei/09o+ge5vhffGOcxrO0AfmA=
+github.com/google/go-github/v65 v65.0.0 h1:pQ7BmO3DZivvFk92geC0jB0q2m3gyn8vnYPgV7GSLhQ=
+github.com/google/go-github/v65 v65.0.0/go.mod h1:DvrqWo5hvsdhJvHd4WyVF9ttANN3BniqjP8uTFMNb60=
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
diff --git a/server/controllers/events/events_controller.go b/server/controllers/events/events_controller.go
index 9cc71e632d..b2687182ff 100644
--- a/server/controllers/events/events_controller.go
+++ b/server/controllers/events/events_controller.go
@@ -20,7 +20,7 @@ import (
"net/http"
"strings"
- "github.com/google/go-github/v63/github"
+ "github.com/google/go-github/v65/github"
"github.com/mcdafydd/go-azuredevops/azuredevops"
"github.com/microcosm-cc/bluemonday"
"github.com/pkg/errors"
diff --git a/server/controllers/events/events_controller_e2e_test.go b/server/controllers/events/events_controller_e2e_test.go
index 68e517709c..7a80b13b07 100644
--- a/server/controllers/events/events_controller_e2e_test.go
+++ b/server/controllers/events/events_controller_e2e_test.go
@@ -13,7 +13,7 @@ import (
"strings"
"testing"
- "github.com/google/go-github/v63/github"
+ "github.com/google/go-github/v65/github"
"github.com/hashicorp/go-version"
. "github.com/petergtz/pegomock/v4"
diff --git a/server/controllers/events/events_controller_test.go b/server/controllers/events/events_controller_test.go
index 7ba1c7e295..bbf008cafb 100644
--- a/server/controllers/events/events_controller_test.go
+++ b/server/controllers/events/events_controller_test.go
@@ -25,7 +25,7 @@ import (
"strings"
"testing"
- "github.com/google/go-github/v63/github"
+ "github.com/google/go-github/v65/github"
"github.com/mcdafydd/go-azuredevops/azuredevops"
. "github.com/petergtz/pegomock/v4"
events_controllers "github.com/runatlantis/atlantis/server/controllers/events"
diff --git a/server/controllers/events/github_request_validator.go b/server/controllers/events/github_request_validator.go
index d813cc83db..30d9512b12 100644
--- a/server/controllers/events/github_request_validator.go
+++ b/server/controllers/events/github_request_validator.go
@@ -19,7 +19,7 @@ import (
"io"
"net/http"
- "github.com/google/go-github/v63/github"
+ "github.com/google/go-github/v65/github"
)
//go:generate pegomock generate --package mocks -o mocks/mock_github_request_validator.go GithubRequestValidator
diff --git a/server/events/apply_command_runner_test.go b/server/events/apply_command_runner_test.go
index 2b56902951..2258c3d413 100644
--- a/server/events/apply_command_runner_test.go
+++ b/server/events/apply_command_runner_test.go
@@ -4,7 +4,7 @@ import (
"errors"
"testing"
- "github.com/google/go-github/v63/github"
+ "github.com/google/go-github/v65/github"
. "github.com/petergtz/pegomock/v4"
"github.com/runatlantis/atlantis/server/core/db"
"github.com/runatlantis/atlantis/server/core/locking"
diff --git a/server/events/command_runner.go b/server/events/command_runner.go
index 574c3383fa..a56ecf67c2 100644
--- a/server/events/command_runner.go
+++ b/server/events/command_runner.go
@@ -17,7 +17,7 @@ import (
"fmt"
"strconv"
- "github.com/google/go-github/v63/github"
+ "github.com/google/go-github/v65/github"
"github.com/mcdafydd/go-azuredevops/azuredevops"
"github.com/pkg/errors"
"github.com/runatlantis/atlantis/server/core/config/valid"
diff --git a/server/events/command_runner_test.go b/server/events/command_runner_test.go
index 07026b6837..c4d41b441a 100644
--- a/server/events/command_runner_test.go
+++ b/server/events/command_runner_test.go
@@ -27,7 +27,7 @@ import (
"github.com/runatlantis/atlantis/server/logging"
"github.com/runatlantis/atlantis/server/metrics"
- "github.com/google/go-github/v63/github"
+ "github.com/google/go-github/v65/github"
. "github.com/petergtz/pegomock/v4"
lockingmocks "github.com/runatlantis/atlantis/server/core/locking/mocks"
"github.com/runatlantis/atlantis/server/events"
diff --git a/server/events/event_parser.go b/server/events/event_parser.go
index e2283d4d3a..62dd634a18 100644
--- a/server/events/event_parser.go
+++ b/server/events/event_parser.go
@@ -23,7 +23,7 @@ import (
giteasdk "code.gitea.io/sdk/gitea"
"github.com/go-playground/validator/v10"
- "github.com/google/go-github/v63/github"
+ "github.com/google/go-github/v65/github"
lru "github.com/hashicorp/golang-lru/v2"
"github.com/mcdafydd/go-azuredevops/azuredevops"
"github.com/pkg/errors"
diff --git a/server/events/event_parser_test.go b/server/events/event_parser_test.go
index a136a3ab8b..3b7b206a7d 100644
--- a/server/events/event_parser_test.go
+++ b/server/events/event_parser_test.go
@@ -21,7 +21,7 @@ import (
"strings"
"testing"
- "github.com/google/go-github/v63/github"
+ "github.com/google/go-github/v65/github"
"github.com/mcdafydd/go-azuredevops/azuredevops"
"github.com/mohae/deepcopy"
"github.com/runatlantis/atlantis/server/events"
diff --git a/server/events/mocks/mock_event_parsing.go b/server/events/mocks/mock_event_parsing.go
index e51132c89a..ca816e9a97 100644
--- a/server/events/mocks/mock_event_parsing.go
+++ b/server/events/mocks/mock_event_parsing.go
@@ -5,7 +5,7 @@ package mocks
import (
gitea "code.gitea.io/sdk/gitea"
- github "github.com/google/go-github/v63/github"
+ github "github.com/google/go-github/v65/github"
azuredevops "github.com/mcdafydd/go-azuredevops/azuredevops"
pegomock "github.com/petergtz/pegomock/v4"
models "github.com/runatlantis/atlantis/server/events/models"
diff --git a/server/events/mocks/mock_github_pull_getter.go b/server/events/mocks/mock_github_pull_getter.go
index 163d66473b..7127f5cd9b 100644
--- a/server/events/mocks/mock_github_pull_getter.go
+++ b/server/events/mocks/mock_github_pull_getter.go
@@ -4,7 +4,7 @@
package mocks
import (
- github "github.com/google/go-github/v63/github"
+ github "github.com/google/go-github/v65/github"
pegomock "github.com/petergtz/pegomock/v4"
models "github.com/runatlantis/atlantis/server/events/models"
logging "github.com/runatlantis/atlantis/server/logging"
diff --git a/server/events/plan_command_runner_test.go b/server/events/plan_command_runner_test.go
index 18ddb06ef7..6944c28776 100644
--- a/server/events/plan_command_runner_test.go
+++ b/server/events/plan_command_runner_test.go
@@ -4,7 +4,7 @@ import (
"errors"
"testing"
- "github.com/google/go-github/v63/github"
+ "github.com/google/go-github/v65/github"
. "github.com/petergtz/pegomock/v4"
"github.com/runatlantis/atlantis/server/core/db"
"github.com/runatlantis/atlantis/server/events"
diff --git a/server/events/vcs/github_client.go b/server/events/vcs/github_client.go
index 86a7bfd48f..ddc0ff1e1b 100644
--- a/server/events/vcs/github_client.go
+++ b/server/events/vcs/github_client.go
@@ -22,7 +22,7 @@ import (
"strings"
"time"
- "github.com/google/go-github/v63/github"
+ "github.com/google/go-github/v65/github"
"github.com/pkg/errors"
"github.com/runatlantis/atlantis/server/events/command"
"github.com/runatlantis/atlantis/server/events/models"
diff --git a/server/events/vcs/github_credentials.go b/server/events/vcs/github_credentials.go
index becebee086..b00ec146a5 100644
--- a/server/events/vcs/github_credentials.go
+++ b/server/events/vcs/github_credentials.go
@@ -8,7 +8,7 @@ import (
"strings"
"github.com/bradleyfalzon/ghinstallation/v2"
- "github.com/google/go-github/v63/github"
+ "github.com/google/go-github/v65/github"
"github.com/pkg/errors"
)
diff --git a/server/events/vcs/instrumented_client.go b/server/events/vcs/instrumented_client.go
index 54e977e595..942a4823e1 100644
--- a/server/events/vcs/instrumented_client.go
+++ b/server/events/vcs/instrumented_client.go
@@ -3,7 +3,7 @@ package vcs
import (
"strconv"
- "github.com/google/go-github/v63/github"
+ "github.com/google/go-github/v65/github"
"github.com/runatlantis/atlantis/server/events/models"
"github.com/runatlantis/atlantis/server/logging"
"github.com/runatlantis/atlantis/server/metrics"
diff --git a/server/events/vcs/mocks/mock_github_pull_request_getter.go b/server/events/vcs/mocks/mock_github_pull_request_getter.go
index d08efee394..995281b4c5 100644
--- a/server/events/vcs/mocks/mock_github_pull_request_getter.go
+++ b/server/events/vcs/mocks/mock_github_pull_request_getter.go
@@ -4,7 +4,7 @@
package mocks
import (
- github "github.com/google/go-github/v63/github"
+ github "github.com/google/go-github/v65/github"
pegomock "github.com/petergtz/pegomock/v4"
models "github.com/runatlantis/atlantis/server/events/models"
logging "github.com/runatlantis/atlantis/server/logging"
diff --git a/server/events/vcs/testdata/fixtures.go b/server/events/vcs/testdata/fixtures.go
index 398801de77..d637c3b5dd 100644
--- a/server/events/vcs/testdata/fixtures.go
+++ b/server/events/vcs/testdata/fixtures.go
@@ -22,7 +22,7 @@ import (
"testing"
"github.com/golang-jwt/jwt/v5"
- "github.com/google/go-github/v63/github"
+ "github.com/google/go-github/v65/github"
"github.com/mcdafydd/go-azuredevops/azuredevops"
)
diff --git a/testdrive/github.go b/testdrive/github.go
index e00402e18e..91b961d5ae 100644
--- a/testdrive/github.go
+++ b/testdrive/github.go
@@ -18,7 +18,7 @@ import (
"strings"
"time"
- "github.com/google/go-github/v63/github"
+ "github.com/google/go-github/v65/github"
)
var githubUsername string
diff --git a/testdrive/testdrive.go b/testdrive/testdrive.go
index 951c12cd99..a8bdf7a408 100644
--- a/testdrive/testdrive.go
+++ b/testdrive/testdrive.go
@@ -31,7 +31,7 @@ import (
"time"
"github.com/briandowns/spinner"
- "github.com/google/go-github/v63/github"
+ "github.com/google/go-github/v65/github"
"github.com/mitchellh/colorstring"
"github.com/pkg/errors"
)