We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 704a3b2 + 6f6e7aa commit bb75ef5Copy full SHA for bb75ef5
.github/workflows/pypa-publish.yml
@@ -10,7 +10,18 @@ jobs:
10
permissions:
11
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
12
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 }}
19
- uses: actions/checkout@v4
20
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
25
- name: Set up Python
26
uses: actions/setup-python@v4
27
with:
0 commit comments