Skip to content

Commit

Permalink
Default branch is now main. (#390)
Browse files Browse the repository at this point in the history
Co-authored-by: Tatsinnit <Tatsinnit@users.noreply.github.com>
  • Loading branch information
Tatsinnit and Tatsinnit authored Dec 29, 2023
1 parent 0fcd072 commit 2b43d04
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- README.md
pull_request:
branches:
- master
- main
paths-ignore:
- docs/**
- README.md
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
tags:
- v*
branches:
- master
- main
paths-ignore:
- docs/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: generate github pages
on:
push:
branches:
- master
- main
paths:
- ".github/workflows/website.yaml"
- "docs/**"
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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+

Expand Down
2 changes: 1 addition & 1 deletion docs/book/src/topics/environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ The configuration parameters of this file:
}
```

The full configuration is available in the source code at <https://github.com/Azure/go-autorest/blob/master/autorest/azure/environments.go>.
The full configuration is available in the source code at <https://github.com/Azure/go-autorest/blob/main/autorest/azure/environments.go>.

0 comments on commit 2b43d04

Please sign in to comment.