refactor(ci): migrate tibdex/github-app-token to actions/create-github-app-token (#4072)

This commit is contained in:
Meier Lukas
2025-09-13 17:15:33 +02:00
committed by GitHub
parent b398be0303
commit 86cf290c31
7 changed files with 53 additions and 34 deletions

View File

@@ -1,7 +1,7 @@
name: Update integration list
on:
workflow_dispatch: { }
workflow_dispatch: {}
push:
paths:
- packages/definitions/src/integration.ts
@@ -20,10 +20,12 @@ jobs:
steps:
- name: Obtain token
id: obtainToken
uses: tibdex/github-app-token@v2
uses: actions/create-github-app-token@v2
with:
private_key: ${{ secrets.HOMARR_UPDATE_CONTRIBUTORS_PRIVATE_KEY }}
app_id: ${{ vars.HOMARR_UPDATE_CONTRIBUTORS_APP_ID }}
private-key: ${{ secrets.HOMARR_UPDATE_CONTRIBUTORS_PRIVATE_KEY }}
app-id: ${{ vars.HOMARR_UPDATE_CONTRIBUTORS_APP_ID }}
permission-contents: write # required to commit to branch
permission-pull-requests: write # required to create pr & enable automerge
- name: Checkout code
uses: actions/checkout@v5
env:
@@ -59,4 +61,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ steps.obtainToken.outputs.token }}
run: |
gh pr merge ${{steps.create-pull-request.outputs.pull-request-number}} --auto --squash
gh pr merge ${{steps.create-pull-request.outputs.pull-request-number}} --auto --squash