Skip to content

Commit

Permalink
Try to use custom token to enable CI on autogen updates
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-lunarg committed Oct 8, 2024
1 parent f85a1f1 commit ab2619a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/run_autogen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ jobs:
PR_NUMBER: ${{ github.event.number }}

steps:
- uses: actions/create-github-app-token@v1
id: generate-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Set up Python
uses: actions/setup-python@v5
with:
Expand All @@ -54,6 +60,7 @@ jobs:
uses: peter-evans/create-pull-request@v7
if: ${{ steps.git-diff.outputs.git-diff == 'true' }}
with:
token: ${{ steps.generate-token.outputs.token }}
commit-message: Update to latest Vulkan-Headers
title: Update to latest Vulkan-Headers
branch: run-autogen
Expand Down

0 comments on commit ab2619a

Please sign in to comment.