Skip to content

Commit

Permalink
fix: add relevant pypi info and permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Aug 23, 2023
1 parent b4c1681 commit 875484e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,16 @@ jobs:
run: |
pip install pydantic==1.10.12
make tests_only
publish:
needs: test
if: ${{ !startsWith(github.event.head_commit.message, 'bump') && !startsWith(github.event.head_commit.message, 'chore') && github.ref == 'refs/heads/main' && github.event_name == 'push' && github.repository_owner == 'supabase-community' }}
runs-on: ubuntu-latest
name: "Bump version, create changelog and publish"
environment:
name: pypi
url: https://pypi.org/p/gotrue
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Clone Repository
uses: actions/checkout@v3
Expand Down

0 comments on commit 875484e

Please sign in to comment.