Skip to content

Commit 6b3cf6a

Browse files
Reikyohowaskew
andauthored
chore: Replace personal access token with GitHub App Token (#25)
Co-authored-by: Howard Askew <19271569+howaskew@users.noreply.github.com>
1 parent d0650fe commit 6b3cf6a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,17 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12+
- name: Generate GitHub App Token
13+
uses: actions/create-github-app-token@v1
14+
id: generate-token
15+
with:
16+
app-id: ${{ secrets.GH_APP_ID }}
17+
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
18+
1219
- name: Checkout
1320
uses: actions/checkout@v4
1421
with:
15-
token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
22+
token: ${{ steps.generate-token.outputs.token }}
1623

1724
- name: Identify
1825
run: |

0 commit comments

Comments
 (0)