diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ca8e2386..92863b65 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,7 +6,7 @@ on: - README.md pull_request: branches: - - master + - main paths-ignore: - docs/** - README.md diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a29764cc..ed1e0e7c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,13 +13,13 @@ name: "CodeQL" on: push: - branches: [ "master" ] + branches: [ "main" ] paths-ignore: - docs/** - README.md pull_request: # The branches below must be a subset of the branches above - branches: [ "master" ] + branches: [ "main" ] paths-ignore: - docs/** - README.md diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 2189a5b8..ece7dbaf 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -4,7 +4,6 @@ on: tags: - v* branches: - - master - main paths-ignore: - docs/** diff --git a/.github/workflows/website.yaml b/.github/workflows/website.yaml index 14bea952..8de6632f 100644 --- a/.github/workflows/website.yaml +++ b/.github/workflows/website.yaml @@ -3,7 +3,7 @@ name: generate github pages on: push: branches: - - master + - main paths: - ".github/workflows/website.yaml" - "docs/**" @@ -31,7 +31,7 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v3 - if: ${{ github.ref == 'refs/heads/master' }} + if: ${{ github.ref == 'refs/heads/main' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./docs/book/book diff --git a/README.md b/README.md index 5bf55205..5ec9868e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![golangci-lint](https://github.com/Azure/kubelogin/actions/workflows/golangci-lint.yml/badge.svg)](https://github.com/Azure/kubelogin/actions/workflows/golangci-lint.yml) [![Build on Push](https://github.com/Azure/kubelogin/actions/workflows/build.yml/badge.svg)](https://github.com/Azure/kubelogin/actions/workflows/build.yml) [![Go Reference](https://pkg.go.dev/badge/github.com/Azure/kubelogin.svg)](https://pkg.go.dev/github.com/Azure/kubelogin) -[![codecov](https://codecov.io/gh/Azure/kubelogin/branch/master/graph/badge.svg?token=02PZRX59VM)](https://codecov.io/gh/Azure/kubelogin) +[![codecov](https://codecov.io/gh/Azure/kubelogin/branch/main/graph/badge.svg?token=02PZRX59VM)](https://codecov.io/gh/Azure/kubelogin) This is a [client-go credential (exec) plugin](https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins) implementing azure authentication. This plugin provides features that are not available in kubectl. It is supported on kubectl v1.11+ diff --git a/docs/book/src/topics/environments.md b/docs/book/src/topics/environments.md index 6efb849b..e1205a93 100644 --- a/docs/book/src/topics/environments.md +++ b/docs/book/src/topics/environments.md @@ -46,4 +46,4 @@ The configuration parameters of this file: } ``` -The full configuration is available in the source code at . +The full configuration is available in the source code at .