Skip to content

Commit 97f90b6

Browse files
authored
chore: Replace personal access token with GitHub App Token (#49)
1 parent e1e46bc commit 97f90b6

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.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@v2
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)