Replace master with main branch (#11629)
Motivation: We should not use master as branch name, better to switch to main Modifications: Replace master branch name with main Result: Use main as replacement for master
This commit is contained in:
parent
d7580b526a
commit
73d2492269
2
.github/workflows/ci-build.yml
vendored
2
.github/workflows/ci-build.yml
vendored
@ -17,7 +17,7 @@ name: Build project
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "master"]
|
branches: [ "main"]
|
||||||
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '30 1 * * 1' # At 01:30 on Monday, every Monday.
|
- cron: '30 1 * * 1' # At 01:30 on Monday, every Monday.
|
||||||
|
2
.github/workflows/ci-deploy.yml
vendored
2
.github/workflows/ci-deploy.yml
vendored
@ -17,7 +17,7 @@ name: Deploy project
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "master" ]
|
branches: [ "main" ]
|
||||||
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '30 1 * * 1' # At 01:30 on Monday, every Monday.
|
- cron: '30 1 * * 1' # At 01:30 on Monday, every Monday.
|
||||||
|
2
.github/workflows/ci-pr.yml
vendored
2
.github/workflows/ci-pr.yml
vendored
@ -17,7 +17,7 @@ name: Build PR
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "master"]
|
branches: [ "main"]
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
6
.github/workflows/ci-release.yml
vendored
6
.github/workflows/ci-release.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: master
|
ref: main
|
||||||
|
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
@ -166,7 +166,7 @@ jobs:
|
|||||||
working-directory: ./prepare-release-workspace/
|
working-directory: ./prepare-release-workspace/
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
# Rollback the release in case of an failure
|
# Rollback the release in case of an failure
|
||||||
run: bash ./.github/scripts/release_rollback.sh release.properties netty/netty master
|
run: bash ./.github/scripts/release_rollback.sh release.properties netty/netty main
|
||||||
|
|
||||||
deploy-staged-release:
|
deploy-staged-release:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
@ -246,4 +246,4 @@ jobs:
|
|||||||
working-directory: ./prepare-release-workspace/
|
working-directory: ./prepare-release-workspace/
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
# Rollback the release in case of an failure
|
# Rollback the release in case of an failure
|
||||||
run: bash ./.github/scripts/release_rollback.sh release.properties netty/netty master
|
run: bash ./.github/scripts/release_rollback.sh release.properties netty/netty main
|
||||||
|
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
@ -22,10 +22,10 @@ name: "CodeQL"
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["4.1", master]
|
branches: ["4.1", main]
|
||||||
pull_request:
|
pull_request:
|
||||||
# The branches below must be a subset of the branches above
|
# The branches below must be a subset of the branches above
|
||||||
branches: ["4.1", master]
|
branches: ["4.1", main]
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 13 * * 3'
|
- cron: '0 13 * * 3'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user