renovate[bot]
b3b3f5ab43
fix(deps): update module github.com/google/go-github/v68 to v71 in go.mod (main) ( #5522 )
...
Signed-off-by: RB <7775707+nitrocode@users.noreply.github.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: RB <7775707+nitrocode@users.noreply.github.com >
2025-04-11 01:52:03 -05:00
Moritz Weichert
7b40007c37
feat: Enable discard-approval-on-plan for gitlab ( #5388 )
2025-03-10 22:08:22 +00:00
Simon Heather
16a9f10c5e
chore: Add Close Calls to BoltDB Tests to fix Windows Test Errors ( #5289 )
...
Signed-off-by: X-Guardian <32168619+X-Guardian@users.noreply.github.com >
2025-02-04 20:02:26 +00:00
Simon Heather
be06063668
fix: Pre Workflow Hook VCS Combined Status Check Set to Pending Twice ( #5242 )
...
Signed-off-by: X-Guardian <32168619+X-Guardian@users.noreply.github.com >
2025-02-01 19:12:54 +00:00
Pierre Guinoiseau
90b1b13b71
feat: Add support for GitLab groups ( #4001 )
...
Signed-off-by: Pierre Guinoiseau <pierre@guinoiseau.nz >
2025-01-25 18:39:37 +00:00
Joe Cai
7fa50b4869
feat: hide successful policy check results when --quiet-policy-checks is set with multiple projects ( #5168 )
...
Signed-off-by: Joe Cai <joe.cai@bigcommerce.com >
2025-01-17 13:15:44 +00:00
renovate[bot]
d473fe0092
fix(deps): update module github.com/google/go-github/v66 to v68 in go.mod (main) ( #5209 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rui Chen <rui@chenrui.dev >
2024-12-31 18:45:20 +00:00
renovate[bot]
fca4be1820
fix(deps): update module github.com/google/go-github/v65 to v66 in go.mod (main) ( #5086 )
...
Signed-off-by: X-Guardian <simonheather99@gmail.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: X-Guardian <simonheather99@gmail.com >
2024-11-16 14:25:31 +00:00
bakayolo
841f7b4277
feat: add ignore-vcs-status-names (github only) ( #4978 )
...
Signed-off-by: bakayolo <benjamin.apprederisse@gmail.com >
2024-11-04 22:04:13 +00:00
renovate[bot]
50ace7de5c
fix(deps): update module github.com/google/go-github/v63 to v65 in go.mod (main) ( #4968 )
...
Signed-off-by: X-Guardian <simonheather99@gmail.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: X-Guardian <simonheather99@gmail.com >
2024-11-02 15:14:55 +00:00
nitrocode
1c1c50556f
chore(deps): upgrade go-github 63.x ( #4943 )
...
Signed-off-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 12:36:24 -05:00
Nick King
9a0c648748
feat: add ability to delegate authorization to external sources ( #4864 )
2024-09-03 15:39:04 -07:00
Simon Heather
b221fdc0af
feat: Refine the logging in the Working Dir Package ( #4294 )
...
Co-authored-by: Dylan Page <dylan.page@autodesk.com >
2024-03-27 16:20:45 +00:00
renovate[bot]
6884238cd1
fix(deps): update module github.com/google/go-github/v58 to v59 in go.mod (main) ( #4241 )
...
* fix(deps): update module github.com/google/go-github/v58 to v59 in go.mod
* Update fixtures.go
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2024-02-27 23:47:57 -06:00
Simon Heather
67b5740053
feat: Refine The Atlantis VCS Logging Configuration ( #4285 )
...
* Refine VCS Logging
* Remove github/gitlab client logger
* Remove fmtLogSrc from instrumented_client and format
* Add staticcheck lint exception for NewGitHubClient
* Fix tests
2024-02-26 13:07:41 -05:00
renovate[bot]
ef766d2ec1
fix(deps): update module github.com/google/go-github/v57 to v58 in go.mod (main) ( #4138 )
...
* fix(deps): update module github.com/google/go-github/v57 to v58 in go.mod
* Update remaining go-github to v58
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Luke Massa <lmassa@tripadvisor.com >
2024-01-19 10:30:38 -05:00
Finn Arne Gangstad
4d278ca6b4
refactor: regen mocks, use existing VerifyWasCalled(Never()) ( #3863 )
2023-12-11 21:35:13 -05:00
renovate[bot]
d93f85a0c3
fix(deps): update module github.com/google/go-github/v54 to v57 in go.mod (main) ( #4032 )
...
* fix(deps): update module github.com/google/go-github/v54 to v57 in go.mod
* fix(deps): go-github v57 in server/events/vcs/testdata/fixtures.go
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2023-12-12 00:21:42 +00:00
Henry Muru Paenga
ce2b99223a
fix: Check user permissions on autoplan ( #3742 )
...
* Check user permissions on autoplan
---------
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2023-11-14 22:21:11 -08:00
Koen van Zuijlen
786e57c1d6
feat: Added disable-unlock-label config option ( #3799 )
...
* Added disable-unlock-label config option
* Fixed tests
* Wrote tests + fixed mistakes
* Added docs
* added defaults to docs
---------
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2023-10-10 11:02:26 -04:00
Ghais Zaher
80ecc38273
feat: disable autoplan label ( #3649 )
...
* feat: disable autoplan label
* documentation
* revert unrelated change
* fix property
* gitlab and github
* dd more test
* small fixes
* add tests for github and gitlab clients
* fix: remove unrelated comments
* fmt
---------
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2023-09-25 13:43:35 -04:00
Luke Massa
70c9f17007
Revert "fix(deps): update module github.com/google/go-github/v54 to v55 in go.mod ( #3743 )" ( #3748 )
...
This reverts commit 3a2a244272 .
2023-09-06 21:15:56 -07:00
renovate[bot]
3a2a244272
fix(deps): update module github.com/google/go-github/v54 to v55 in go.mod ( #3743 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-06 21:12:07 +00:00
Simon Heather
dc644937cf
feat: Add A Server Config Flag to Enable Failure on Pre Workflow Hook Errors ( #3729 )
...
* FailOnPreWorkflowHookError
* Fix linting issues
2023-09-01 10:17:10 -07:00
renovate[bot]
55e24fbbf5
fix(deps): update module github.com/google/go-github/v53 to v54 in go.mod ( #3676 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-17 00:41:13 +00:00
Ross Strickland
1c232b5f90
fix: broken automerge logic ( #3591 )
...
* fix automerge logic.
* address failing autoplan test with automerge
2023-07-10 13:23:16 -04:00
Ken Kaizu
3954955e13
fix(deps): update module github.com/petergtz/pegomock/v3 to v4 ( #3534 )
...
* fix(deps): update module github.com/petergtz/pegomock/v3 to v4 in go.mod
* remove pegomock generate m option, which is not support after v4
* make regen-mocks
* replace pegomock v4 primitive eq/matchers
* convert pegomock v4 Eq/Any matchers
* remove custom models.Repo matcher
* pegomock v4 cannot use result method args
ref https://github.com/petergtz/pegomock/issues/123
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-20 15:05:23 -04:00
nitrocode
e505817a7d
chore(deps): bump pegomock v3.0.1 ( #3515 )
2023-06-13 11:36:09 -07:00
renovate[bot]
1d91dfb083
fix(deps): update module github.com/google/go-github/v52 to v53 in go.mod ( #3495 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-07 03:41:38 +00:00
renovate[bot]
cc2d0c16e3
fix(deps): update module github.com/google/go-github/v51 to v52 in go.mod ( #3346 )
...
* fix(deps): update module github.com/google/go-github/v51 to v52 in go.mod
* Update fixtures.go
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2023-04-30 03:07:33 +00:00
Ross Strickland
684f2fa7e0
feat(policies): Add granular policy_sets ( #3086 )
...
* Initial work.
* Periodic push.
* Fmt and start adding args to approve_policies cmd.
* keep funcs for now.
* Periodic push.
* Periodic push.
* fmt.
* Move approve policies logic to project_command_runner.
* update some tests
* More test fixes.
* update more tests. fix som logic.
* more tests. add additional info to common data for custom templates.
* fix apply with policies bug. update more tests/fmt
* file perms
* fix error parsing for conftest results.
* Update more tests and linting.
* update documentation.
* Address no-fail case. Address comments.
* Forgot changes.
* fix markdown renderer
* Fix policy fail logic. remove uneeded tmpl var
* targeted policy approvals fix
* Address PR comments.
* empty commit to trigger build
---------
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
Co-authored-by: rkstrickland <ross.strickland@instacart.com >
Co-authored-by: Dylan Page <dylan.page@autodesk.com >
2023-04-20 21:53:46 -04:00
renovate[bot]
763f017169
fix(deps): update module github.com/google/go-github/v50 to v51 in go.mod ( #3316 )
...
* fix(deps): update module github.com/google/go-github/v50 to v51 in go.mod
* Update fixtures.go
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2023-04-11 00:36:40 -05:00
Jonathan Wiemers
8b90c8b0da
feat: Rotate Github App Token outside of Atlantis commands ( #3208 )
...
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2023-03-23 00:49:23 +00:00
Andrei Vydrin
f7f35ceb29
feat: add hide-unchanged-plan-comments option ( #3158 )
...
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2023-02-25 15:50:33 -06:00
Ken Kaizu
acc8ef6abc
fix(deps): update module github.com/google/go-github/v49 to v50 ( #3074 )
2023-01-30 22:25:56 -06:00
Adam Zahumenský
953de00f80
feat: --silence-no-projects to comments with -d and -p ( #2969 )
...
* Expand --silence-no-projects to targeted commands
* Cover other commands, test+docs
* Add more tests, refactor doc
* fix tests
* fix dangling pending VCS statuses
* fix: codeql yaml
* fix: lint
2023-01-24 08:26:24 -06:00
Luke Young
5d47eeb63b
feat: add plan_requirements capability ( #2979 )
...
* Add plan_requirements
* Pass pull request fetcher down to plan runner
* Adding tests
* Replace sliceContainsF with slice.Contains
* Remove policy check for plan
Co-authored-by: Casey Miller <camiller@confluent.io >
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
Co-authored-by: Casey Miller <47993553+camillsir@users.noreply.github.com >
2023-01-21 00:20:04 -06:00
Ken Kaizu
da48fb515d
chore(test): add no test dir tests, rename testdata dir ( #2986 )
...
* add web_templates render tests
* add ansic strip tests
* move fixtures into testdata dir which is golang specific test dir name
* add server/metrics tests
* add recovery test
* add runtime stats test
2023-01-15 23:14:23 -06:00
Ken Kaizu
6f28b6a8e4
fix: trim space markdown renderer ( #2947 )
...
* chore: trim space rendered templates
* regen e2e results
* revert parallel output substring check test case
* follow master branch
* follow main branch
* Update approve_policies_command_runner_test.go
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2023-01-10 23:48:20 -06:00
Johannes Würbach
48b342f9f1
feat: allow to unlock closed PRs ( #2916 )
2023-01-10 16:58:02 -06:00
Darren Worrall
7746655eb1
Support team owners for policies ( #2953 )
2023-01-10 16:53:05 -06:00
Ken Kaizu
ca507560f4
fix: set ctx.PullRequestStatus in import_command_runner for import_requirements ( #2936 )
...
* refactor: pull_status_fetcher contains vcsStatusName in struct / reduce FetchPullStatus parameter
* import_command_runner need to set ctx.PullRequestStatus for import_requirements
2023-01-08 10:22:33 -05:00
Ken Kaizu
46bf0466c0
fix: markdown renderer use ExecutableName instead atlantis ( #2939 )
...
* make MarkdownRenderer private
* ExecutableName is available on markdown renderer common data
* replace template atlantis name with .ExecutableName
* MarkdownRenderer fields can be private, but itself needs public
* reuse commonData anywhere in renderer
* revert
2023-01-06 16:20:14 -06:00
renovate[bot]
fbdd0c729a
fix(deps): update module github.com/google/go-github/v48 to v49 ( #2928 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 00:22:37 -05:00
Sebastian Poxhofer
a508bdb255
fix(discardApprovalOnPlan): add missing conditional and tests ( #2913 )
...
* fix(discardApprovalOnPlan): add missing conditional and tests
* tests(discardApprovalOnPlan): match for any Pull request or repo for turned off discarding
* Apply suggestions from code review
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update server/events/plan_command_runner.go
* Update server/events/plan_command_runner.go
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2023-01-03 10:21:37 -06:00
Ken Kaizu
27b9897517
chore(build): rm pegomock experimental feature for smooth mock generation ( #2886 )
...
* disable pegomock --use-experimental-model-gen, cause random fail by segv
* make regen-mocks
* fix mock code which uses non experimental pegomock codes
2022-12-27 19:58:15 -06:00
Ken Kaizu
4e0d4ecc40
feat: atlantis import ( #2783 )
...
* feat: atlantis import
* feat: atlantis import
* regenerate mock comment builder
* remove duplicate err check
* instrumented import command runner/builder
* atlantis import subcommand accept args before hyphen
* fix link checker
* docs: review feedback
* fix atlantis import options order
* Update runatlantis.io/docs/using-atlantis.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/using-atlantis.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/using-atlantis.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/using-atlantis.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/using-atlantis.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update server/events/comment_parser.go
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update server/events/comment_parser.go
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/server-side-repo-config.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update runatlantis.io/docs/command-requirements.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update server/events/command_requirement_handler.go
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* Update server/events/command_requirement_handler_test.go
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
* fix test import usage
* fix e2e expected txt
* fix doc link
* docs: workflow import stage/step
* docs fixup
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2022-12-22 18:37:29 -06:00
nitrocode
b94575ac88
Use go-github v48 ( #2839 )
2022-12-20 10:38:21 -06:00
FBLGit
f8b1ea9b88
Detect terraform versions using >= and ~> specifiers ( #1776 )
...
* Refactor TFVersion from Dir with tfswitch lib
* Added tests and cleaned up code
* linted fmtd
* fixed conflict go.mod
* bumped to tf1.0.6
* bumped go.mod
* Update project_command_context_builder.go
* Bump warrensbox/terraform-switcher
* Fix tests
* rm redundant mocks library import
Co-authored-by: xmurias <xmurias@gmail.com >
Co-authored-by: Xavier <77047592+xavipanda@users.noreply.github.com >
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2022-11-20 21:27:17 -06:00
Eng Zer Jun
49c5eba458
test: use T.TempDir to create temporary test directory ( #2671 )
...
This commit replaces `os.MkdirTemp` with `t.TempDir` in tests. The
directory created by `t.TempDir` is automatically removed when the test
and all its subtests complete.
Prior to this commit, temporary directory created using `os.MkdirTemp`
needs to be removed manually by calling `os.RemoveAll`, which is omitted
in some tests. The error handling boilerplate e.g.
defer func() {
if err := os.RemoveAll(dir); err != nil {
t.Fatal(err)
}
}
is also tedious, but `t.TempDir` handles this for us nicely.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2022-11-13 14:13:29 -06:00