Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/dco.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- main

permissions:
contents: read
pull-requests: read

jobs:
check:
runs-on: ubuntu-latest
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
tags:
- "*"

permissions:
contents: read
pull-requests: read

Comment thread
Dexter9532 marked this conversation as resolved.
jobs:
build:
name: Build distribution
Expand Down Expand Up @@ -56,4 +60,3 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: true

4 changes: 4 additions & 0 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches: ["main"]

permissions:
contents: read
pull-requests: read

jobs:
build:
name: Build distribution
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/pyright.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: pyright

on:
pull_request:
branches: ["main"]

jobs:
type-check:
on:
pull_request:
branches: ["main"]

permissions:
contents: read
Comment thread
Dexter9532 marked this conversation as resolved.
pull-requests: read

jobs:
type-check:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
pull_request:
branches: [ "main" ]

permissions:
contents: read
pull-requests: read

Comment thread
Dexter9532 marked this conversation as resolved.
jobs:
uv-example:
name: python
Expand Down Expand Up @@ -31,4 +35,3 @@ jobs:
- name: Run tests
run: |
uv run pytest

10 changes: 6 additions & 4 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@ on:
- main

permissions:
contents: write
issues: write
pull-requests: write
contents: read
pull-requests: read

jobs:
release-please:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: python

16 changes: 10 additions & 6 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: ruff

on:
pull_request:
branches: [ "main" ]

jobs:
lint:
on:
pull_request:
branches: [ "main" ]

permissions:
contents: read
Comment thread
Dexter9532 marked this conversation as resolved.
pull-requests: read

jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
Loading