Skip to content

Commit 521b636

Browse files
authored
Merge pull request #11 from openmv/fix_workflows
github: Switch to trusted publishing.
2 parents c272aab + 14892f2 commit 521b636

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
build:
2121
runs-on: ubuntu-latest
2222
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
23+
permissions:
24+
id-token: write
2325
steps:
2426
- name: '⏳ Checkout repository'
2527
uses: actions/checkout@v6
@@ -57,5 +59,3 @@ jobs:
5759

5860
- name: '📦 Publish to PyPI'
5961
uses: pypa/gh-action-pypi-publish@release/v1
60-
with:
61-
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)