Skip to content

Commit 91efc22

Browse files
committed
#5 Setup authN via verified Pypi publishers
1 parent a36604e commit 91efc22

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI Checks
33

44
on:
55
workflow_call:
6-
6+
77
push:
88
branches: ["main"]
99

.github/workflows/release.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
release:
1616
needs:
1717
- lint
18+
permissions:
19+
contents: read
20+
id-token: write
1821
runs-on: ubuntu-latest
1922
steps:
2023
- uses: "actions/checkout@v3"

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ lint: ## Lint source code
2727

2828
build: ## Build the package
2929
@pdm build
30+
31+
publish: ## Publish the package
32+
@pdm publish

0 commit comments

Comments
 (0)