Skip to content

Commit

Permalink
github: fix pypi-publish access
Browse files Browse the repository at this point in the history
Signed-off-by: Mikhail Koviazin <[email protected]>
  • Loading branch information
mkmkme committed Jul 19, 2024
1 parent 40181db commit ac038f1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/pypi-publish.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Publish tag to Pypi
on:
workflow_dispatch:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
release:
types: [published]

permissions:
contents: read # to fetch code (actions/checkout)

Expand All @@ -14,4 +13,7 @@ jobs:
uses: ./.github/workflows/REUSABLE-wheeler.yaml
with:
release: true
environment: pypi
permissions:
id-token: write
secrets: inherit

0 comments on commit ac038f1

Please sign in to comment.