build: update main branch name in GH workflow
PR-URL: https://github.com/nodejs/node/pull/43481 Refs: https://github.com/nodejs/node/issues/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>
This commit is contained in:
parent
d81d426f99
commit
6f924ac691
1
.github/workflows/build-tarball.yml
vendored
1
.github/workflows/build-tarball.yml
vendored
@ -12,7 +12,6 @@ on:
|
||||
- '!.github/workflows/build-tarball.yml'
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- v[0-9]+.x-staging
|
||||
- v[0-9]+.x
|
||||
|
1
.github/workflows/build-windows.yml
vendored
1
.github/workflows/build-windows.yml
vendored
@ -9,7 +9,6 @@ on:
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- canary
|
||||
- v[0-9]+.x-staging
|
||||
|
3
.github/workflows/coverage-linux.yml
vendored
3
.github/workflows/coverage-linux.yml
vendored
@ -11,7 +11,8 @@ on:
|
||||
- .github/**
|
||||
- '!.github/workflows/coverage-linux.yml'
|
||||
push:
|
||||
branches: [master, main]
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- benchmark/**
|
||||
|
3
.github/workflows/coverage-windows.yml
vendored
3
.github/workflows/coverage-windows.yml
vendored
@ -12,7 +12,8 @@ on:
|
||||
- .github/**
|
||||
- '!.github/workflows/coverage-windows.yml'
|
||||
push:
|
||||
branches: [master, main]
|
||||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- benchmark/**
|
||||
|
1
.github/workflows/doc.yml
vendored
1
.github/workflows/doc.yml
vendored
@ -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
|
||||
|
3
.github/workflows/linters.yml
vendored
3
.github/workflows/linters.yml
vendored
@ -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
|
||||
@ -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
|
||||
|
1
.github/workflows/notify-force-push.yml
vendored
1
.github/workflows/notify-force-push.yml
vendored
@ -1,7 +1,6 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
name: Notify on Force Push
|
||||
|
1
.github/workflows/test-asan.yml
vendored
1
.github/workflows/test-asan.yml
vendored
@ -12,7 +12,6 @@ on:
|
||||
- '!.github/workflows/test-asan.yml'
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- canary
|
||||
- v[0-9]+.x-staging
|
||||
|
1
.github/workflows/test-internet.yml
vendored
1
.github/workflows/test-internet.yml
vendored
@ -10,7 +10,6 @@ on:
|
||||
paths: [test/internet/**]
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- canary
|
||||
- v[0-9]+.x-staging
|
||||
|
1
.github/workflows/test-linux.yml
vendored
1
.github/workflows/test-linux.yml
vendored
@ -9,7 +9,6 @@ on:
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- canary
|
||||
- v[0-9]+.x-staging
|
||||
|
1
.github/workflows/test-macos.yml
vendored
1
.github/workflows/test-macos.yml
vendored
@ -12,7 +12,6 @@ on:
|
||||
- '!.github/workflows/test-macos.yml'
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- canary
|
||||
- v[0-9]+.x-staging
|
||||
|
Loading…
x
Reference in New Issue
Block a user