Skip to content

Commit a1e5b1c

Browse files
feat(ci): use GH App token
1 parent db45fcc commit a1e5b1c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,18 @@ jobs:
1717
name: Release version
1818
runs-on: ubuntu-24.04
1919
steps:
20+
- name: Create GitHub App token
21+
uses: actions/create-github-app-token@v2
22+
id: app-token
23+
with:
24+
# required
25+
app-id: 1312871
26+
private-key: ${{ secrets.OPENMCP_CI_APP_PRIVATE_KEY }}
27+
2028
- name: Checkout code
2129
uses: actions/checkout@v4
2230
with:
23-
ssh-key: ${{ secrets.PUSH_KEY }}
31+
token: ${{ steps.app-token.outputs.token }}
2432
fetch-tags: true
2533
fetch-depth: 0
2634
submodules: recursive

0 commit comments

Comments
 (0)