Skip to content

Commit

Permalink
build: update main branch name in GH workflow
Browse files Browse the repository at this point in the history
PR-URL: #43481
Refs: #33864
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Tierney Cyren <hello@bnb.im>
  • Loading branch information
F3n67u authored and targos committed Jul 12, 2022
1 parent 9940dc3 commit 919c5ee
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 12 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-tarball.yml
Expand Up @@ -12,7 +12,6 @@ on:
- '!.github/workflows/build-tarball.yml'
push:
branches:
- master
- main
- v[0-9]+.x-staging
- v[0-9]+.x
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build-windows.yml
Expand Up @@ -9,7 +9,6 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/coverage-linux.yml
Expand Up @@ -11,7 +11,8 @@ on:
- .github/**
- '!.github/workflows/coverage-linux.yml'
push:
branches: [master, main]
branches:
- main
paths-ignore:
- '**.md'
- benchmark/**
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/coverage-windows.yml
Expand Up @@ -12,7 +12,8 @@ on:
- .github/**
- '!.github/workflows/coverage-windows.yml'
push:
branches: [master, main]
branches:
- main
paths-ignore:
- '**.md'
- benchmark/**
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/doc.yml
Expand Up @@ -5,7 +5,6 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- master
- main
- v[0-9]+.x-staging
- v[0-9]+.x
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/linters.yml
Expand Up @@ -5,7 +5,6 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- master
- main
- v[0-9]+.x-staging
- v[0-9]+.x
Expand Down Expand Up @@ -50,7 +49,7 @@ jobs:
- name: Lint C/C++ files
run: make lint-cpp
format-cpp:
if: ${{ github.event.pull_request.draft == false && github.base_ref == 'master' }}
if: ${{ github.event.pull_request && github.event.pull_request.draft == false && github.base_ref == github.event.repository.default_branch }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/notify-force-push.yml
@@ -1,7 +1,6 @@
on:
push:
branches:
- master
- main

name: Notify on Force Push
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-asan.yml
Expand Up @@ -12,7 +12,6 @@ on:
- '!.github/workflows/test-asan.yml'
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-internet.yml
Expand Up @@ -10,7 +10,6 @@ on:
paths: [test/internet/**]
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-linux.yml
Expand Up @@ -9,7 +9,6 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-macos.yml
Expand Up @@ -12,7 +12,6 @@ on:
- '!.github/workflows/test-macos.yml'
push:
branches:
- master
- main
- canary
- v[0-9]+.x-staging
Expand Down

0 comments on commit 919c5ee

Please sign in to comment.