mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-21 23:14:35 +00:00
Use token in run_autogen.yml to enable CI being run
Setting up tokens is necessary to allow github to run CI on pull requests made automatically - this wasn't the case when the autogen code was added but is probably a good thing for security reasons.
This commit is contained in:
parent
dff929c3b1
commit
1099d8dd5c
7
.github/workflows/run_autogen.yml
vendored
7
.github/workflows/run_autogen.yml
vendored
@ -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:
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user