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
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
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
Takahiro Suzuki
5e0f854cea
chore: Regenerates mock files with pegomock v4.1.0 ( #5090 )
...
Signed-off-by: tkasuz <63289889+tkasuz@users.noreply.github.com >
2024-11-16 15:00:42 +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
Rui Chen
a630646b8f
chore(deps): terraform 1.8.3, opentofu 1.7.1, conftest 0.52.0 ( #4534 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
2024-05-14 10:38:50 -07: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
Simon Heather
31802675da
fix: Atlantis Does Not Consider the Plan Directory When Hiding Previous Plan Comments ( #4012 )
...
* Fix Hide Previous Plan Comments
* Update GitLab client tests
* Update GitLab client test
* Update github client test
* Add nolint: errcheck to test
* format github_client.go
2023-12-29 13:15:17 -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
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
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
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
Simon Heather
86607d8aeb
feat: Add GitLab Reaction Emojis on MR Comments ( #3456 )
...
* Add GitLab Reaction Emoji
* Update docs
* update docs
* Update event_parser_test
2023-06-12 22:27:42 -05: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
Marcus Ramberg
f8b293ada0
feat: Github reaction emojis on PR comments ( #2706 )
...
* feat: Basic implementation of github reactions on PRs
Adds eyes whenever it detects an `atlantis` command.
* feat: Make the emoji reaction configurable
* tests: Add a mocked test for EmojiReaction being called in github
* ci: Disable revive linter for stubs
2023-04-25 17:22:51 -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
Ken Kaizu
acc8ef6abc
fix(deps): update module github.com/google/go-github/v49 to v50 ( #3074 )
2023-01-30 22:25:56 -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
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
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
08e9c5a17e
feat: customize atlantis.yaml file name in server side config ( #2798 )
...
* feat: customize atlantis.yaml file name in server side config
* Update server/events/vcs/bitbucketcloud/client.go
* Update server/events/vcs/bitbucketserver/client.go
* Update server/events/vcs/not_configured_vcs_client.go
* Update server/events/vcs/azuredevops_client.go
* docs: repo_config_file multiple atlantis servers usecase example
* docs: multiple atlantis server usage which show how to call one atlantis server
* Update runatlantis.io/docs/server-side-repo-config.md
* Apply suggestions from code review
* Update runatlantis.io/docs/server-side-repo-config.md
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
2022-12-18 23:02:38 -06:00
Sebastian Poxhofer
01a9a5f5a7
feat: dismiss approvals when planning ( #2696 )
...
* feat: dismiss approvals when planning
* feat: add pagination and move query in separate method
* tests: add test for dismissing
* refactor: fix linting issue
* implement change requests
* Update cmd/server.go
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com >
Co-authored-by: PePe Amengual <jose.amengual@gmail.com >
2022-12-18 22:31:10 -06:00
Rémi Lapeyre
b409cb8470
Add the /plan and /apply endpoints ( #997 )
...
* Add the /plan and /apply endpoints
* Resolve conflicts
* Fix wrong merge
* Add missing methods for mocks
* Fix linting error
* Fix linting error
* Move api plan/apply into APIController
* Extract commond code into helper functions
* Implement GetCloneURL for GitHub
Co-authored-by: Li Lin <li.lin@hashicorp.com >
2022-07-27 11:36:49 -07:00
Michel Z. Santello
df0d58d29b
fix: vcs-status-name hardcoded in PullIsMergeable function ( #2312 )
...
* feat: add userConfig.VCSStatusName to applyCommandRunner context
* fix: use vcsstatusname from context
* chore: normalize tests
* chore: update interface mock
2022-06-16 09:26:20 -07:00
Sarvar Muminov
90e92e3a13
chore: move CommandContext and CommandResult to models ( #193 ) ( #2093 )
...
* Moved CommandContext and CommandResult to models (#193 )
* Moved CommandContext and CommandResult to models
* move from models to command
rename CommandContext -> Context
rename CommandResult -> Result
* moved command related helpers into command package
* move ProjectCommandContext and ProjectResult to command/project package
* move project command context and project result
* revert unrelated code
* move tests
* fix left over
* fix linting
* fix tests
* remove unused import
* fix project context dependencies
* fix depenedecies
* fix typo
2022-03-21 10:36:13 -07:00
Paul Erickson
bc368465a0
feat: add GitHub team allowlist configuration option ( #1694 )
...
* Add GitHub team allowlist configuration option
Co-authored-by: PePe (Jose) Amengual <jamengual@sonatype.com >
Co-authored-by: Troy Neeriemer <tneeriemer@sonatype.com >
Co-authored-by: Ted Roby <troby+github@sonatype.com >
Co-authored-by: Paul Erickson <perickson@sonatype.com >
* Check team allowlist in command runner, rather than event controller
* Remove unneeded trimming
* Test wildcard groups and commands
* Improve error logging
Co-authored-by: PePe (Jose) Amengual <jamengual@sonatype.com >
Co-authored-by: Troy Neeriemer <tneeriemer@sonatype.com >
Co-authored-by: Ted Roby <troby+github@sonatype.com >
2021-12-21 16:08:43 -08:00
Aayush Gupta
bb2c239dd9
Updating client interface and adding ApprovalStatus model ( #1827 )
2021-09-22 12:41:05 -07:00
Nish Krishnan
79309ed39c
[ORCA-559] Fix hide previous command logic ( #37 ) ( #1549 )
2021-05-03 12:47:23 -07:00
Luke Kysow
a597bbbb5a
Regen mocks with latest pegomock and update scripts ( #1524 )
...
* Update go-generate to run as a script
It was taking forever to run via the previous Makefile command. I don't
exactly know why. Perhaps because it was passing all the packages in as
multiple arguments?
Either way, this change allows it to actually run through in about 20
minutes.
* Regenerate all mocks using latest pegomock
Pegomock version v2.9.0
* Format mocks outside of regular mocks directory.
These mocks are outside of the regular directory due to an import cycle
causing us to have to have these not under a /mocks directory so they
need to be formatted since they're not excluded.
* Add back make test target
2021-04-23 09:26:35 -07:00
Istvan Tapaszto
632460b20b
Delete source branch on merge ( #1357 )
...
Co-authored-by: Tapaszto, Istvan <istvan.tapaszto@msciintegration.onmicrosoft.com >
2021-04-22 09:54:18 -07:00
Nish Krishnan
1513ee6421
Add support for fetching gh app user. ( #30 ) ( #1334 )
...
* Add support for fetching gh app user. (#30 )
* Upgrade pegomock.
* go mod vendor.
2021-01-05 15:21:31 -08:00
Nish Krishnan
9fa0c91bcb
[1193] Fix merge strategy for gh apps
2020-10-14 17:35:38 -07:00
Luke Kysow
cbe0b18c0e
Refactor --skip-clone-no-changes work.
2020-08-18 15:48:33 -07:00
Quan Hoang
54e3dc2ef0
Skip cloning PR repository in case of no projects configured in repo config file were changed
2020-08-18 15:48:05 -07:00
Chris Alexander
aa1bfc0a27
Add "plan" to continued statement
2020-07-01 10:11:33 -05:00
David McPike
4651e39fe1
Update mock_client
2020-04-22 00:08:54 -05:00
Luke Kysow
6e8b4eed16
Small refactor
2020-04-15 21:44:34 -07:00
Sam Park
3af4eb393e
Mocks
2020-01-24 22:53:54 -08:00