From 2eefae4a88a6425f737941c561afd9153518f7d2 Mon Sep 17 00:00:00 2001 From: Dave Thaler Date: Tue, 5 Nov 2024 09:30:36 -0800 Subject: [PATCH] Update update-files workflow to use a PAT (#211) Also clean up obsolete line from yamllint file Signed-off-by: Dave Thaler Co-authored-by: Dave Thaler --- .github/workflows/update-files.yml | 4 ++-- .yamllint.yml | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-files.yml b/.github/workflows/update-files.yml index 7679a8e..30e6d6f 100644 --- a/.github/workflows/update-files.yml +++ b/.github/workflows/update-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: Update +name: Update files on: # Allow this workflow to be manually triggered. @@ -135,4 +135,4 @@ jobs: gh pr create -B ${{matrix.BRANCH}} -H generate-${{matrix.BRANCH}}-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 }} diff --git a/.yamllint.yml b/.yamllint.yml index 6412bc6..2bd0590 100644 --- a/.yamllint.yml +++ b/.yamllint.yml @@ -7,5 +7,3 @@ rules: line-length: disable truthy: check-keys: false - comments: - min-spaces-from-content: 1