git » spf » commit 5c91a7f

git: Rename stable branch to "main"

author Alberto Bertogli
2026-08-22 09:06:41 UTC
committer Alberto Bertogli
2026-08-22 09:06:41 UTC
parent 774fb1b68a08d8444e600bde83cec41e5c3a1d27

git: Rename stable branch to "main"

These days `main` is more common, and I find it more intuitive.

.github/workflows/tests.yaml +2 -2
README.md +1 -1

diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index ec8c4b6..325cd22 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: '16 21 * * 6'
 
diff --git a/README.md b/README.md
index 885fb9d..07a6902 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
 # blitiri.com.ar/go/spf
 
 [![GoDoc](https://godoc.org/blitiri.com.ar/go/spf?status.svg)](https://pkg.go.dev/blitiri.com.ar/go/spf)
-[![Tests Status](https://img.shields.io/github/checks-status/albertito/spf/master)](https://github.com/albertito/spf/actions)
+[![Tests Status](https://img.shields.io/github/checks-status/albertito/spf/main)](https://github.com/albertito/spf/actions)
 [![Coverage Status](https://coveralls.io/repos/github/albertito/spf/badge.svg?branch=next)](https://coveralls.io/github/albertito/spf)
 
 [spf](https://godoc.org/blitiri.com.ar/go/spf) is an open source