Skip to content

Commit 4d4c53f

Browse files
committed
Use app token to publish
1 parent b932acf commit 4d4c53f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@ jobs:
1212
outputs:
1313
tag: ${{ steps.update-package-version.outputs.version }}
1414
steps:
15+
- uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2.2.2
16+
id: app-token
17+
with:
18+
app-id: ${{ vars.RELEASE_APP_ID }}
19+
private-key: ${{ secrets.RELEASE_APP_KEY }}
1520
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
21+
with:
22+
token: ${{ steps.app-token.outputs.token }}
1623
- name: Configure git
1724
run: |
1825
git config user.name 'Release Action'

0 commit comments

Comments
 (0)