Skip to content

Commit

Permalink
ci: generate token
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-steinfeld committed Sep 18, 2023
1 parent 2b0e1e0 commit a451823
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/update-locks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,15 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get Token from Github App
uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: ${{ secrets.GH_CI_APP_ID }}
private_key: ${{ secrets.GH_CI_APP_PRIVATE_KEY }}
repositories: >-
["$GITHUB_REPOSITORY"]
- name: Update locks if needed
uses: hypertrace/github-actions/raise-lock-pr@main
with:
token: ${{ steps.generate-token.outputs.token }}

0 comments on commit a451823

Please sign in to comment.