From d85662cdf16cf0205fb384f7f943867ddb72b338 Mon Sep 17 00:00:00 2001 From: nitrocode <7775707+nitrocode@users.noreply.github.com> Date: Mon, 14 Nov 2022 11:28:29 -0600 Subject: [PATCH] Rename default branch to main (#2662) * Rename default branch to main * Bump git, curl, and openssl packages --- .circleci/config.yml | 2 +- .github/ISSUE_TEMPLATE/feature_request.md | 2 +- .github/workflows/atlantis-base.yml | 2 +- .github/workflows/atlantis-image.yml | 2 +- .github/workflows/ci-link-checker-image.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 4 +- .github/workflows/testing-env-image.yml | 2 +- CHANGELOG.md | 4 +- CONTRIBUTING.md | 14 ++-- README.md | 4 +- cmd/server.go | 2 +- e2e/e2e.go | 2 +- .../.vuepress/components/HomeCustom.vue | 2 +- runatlantis.io/docs/apply-requirements.md | 4 +- runatlantis.io/docs/checkout-strategy.md | 12 +-- runatlantis.io/docs/locking.md | 4 +- runatlantis.io/docs/security.md | 2 +- runatlantis.io/guide/README.md | 2 +- .../events/events_controller_e2e_test.go | 2 +- .../events/events_controller_test.go | 2 +- .../gitlab_request_parser_validator_test.go | 22 +++--- .../bb-server-pull-deleted-event.json | 4 +- .../testfixtures/githubIssueCommentEvent.json | 4 +- ...ithubIssueCommentEvent_notAllowlisted.json | 4 +- .../githubPullRequestClosedEvent.json | 12 +-- .../githubPullRequestOpenedEvent.json | 12 +-- ...itlabMergeCommentEvent_notAllowlisted.json | 12 +-- .../gitlabMergeCommentEvent_shouldIgnore.json | 12 +-- server/core/config/valid/global_cfg_test.go | 4 +- server/core/runtime/env_step_runner_test.go | 2 +- .../core/runtime/multienv_step_runner_test.go | 2 +- .../runtime/post_workflow_hook_runner_test.go | 4 +- .../runtime/pre_workflow_hook_runner_test.go | 4 +- server/core/runtime/run_step_runner_test.go | 4 +- server/events/event_parser_test.go | 16 ++-- server/events/markdown_renderer_test.go | 4 +- .../bitbucket-cloud-comment-event.json | 2 +- .../bitbucket-cloud-pull-event-created.json | 2 +- .../bitbucket-cloud-pull-event-fulfilled.json | 2 +- .../bitbucket-cloud-pull-event-rejected.json | 2 +- .../bitbucket-cloud-pull-event-updated.json | 4 +- .../bitbucket-server-comment-event.json | 6 +- .../testdata/bitbucket-server-get-pull.json | 6 +- .../bitbucket-server-pull-event-created.json | 6 +- .../bitbucket-server-pull-event-declined.json | 4 +- .../bitbucket-server-pull-event-merged.json | 4 +- .../gitlab-get-merge-request-subgroup.json | 4 +- .../testdata/gitlab-get-merge-request.json | 4 +- ...-merge-request-comment-event-subgroup.json | 10 +-- .../gitlab-merge-request-comment-event.json | 12 +-- .../gitlab-merge-request-event-subgroup.json | 8 +- ...b-merge-request-event-update-assignee.json | 8 +- ...erge-request-event-update-description.json | 8 +- ...lab-merge-request-event-update-labels.json | 8 +- ...tlab-merge-request-event-update-mixed.json | 8 +- ...merge-request-event-update-new-commit.json | 8 +- ...ge-request-event-update-target-branch.json | 6 +- ...tlab-merge-request-event-update-title.json | 8 +- .../testdata/gitlab-merge-request-event.json | 10 +-- server/events/vcs/azuredevops_client.go | 2 +- .../testdata/pull-approved-by-author.json | 2 +- .../testdata/pull-approved-multiple.json | 2 +- .../testdata/pull-approved.json | 2 +- .../testdata/pull-unapproved.json | 2 +- .../request_validation_test.go | 2 +- .../testdata/pull-request.json | 4 +- server/events/vcs/fixtures/fixtures.go | 6 +- .../fixtures/github-commit-check-suites.json | 2 +- .../vcs/fixtures/github-pull-request.json | 8 +- server/events/vcs/fixtures/github-repo.json | 2 +- server/events/vcs/github_client_test.go | 2 +- server/events/working_dir.go | 12 +-- server/events/working_dir_test.go | 74 +++++++++---------- .../project_command_output_handler_test.go | 4 +- testdrive/testdrive.go | 2 +- testing/README.md | 4 +- 77 files changed, 234 insertions(+), 234 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1a3393c275..63c2ea4a0e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -43,7 +43,7 @@ jobs: - run: | dockerize -wait tcp://localhost:8080 -- \ muffet \ - -e 'https://github\.com/runatlantis/atlantis/edit/master/.*' \ + -e 'https://github\.com/runatlantis/atlantis/edit/main/.*' \ -e 'https://github.com/runatlantis/helm-charts#customization' \ --header 'Accept-Encoding:deflate, gzip' \ --buffer-size 8192 \ diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 647f07ffc7..6e661b9768 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -19,7 +19,7 @@ assignees: '' --- -- [ ] I'd be willing to implement this feature ([contributing guide](https://github.com/runatlantis/atlantis/blob/master/CONTRIBUTING.md)) +- [ ] I'd be willing to implement this feature ([contributing guide](https://github.com/runatlantis/atlantis/blob/main/CONTRIBUTING.md)) **Describe the user story**