Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng Yu <F3n67u@outlook.com>2022-06-23 07:57:51 +0300
committerMichaël Zasso <targos@protonmail.com>2022-07-31 10:44:59 +0300
commit600505ee710785c58e57e3e3f164457a165b2708 (patch)
tree378478bb1358004f0abd604feae6eab0a4bbc744 /.github
parentf3e9fd7a0007911c3d36d60c741d395c306d147c (diff)
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>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-tarball.yml1
-rw-r--r--.github/workflows/build-windows.yml1
-rw-r--r--.github/workflows/coverage-linux.yml3
-rw-r--r--.github/workflows/coverage-windows.yml3
-rw-r--r--.github/workflows/doc.yml1
-rw-r--r--.github/workflows/linters.yml3
-rw-r--r--.github/workflows/notify-force-push.yml1
-rw-r--r--.github/workflows/test-asan.yml1
-rw-r--r--.github/workflows/test-internet.yml1
-rw-r--r--.github/workflows/test-linux.yml1
-rw-r--r--.github/workflows/test-macos.yml1
11 files changed, 5 insertions, 12 deletions
diff --git a/.github/workflows/build-tarball.yml b/.github/workflows/build-tarball.yml
index 8c13541fd37..52e3ac97c68 100644
--- a/.github/workflows/build-tarball.yml
+++ b/.github/workflows/build-tarball.yml
@@ -12,7 +12,6 @@ on:
- '!.github/workflows/build-tarball.yml'
push:
branches:
- - master
- main
- v[0-9]+.x-staging
- v[0-9]+.x
diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml
index d7beaee36cd..1bcb929de59 100644
--- a/.github/workflows/build-windows.yml
+++ b/.github/workflows/build-windows.yml
@@ -9,7 +9,6 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- - master
- main
- canary
- v[0-9]+.x-staging
diff --git a/.github/workflows/coverage-linux.yml b/.github/workflows/coverage-linux.yml
index 77bad80cc26..5e8115a9245 100644
--- a/.github/workflows/coverage-linux.yml
+++ b/.github/workflows/coverage-linux.yml
@@ -11,7 +11,8 @@ on:
- .github/**
- '!.github/workflows/coverage-linux.yml'
push:
- branches: [master, main]
+ branches:
+ - main
paths-ignore:
- '**.md'
- benchmark/**
diff --git a/.github/workflows/coverage-windows.yml b/.github/workflows/coverage-windows.yml
index 29e7ac689a2..287872d79f3 100644
--- a/.github/workflows/coverage-windows.yml
+++ b/.github/workflows/coverage-windows.yml
@@ -12,7 +12,8 @@ on:
- .github/**
- '!.github/workflows/coverage-windows.yml'
push:
- branches: [master, main]
+ branches:
+ - main
paths-ignore:
- '**.md'
- benchmark/**
diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml
index 1151c429678..474a8dd7eac 100644
--- a/.github/workflows/doc.yml
+++ b/.github/workflows/doc.yml
@@ -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
diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml
index 0fa57702521..c9873d188a8 100644
--- a/.github/workflows/linters.yml
+++ b/.github/workflows/linters.yml
@@ -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
diff --git a/.github/workflows/notify-force-push.yml b/.github/workflows/notify-force-push.yml
index 4f43a7d7150..32876584edb 100644
--- a/.github/workflows/notify-force-push.yml
+++ b/.github/workflows/notify-force-push.yml
@@ -1,7 +1,6 @@
on:
push:
branches:
- - master
- main
name: Notify on Force Push
diff --git a/.github/workflows/test-asan.yml b/.github/workflows/test-asan.yml
index 87cf9edf672..b345eded201 100644
--- a/.github/workflows/test-asan.yml
+++ b/.github/workflows/test-asan.yml
@@ -12,7 +12,6 @@ on:
- '!.github/workflows/test-asan.yml'
push:
branches:
- - master
- main
- canary
- v[0-9]+.x-staging
diff --git a/.github/workflows/test-internet.yml b/.github/workflows/test-internet.yml
index 8325845963e..75f508bfe01 100644
--- a/.github/workflows/test-internet.yml
+++ b/.github/workflows/test-internet.yml
@@ -10,7 +10,6 @@ on:
paths: [test/internet/**]
push:
branches:
- - master
- main
- canary
- v[0-9]+.x-staging
diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml
index 7d6f4303e92..b2fa9e0a0cb 100644
--- a/.github/workflows/test-linux.yml
+++ b/.github/workflows/test-linux.yml
@@ -9,7 +9,6 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
push:
branches:
- - master
- main
- canary
- v[0-9]+.x-staging
diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml
index 0c76a44bae9..f342dbfa0f1 100644
--- a/.github/workflows/test-macos.yml
+++ b/.github/workflows/test-macos.yml
@@ -12,7 +12,6 @@ on:
- '!.github/workflows/test-macos.yml'
push:
branches:
- - master
- main
- canary
- v[0-9]+.x-staging