Skip to content

Commit 63556c2

Browse files
committed
Update publish workflow to use app token
1 parent 45d2b1c commit 63556c2

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
@@ -15,7 +15,14 @@ jobs:
1515
outputs:
1616
tag: ${{ steps.update-package-version.outputs.version }}
1717
steps:
18+
- uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2.2.2
19+
id: app-token
20+
with:
21+
app-id: ${{ vars.RELEASE_APP_ID }}
22+
private-key: ${{ secrets.RELEASE_APP_KEY }}
1823
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
24+
with:
25+
token: ${{ steps.app-token.outputs.token }}
1926
- name: Configure git
2027
run: |
2128
git config user.name 'Release Action'

0 commit comments

Comments
 (0)