Skip to content

Commit 919c5ee

Browse files
F3n67utargos
authored andcommitted
build: update main branch name in GH workflow
PR-URL: #43481 Refs: #33864 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Tierney Cyren <[email protected]>
1 parent 9940dc3 commit 919c5ee

11 files changed

+5
-12
lines changed

.github/workflows/build-tarball.yml

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ on:
1212
- '!.github/workflows/build-tarball.yml'
1313
push:
1414
branches:
15-
- master
1615
- main
1716
- v[0-9]+.x-staging
1817
- v[0-9]+.x

.github/workflows/build-windows.yml

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
types: [opened, synchronize, reopened, ready_for_review]
1010
push:
1111
branches:
12-
- master
1312
- main
1413
- canary
1514
- v[0-9]+.x-staging

.github/workflows/coverage-linux.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ on:
1111
- .github/**
1212
- '!.github/workflows/coverage-linux.yml'
1313
push:
14-
branches: [master, main]
14+
branches:
15+
- main
1516
paths-ignore:
1617
- '**.md'
1718
- benchmark/**

.github/workflows/coverage-windows.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ on:
1212
- .github/**
1313
- '!.github/workflows/coverage-windows.yml'
1414
push:
15-
branches: [master, main]
15+
branches:
16+
- main
1617
paths-ignore:
1718
- '**.md'
1819
- benchmark/**

.github/workflows/doc.yml

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
types: [opened, synchronize, reopened, ready_for_review]
66
push:
77
branches:
8-
- master
98
- main
109
- v[0-9]+.x-staging
1110
- v[0-9]+.x

.github/workflows/linters.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
types: [opened, synchronize, reopened, ready_for_review]
66
push:
77
branches:
8-
- master
98
- main
109
- v[0-9]+.x-staging
1110
- v[0-9]+.x
@@ -50,7 +49,7 @@ jobs:
5049
- name: Lint C/C++ files
5150
run: make lint-cpp
5251
format-cpp:
53-
if: ${{ github.event.pull_request.draft == false && github.base_ref == 'master' }}
52+
if: ${{ github.event.pull_request && github.event.pull_request.draft == false && github.base_ref == github.event.repository.default_branch }}
5453
runs-on: ubuntu-latest
5554
steps:
5655
- uses: actions/checkout@v3

.github/workflows/notify-force-push.yml

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
on:
22
push:
33
branches:
4-
- master
54
- main
65

76
name: Notify on Force Push

.github/workflows/test-asan.yml

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ on:
1212
- '!.github/workflows/test-asan.yml'
1313
push:
1414
branches:
15-
- master
1615
- main
1716
- canary
1817
- v[0-9]+.x-staging

.github/workflows/test-internet.yml

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010
paths: [test/internet/**]
1111
push:
1212
branches:
13-
- master
1413
- main
1514
- canary
1615
- v[0-9]+.x-staging

.github/workflows/test-linux.yml

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
types: [opened, synchronize, reopened, ready_for_review]
1010
push:
1111
branches:
12-
- master
1312
- main
1413
- canary
1514
- v[0-9]+.x-staging

.github/workflows/test-macos.yml

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ on:
1212
- '!.github/workflows/test-macos.yml'
1313
push:
1414
branches:
15-
- master
1615
- main
1716
- canary
1817
- v[0-9]+.x-staging

0 commit comments

Comments
 (0)