From dc291c2345cdb9885d7b99dff835df08bc3b15fd Mon Sep 17 00:00:00 2001 From: Chang Liu Date: Mon, 8 Feb 2021 12:47:37 -0800 Subject: [PATCH] Updating Github actions and files to use main branch. (#1023) --- .github/workflows/ci.yml | 2 +- .github/workflows/release-drafter.yml | 4 ++-- CONTRIBUTING.md | 2 +- README.md | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0cbcc8780d..5466f8ba41 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ on: - '*' push: branches: - - master + - main - opendistro-* jobs: diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 5b3b138dcb..bf6e5b0674 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -2,13 +2,13 @@ name: Release-drafter on: push: - branches: [master] + branches: [main] jobs: update_release_draft: runs-on: ubuntu-latest steps: - # Drafts the next Release notes as Pull Requests are merged into "master" + # Drafts the next Release notes as Pull Requests are merged into "main" - uses: release-drafter/release-drafter@v5 with: config-name: release-notes-drafter-config.yml diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d37b4f047d..c1119853fd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -22,7 +22,7 @@ When filing an issue, please check [existing open](../../issues), or [recently c ## Contributing via Pull Requests Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that: -1. You are working against the latest source on the *master* branch. +1. You are working against the latest source on the *main* branch. 2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already. 3. You open an issue to discuss any significant work - we would hate for your time to be wasted. diff --git a/README.md b/README.md index 5124642493..34db3ecb4a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -[![CI](https://github.com/opendistro-for-elasticsearch/security/workflows/CI/badge.svg?branch=master)](https://github.com/opendistro-for-elasticsearch/security/actions) -[![codecov](https://codecov.io/gh/opendistro-for-elasticsearch/security/branch/master/graph/badge.svg)](https://codecov.io/gh/opendistro-for-elasticsearch/security) +[![CI](https://github.com/opendistro-for-elasticsearch/security/workflows/CI/badge.svg?branch=main)](https://github.com/opendistro-for-elasticsearch/security/actions) +[![codecov](https://codecov.io/gh/opendistro-for-elasticsearch/security/branch/main/graph/badge.svg)](https://codecov.io/gh/opendistro-for-elasticsearch/security) # Open Distro for Elasticsearch Security