git: Rename master branch to main

This commit is contained in:
Carlos Álvaro
2021-01-17 20:04:16 +01:00
parent 9c1e3a6220
commit 02666d7e43
3 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ name: Build and test Docker image
on:
pull_request:
branches:
- master
- main
paths-ignore:
- './**/*.md'
- 'LICENSE'

View File

@@ -3,7 +3,7 @@ name: Lint Code
on:
pull_request:
branches:
- master
- main
jobs:
lint:
@@ -21,5 +21,5 @@ jobs:
VALIDATE_ALL_CODEBASE: false
VALIDATE_DOCKERFILE_HADOLINT: true
VALIDATE_BASH: true
DEFAULT_BRANCH: master
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -3,7 +3,7 @@ name: Publish Docker image
on:
push:
branches:
- master
- main
paths-ignore:
- './**/*.md'
- 'LICENSE'