Skip to content

Commit 8de8ec6

Browse files
fix(repo): update branch references to main
1 parent d3be42e commit 8de8ec6

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ on:
44
pull_request:
55
push:
66
branches:
7-
- master
7+
- main
88

99
permissions:
1010
contents: read
1111

1212
concurrency:
1313
group: ${{ github.workflow }}-${{ github.ref }}
14-
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
14+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
1515

1616
jobs:
1717
validate:
@@ -45,7 +45,7 @@ jobs:
4545
run: uv run --python 3.14 coveralls --service=github
4646

4747
release:
48-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
48+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
4949
needs: validate
5050
runs-on: ubuntu-latest
5151
permissions:
@@ -231,7 +231,7 @@ jobs:
231231
gh attestation verify "./$wheel_name" --repo "$GITHUB_REPOSITORY" --signer-workflow .github/workflows/release.yml --predicate-type https://spdx.dev/Document/v2.3
232232
\`\`\`
233233
234-
Install from Git with an immutable ref, not \`master\`. Example:
234+
Install from Git with an immutable ref, not \`main\`. Example:
235235
236236
\`\`\`bash
237237
pip install "fastapi-paseto @ git+https://github.com/Raze-Systems/fastapi-paseto.git@$RELEASE_TAG"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pip install fastapi-paseto
3434
```
3535

3636
Releases are built from GitHub Actions after a successful semantic release on
37-
`master`. Each release publishes the wheel and source distribution as GitHub
37+
`main`. Each release publishes the wheel and source distribution as GitHub
3838
workflow artifacts and as downloadable assets on the corresponding GitHub
3939
Release.
4040

@@ -56,7 +56,7 @@ If there is strong demand and a solid implementation, contributions adding cooki
5656

5757
## Release Process
5858
Releases are automated with conventional commits and semantic versioning.
59-
Commits merged into `master` should follow the Conventional Commits format, for
59+
Commits merged into `main` should follow the Conventional Commits format, for
6060
example `feat: add denylist cache metrics` or `fix: reject malformed token
6161
headers`.
6262

@@ -83,7 +83,7 @@ gh attestation verify ./fastapi_paseto-X.Y.Z-py3-none-any.whl --repo Raze-System
8383
```
8484

8585
If you install directly from Git, pin an immutable tag or commit hash instead
86-
of `master`:
86+
of `main`:
8787

8888
```bash
8989
pip install "fastapi-paseto @ git+https://github.com/Raze-Systems/fastapi-paseto.git@vX.Y.Z"

docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ This command generates a directory `./htmlcov/`, if you open the file `./htmlcov
8585

8686
## Releases
8787

88-
Releases are automated from `master` with Conventional Commits and
88+
Releases are automated from `main` with Conventional Commits and
8989
`python-semantic-release`.
9090

9191
Use commit messages like:

docs/supply-chain-security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pip install "fastapi-paseto @ git+https://github.com/Raze-Systems/fastapi-paseto
4040
pip install "fastapi-paseto @ git+https://github.com/Raze-Systems/fastapi-paseto.git@<commit-sha>"
4141
```
4242

43-
Avoid installs from `master`. A mutable branch reference can change after you
43+
Avoid installs from `main`. A mutable branch reference can change after you
4444
install it, which makes later verification weak even if the branch tip was
4545
signed at the time.
4646

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ version_toml = ["pyproject.toml:project.version"]
6363
version_variables = ["src/fastapi_paseto/_version.py:__version__"]
6464

6565
[tool.semantic_release.branches.main]
66-
match = "master"
66+
match = "main"
6767
prerelease = false
6868

6969
[tool.semantic_release.changelog]

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)