From 212aea49c9398811d0852d00dfb7d1677ba036b3 Mon Sep 17 00:00:00 2001 From: Naoto Mizuno Date: Thu, 4 Jan 2024 15:18:38 +0900 Subject: [PATCH] Fix default branch --- .github/workflows/checks.yml | 4 ++-- .github/workflows/coverage.yml | 4 ++-- .github/workflows/mac-tests.yml | 6 +++--- .github/workflows/sphinx-build.yml | 2 +- .github/workflows/tests.yml | 4 ++-- README.md | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 451c2249..85d55590 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -3,13 +3,13 @@ name: Checks on: push: branches: - - master + - main pull_request: {} schedule: - cron: '0 23 * * SUN-THU' concurrency: - group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }} + group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_number || github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index db574279..2b85eab9 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -3,11 +3,11 @@ name: Coverage on: push: branches: - - master + - main pull_request: {} concurrency: - group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }} + group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_number || github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/mac-tests.yml b/.github/workflows/mac-tests.yml index 9f07444c..28278468 100644 --- a/.github/workflows/mac-tests.yml +++ b/.github/workflows/mac-tests.yml @@ -1,4 +1,4 @@ -# Run tests and integration tests on Mac, which are triggered by each master push. +# Run tests and integration tests on Mac, which are triggered by each main push. # Currently, Python3.10 is only used as an environment. # This is mainly for the sake of speed. name: mac-tests @@ -6,7 +6,7 @@ name: mac-tests on: push: branches: - - master + - main pull_request: paths: - '.github/workflows/mac-tests.yml' @@ -15,7 +15,7 @@ on: workflow_dispatch: concurrency: - group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }} + group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_number || github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/sphinx-build.yml b/.github/workflows/sphinx-build.yml index 4d442913..1bce8c39 100644 --- a/.github/workflows/sphinx-build.yml +++ b/.github/workflows/sphinx-build.yml @@ -3,7 +3,7 @@ name: Sphinx on: push: branches: - - master + - main pull_request: {} concurrency: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b51a7547..78691e39 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,14 +3,14 @@ name: Tests on: push: branches: - - master + - main pull_request: {} schedule: - cron: '0 23 * * SUN-THU' workflow_dispatch: concurrency: - group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }} + group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_number || github.ref }} cancel-in-progress: true jobs: diff --git a/README.md b/README.md index f5bab8c3..9bdb241d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Python](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10%20%7C%203.11-blue)](https://www.python.org) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/optuna/optuna-integration) -[![Codecov](https://codecov.io/gh/optuna/optuna-integration/branch/master/graph/badge.svg)](https://codecov.io/gh/optuna/optuna-integration/branch/master) +[![Codecov](https://codecov.io/gh/optuna/optuna-integration/branch/main/graph/badge.svg)](https://codecov.io/gh/optuna/optuna-integration/branch/main) [![Read the Docs](https://readthedocs.org/projects/optuna-integration/badge/?version=stable)](https://optuna-integration.readthedocs.io/en/stable/)