From 4f2b3c78d3138d5bc3acf4b3b0a3e4b3943749a9 Mon Sep 17 00:00:00 2001 From: uy_sun Date: Fri, 13 Sep 2024 22:26:38 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=E4=B8=BB=E5=88=86?= =?UTF-8?q?=E6=94=AF=E5=90=8D=E4=B8=BA=20main?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 2 +- .github/workflows/release-draft.yml | 2 +- .github/workflows/static.yml | 2 +- .pre-commit-config.yaml | 2 +- README.md | 2 +- pyproject.toml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cfda29ce..b9153659 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: CI on: push: - branches: [master] + branches: [main] pull_request: release: types: [published] diff --git a/.github/workflows/release-draft.yml b/.github/workflows/release-draft.yml index f6431343..19c4fa4c 100644 --- a/.github/workflows/release-draft.yml +++ b/.github/workflows/release-draft.yml @@ -2,7 +2,7 @@ name: Release Drafter on: push: - branches: [master] + branches: [main] pull_request: types: [opened, reopened, synchronize] diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 9c7bf911..51f7a1e8 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -4,7 +4,7 @@ name: Deploy static content to Pages on: # Runs on pushes targeting the default branch push: - branches: [master] + branches: [main] paths: - "public/**" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e2c46731..87329676 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ ci: autofix_commit_msg: "style: auto fix by pre-commit hooks" autofix_prs: true - autoupdate_branch: master + autoupdate_branch: main autoupdate_schedule: quarterly autoupdate_commit_msg: "chore: auto update by pre-commit hooks" repos: diff --git a/README.md b/README.md index a87d21db..003c9230 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ # CoolQBot ![CI](https://github.com/he0119/CoolQBot/workflows/CI/badge.svg) -[![codecov](https://codecov.io/gh/he0119/CoolQBot/branch/master/graph/badge.svg?token=QEC2IWAREH)](https://codecov.io/gh/he0119/CoolQBot) +[![codecov](https://codecov.io/gh/he0119/CoolQBot/branch/main/graph/badge.svg?token=QEC2IWAREH)](https://codecov.io/gh/he0119/CoolQBot) [![Powered by NoneBot](https://img.shields.io/badge/Powered%20%20by-NoneBot-red)](https://github.com/nonebot/nonebot2) diff --git a/pyproject.toml b/pyproject.toml index 6924bcac..e9c39bf0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ requires-python = ">= 3.12, < 3.13" Homepage = "https://github.com/he0119/CoolQBot" Repository = "https://github.com/he0119/CoolQBot.git" Issues = "https://github.com/he0119/CoolQBot/issues" -Changelog = "https://github.com/he0119/CoolQBot/blob/master/CHANGELOG.md" +Changelog = "https://github.com/he0119/CoolQBot/blob/main/CHANGELOG.md" [tool.uv] dev-dependencies = [