From 717c8518cf7c312cceb1ef24a3f0f02ab7c73380 Mon Sep 17 00:00:00 2001 From: Marco Biedermann <5244986+marcobiedermann@users.noreply.github.com.> Date: Mon, 29 Apr 2024 16:19:01 +0200 Subject: [PATCH] docs: main branch Rename `master` to `main` --- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/enforce-license-compliance.yml | 2 +- .github/workflows/scorecards-analysis.yml | 2 +- README.md | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index eb11de3..4aaf3e1 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -12,10 +12,10 @@ name: "CodeQL" on: push: - branches: [ master ] + branches: [ main ] pull_request: # The branches below must be a subset of the branches above - branches: [ master ] + branches: [ main ] schedule: - cron: '24 6 * * 5' diff --git a/.github/workflows/enforce-license-compliance.yml b/.github/workflows/enforce-license-compliance.yml index 86be741..80c04ac 100644 --- a/.github/workflows/enforce-license-compliance.yml +++ b/.github/workflows/enforce-license-compliance.yml @@ -2,7 +2,7 @@ name: Enforce License Compliance on: pull_request: - branches: [main, master] + branches: [main] jobs: enforce-license-compliance: diff --git a/.github/workflows/scorecards-analysis.yml b/.github/workflows/scorecards-analysis.yml index f7f5110..2a534a4 100644 --- a/.github/workflows/scorecards-analysis.yml +++ b/.github/workflows/scorecards-analysis.yml @@ -5,7 +5,7 @@ on: schedule: - cron: '43 20 * * 1' push: - branches: [ master ] + branches: [ main ] # Declare default permissions as read only. permissions: read-all diff --git a/README.md b/README.md index cc98375..b24b5e8 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Inside your `.github/workflows/workflow.yml` file: ```yaml steps: -- uses: actions/checkout@master +- uses: actions/checkout@main - uses: codecov/codecov-action@v4 with: fail_ci_if_error: true # optional (default = false) @@ -50,7 +50,7 @@ The Codecov token can also be passed in via environment variables: ```yaml steps: -- uses: actions/checkout@master +- uses: actions/checkout@main - uses: codecov/codecov-action@v4 with: fail_ci_if_error: true # optional (default = false) @@ -130,9 +130,9 @@ jobs: OS: ${{ matrix.os }} PYTHON: '3.10' steps: - - uses: actions/checkout@master + - uses: actions/checkout@main - name: Setup Python - uses: actions/setup-python@master + uses: actions/setup-python@main with: python-version: 3.10 - name: Generate coverage report