git » gofer » commit 183a333

github: Rename default branch master -> main

author Alberto Bertogli
2023-10-20 09:51:10 UTC
committer Alberto Bertogli
2023-10-20 09:51:10 UTC
parent 12018a6f128b07291c8690587afaf1a44628eb2c

github: Rename default branch master -> main

Update the github workflows to reflect the default branch renaming.

.github/workflows/govulncheck.yaml +2 -2
.github/workflows/tests.yaml +2 -2

diff --git a/.github/workflows/govulncheck.yaml b/.github/workflows/govulncheck.yaml
index 3d99728..39b7260 100644
--- a/.github/workflows/govulncheck.yaml
+++ b/.github/workflows/govulncheck.yaml
@@ -2,10 +2,10 @@ name: "govulncheck"
 
 on:
   push:
-    branches: [ "master", "next" ]
+    branches: [ "main", "next" ]
   pull_request:
     # The branches below must be a subset of the branches above
-    branches: [ "master", "next" ]
+    branches: [ "main", "next" ]
   schedule:
     - cron: '29 21 * * 6'
 
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index 7213b20..55f4f97 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -2,10 +2,10 @@ name: "tests"
 
 on:
   push:
-    branches: [ "master", "next" ]
+    branches: [ "main", "next" ]
   pull_request:
     # The branches below must be a subset of the branches above
-    branches: [ "master", "next" ]
+    branches: [ "main", "next" ]
   schedule:
     - cron: '29 21 * * 6'