From 4397a15fd625c5aea2ce28d5f79cda9c046de6e0 Mon Sep 17 00:00:00 2001 From: Dave Thaler Date: Tue, 22 Oct 2024 08:45:42 -0700 Subject: [PATCH] Update generate-files to use a PAT (#557) * 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 Co-authored-by: Dave Thaler --- .github/workflows/generate-files.yml | 4 ++-- .github/workflows/propagate-main-to-v7.1.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/generate-files.yml b/.github/workflows/generate-files.yml index dbb35654..8557f740 100644 --- a/.github/workflows/generate-files.yml +++ b/.github/workflows/generate-files.yml @@ -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: @@ -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 }} diff --git a/.github/workflows/propagate-main-to-v7.1.yml b/.github/workflows/propagate-main-to-v7.1.yml index e1f56836..322d00d6 100644 --- a/.github/workflows/propagate-main-to-v7.1.yml +++ b/.github/workflows/propagate-main-to-v7.1.yml @@ -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: push: