Răsfoiți Sursa

Rename default branch to main

Frédéric Guillot 3 ani în urmă
părinte
comite
5abf8c6798

+ 1 - 1
.github/workflows/ci.yml

@@ -4,7 +4,7 @@ permissions: read-all
 on:
   pull_request:
     branches:
-    - master
+    - main
 
 jobs:
   unit-tests:

+ 2 - 2
.github/workflows/codeql-analysis.yml

@@ -4,10 +4,10 @@ permissions: read-all
 
 on:
   push:
-    branches: [ master ]
+    branches: [ main ]
   pull_request:
     # The branches below must be a subset of the branches above
-    branches: [ master ]
+    branches: [ main ]
   schedule:
     - cron: '45 22 * * 3'
 

+ 1 - 1
.github/workflows/linters.yml

@@ -4,7 +4,7 @@ permissions: read-all
 on:
   pull_request:
     branches:
-    - master
+    - main
 
 jobs:
   jshint:

+ 1 - 1
.github/workflows/scorecards-analysis.yml

@@ -5,7 +5,7 @@ on:
   schedule:
     - cron: '31 8 * * 6'
   push:
-    branches: [ master ]
+    branches: [ main ]
 
 # Declare default permissions as read only.
 permissions: read-all