Skip to content

Commit

Permalink
🔧 Update GitHub Actions workflow to enhance permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
yezz123 committed Dec 25, 2024
1 parent b9f8219 commit 3350383
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
release:
runs-on: ubuntu-latest

permissions:
id-token: write

steps:
- uses: actions/checkout@v4

Expand All @@ -31,9 +34,7 @@ jobs:
run: python -m build

- name: Upload package to PyPI
uses: pypa/gh-action-pypi-publish@v1.12.2
with:
password: ${{ secrets.PYPI_API_TOKEN }}
uses: pypa/gh-action-pypi-publish@release/v1

send-tweet:
name: Send Tweet
Expand Down

0 comments on commit 3350383

Please sign in to comment.