Skip to content

Commit f384d41

Browse files
committed
chore: switch to official GitHub App token action
1 parent 12b8ce1 commit f384d41

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,12 @@ jobs:
1717
pull-requests: write
1818
id-token: write
1919
steps:
20-
- name: Debug secrets
21-
run: |
22-
echo "APP_ID length: ${#APP_ID}"
23-
echo "PRIVATE_KEY length: ${#PRIVATE_KEY}"
24-
echo "INSTALLATION_ID length: ${#INSTALLATION_ID}"
25-
env:
26-
APP_ID: ${{ secrets.APP_ID }}
27-
PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
28-
INSTALLATION_ID: ${{ secrets.APP_INSTALLATION_ID }}
29-
3020
- name: Generate GitHub App Token
3121
id: generate-token
32-
uses: tibdex/github-app-token@v1
22+
uses: actions/create-github-app-token@v1
3323
with:
34-
app_id: ${{ secrets.APP_ID }}
35-
private_key: ${{ secrets.APP_PRIVATE_KEY }}
36-
installation_id: ${{ secrets.APP_INSTALLATION_ID }}
24+
app-id: ${{ secrets.APP_ID }}
25+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
3726

3827
- name: Checkout
3928
uses: actions/checkout@v4

0 commit comments

Comments
 (0)