Skip to content

Commit

Permalink
Update generate-files to use a PAT (#95)
Browse files Browse the repository at this point in the history
* Fix name of workflows
* Make generate-files use a PAT so that validate-yaml will run

The PAT is already generated and configured in the repository secrets

Fixes #63

Signed-off-by: Dave Thaler <[email protected]>
Co-authored-by: Dave Thaler <[email protected]>
  • Loading branch information
dthaler and dthaler2 authored Nov 5, 2024
1 parent 900d7f1 commit 8fa9994
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# For documentation on the syntax of this file, see
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
---
name: Build
name: Generate files

on:
push:
Expand Down Expand Up @@ -60,4 +60,4 @@ jobs:
gh pr create -B main -H generated-files --title 'Update generated files' --body $'Update generated files\nThis PR is auto-generated by [gh pr create].' --label 'automated pr'
fi
env:
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}

0 comments on commit 8fa9994

Please sign in to comment.