docs: main branch (#1396)

Rename `master` to `main`
This commit is contained in:
Marco Biedermann
2024-04-30 10:29:39 +02:00
committed by GitHub
parent e8bbe5fc01
commit dad251dcaf
4 changed files with 8 additions and 8 deletions

View File

@@ -12,10 +12,10 @@ name: "CodeQL"
on: on:
push: push:
branches: [ master ] branches: [ main ]
pull_request: pull_request:
# The branches below must be a subset of the branches above # The branches below must be a subset of the branches above
branches: [ master ] branches: [ main ]
schedule: schedule:
- cron: '24 6 * * 5' - cron: '24 6 * * 5'

View File

@@ -2,7 +2,7 @@ name: Enforce License Compliance
on: on:
pull_request: pull_request:
branches: [main, master] branches: [main]
jobs: jobs:
enforce-license-compliance: enforce-license-compliance:

View File

@@ -5,7 +5,7 @@ on:
schedule: schedule:
- cron: '43 20 * * 1' - cron: '43 20 * * 1'
push: push:
branches: [ master ] branches: [ main ]
# Declare default permissions as read only. # Declare default permissions as read only.
permissions: read-all permissions: read-all

View File

@@ -35,7 +35,7 @@ Inside your `.github/workflows/workflow.yml` file:
```yaml ```yaml
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@main
- uses: codecov/codecov-action@v4 - uses: codecov/codecov-action@v4
with: with:
fail_ci_if_error: true # optional (default = false) fail_ci_if_error: true # optional (default = false)
@@ -50,7 +50,7 @@ The Codecov token can also be passed in via environment variables:
```yaml ```yaml
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@main
- uses: codecov/codecov-action@v4 - uses: codecov/codecov-action@v4
with: with:
fail_ci_if_error: true # optional (default = false) fail_ci_if_error: true # optional (default = false)
@@ -130,9 +130,9 @@ jobs:
OS: ${{ matrix.os }} OS: ${{ matrix.os }}
PYTHON: '3.10' PYTHON: '3.10'
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@main
- name: Setup Python - name: Setup Python
uses: actions/setup-python@master uses: actions/setup-python@main
with: with:
python-version: 3.10 python-version: 3.10
- name: Generate coverage report - name: Generate coverage report