Skip to content

Commit 5844fbe

Browse files
committed
chore: migrate branch references from master to main
- Update workflow and badge references from "master" branch to "main" branch in configuration and documentation Signed-off-by: appleboy <[email protected]>
1 parent 1a516c0 commit 5844fbe

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [master]
16+
branches: [main]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [master]
19+
branches: [main]
2020
schedule:
2121
- cron: "41 23 * * 6"
2222

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Run Tests
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
lint:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# gin-slog
22

3-
[![Run Tests](https://github.com/gin-contrib/slog/actions/workflows/go.yml/badge.svg?branch=master)](https://github.com/gin-contrib/slog/actions/workflows/go.yml)
4-
[![codecov](https://codecov.io/gh/gin-contrib/slog/branch/master/graph/badge.svg)](https://codecov.io/gh/gin-contrib/slog)
3+
[![Run Tests](https://github.com/gin-contrib/slog/actions/workflows/go.yml/badge.svg?branch=main)](https://github.com/gin-contrib/slog/actions/workflows/go.yml)
4+
[![codecov](https://codecov.io/gh/gin-contrib/slog/branch/main/graph/badge.svg)](https://codecov.io/gh/gin-contrib/slog)
55
[![Go Report Card](https://goreportcard.com/badge/github.com/gin-contrib/slog)](https://goreportcard.com/report/github.com/gin-contrib/slog)
66
[![GoDoc](https://pkg.go.dev/badge/github.com/gin-contrib/slog?utm_source=godoc)](https://pkg.go.dev/github.com/gin-contrib/slog)
77

0 commit comments

Comments
 (0)