Skip to content

Commit bb75ef5

Browse files
authored
Merge pull request #6 from mondaycom/gh-publish
Gh publish
2 parents 704a3b2 + 6f6e7aa commit bb75ef5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/pypa-publish.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,18 @@ jobs:
1010
permissions:
1111
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
1212
steps:
13+
- uses: actions/create-github-app-token@v1
14+
id: app-token
15+
with:
16+
# required
17+
app-id: ${{ vars.APP_ID }}
18+
private-key: ${{ secrets.PRIVATE_KEY }}
1319
- uses: actions/checkout@v4
20+
with:
21+
token: ${{ steps.app-token.outputs.token }}
22+
ref: ${{ github.head_ref }}
23+
# Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
24+
persist-credentials: false
1425
- name: Set up Python
1526
uses: actions/setup-python@v4
1627
with:

0 commit comments

Comments
 (0)