mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2025-12-28 18:54:23 +01:00
chore: add GitHub App token generation to dependency update workflow
- Integrated a step to generate a GitHub App token in the update-dependencies.yml workflow. - Updated the Create Pull Request action to use the generated token for authentication.
This commit is contained in:
8
.github/workflows/update-dependencies.yml
vendored
8
.github/workflows/update-dependencies.yml
vendored
@@ -20,6 +20,13 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
|
||||
- name: Generate GitHub App token
|
||||
id: generate_token
|
||||
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
|
||||
with:
|
||||
app_id: ${{ vars.BOT_APP_ID }}
|
||||
private_key: ${{ secrets.BOT_APP_PRIVATE_KEY }}
|
||||
|
||||
- name: Setup Node & pnpm
|
||||
uses: ./.github/actions/setup-node
|
||||
|
||||
@@ -32,6 +39,7 @@ jobs:
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@4320041ed380b20e97d388d56a7fb4f9b8c20e79 # v7.0.0
|
||||
with:
|
||||
token: ${{ steps.generate_token.outputs.token }}
|
||||
commit-message: 'chore(deps): update all dependencies'
|
||||
title: 'chore(deps): update all dependencies'
|
||||
body: |
|
||||
|
||||
Reference in New Issue
Block a user