Skip to content

Commit b638c21

Browse files
authored
refactor: modernize linting and build system (#755)
* refactor: modernize linting and build system * ci: add pr.yml * ci: add docs * ci: uv run * fix: coverage
1 parent 1835b06 commit b638c21

15 files changed

Lines changed: 2583 additions & 4203 deletions

.github/labels.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.

.github/release-drafter.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/constraints.in

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/constraints.txt

Lines changed: 0 additions & 144 deletions
This file was deleted.

.github/workflows/labeler.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/pr.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: PR
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- reopened
9+
10+
permissions: {}
11+
12+
jobs:
13+
lint:
14+
name: Lint
15+
runs-on: ubuntu-latest
16+
permissions:
17+
pull-requests: read
18+
steps:
19+
- uses: amannn/action-semantic-pull-request@v6
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
permissions:
7+
contents: write
8+
issues: write
9+
pull-requests: write
10+
11+
name: release-please
12+
13+
jobs:
14+
release-please:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/create-github-app-token@v2
18+
id: generate-token
19+
with:
20+
app-id: ${{ vars.RELEASE_BOT_CLIENT_ID }}
21+
private-key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
22+
- uses: googleapis/release-please-action@v4
23+
id: release-please
24+
with:
25+
token: ${{ steps.generate-token.outputs.token }}
26+
release-type: python

0 commit comments

Comments
 (0)