Skip to content

Commit

Permalink
Update generate-files to use a PAT (#557)
Browse files Browse the repository at this point in the history
* Fix names 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 #503

Signed-off-by: Dave Thaler <[email protected]>
Co-authored-by: Dave Thaler <[email protected]>
  • Loading branch information
dthaler and dthaler2 authored Oct 22, 2024
1 parent 49eb952 commit 4397a15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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:

Check warning on line 11 in .github/workflows/generate-files.yml

View workflow job for this annotation

GitHub Actions / validate-yaml

11:1 [truthy] truthy value should be one of [false, true]
push:
Expand Down Expand Up @@ -70,4 +70,4 @@ jobs:
gh pr create -B ${{steps.extract_branch.outputs.branch}} -H ${{steps.extract_branch.outputs.branch}}-generate-files --title 'Update extracted-files in ${{steps.extract_branch.outputs.branch}}' --body $'Update extracted files\nThis PR is auto-generated by [gh pr create].' --label 'automated pr'
fi
env:
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/propagate-main-to-v7.1.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: Propagate main to 7.1

on:

Check warning on line 11 in .github/workflows/propagate-main-to-v7.1.yml

View workflow job for this annotation

GitHub Actions / validate-yaml

11:1 [truthy] truthy value should be one of [false, true]
push:
Expand Down

0 comments on commit 4397a15

Please sign in to comment.