Skip to content

Commit

Permalink
Merge pull request #6 from mondaycom/gh-publish
Browse files Browse the repository at this point in the history
Gh publish
  • Loading branch information
rzmnd authored Oct 14, 2024
2 parents 704a3b2 + 6f6e7aa commit bb75ef5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pypa-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,18 @@ jobs:
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
# required
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
ref: ${{ github.head_ref }}
# Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit bb75ef5

Please sign in to comment.