From 6ba7cf381d722e5660f41fd5dd0ca9cda3c1bacb Mon Sep 17 00:00:00 2001 From: Michael Hashizume Date: Mon, 16 Sep 2024 10:13:28 -0700 Subject: [PATCH] Use token to check out reference action This commit updates the GitHub Aciton used to generate reference documentation to use the token of the puppet-release-bot GitHub user to check out code. This should enable the action to push to the protected main branch, which it was unable to before. --- .github/workflows/references.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/references.yaml b/.github/workflows/references.yaml index 0c3df1c2f8c..4943fd2af87 100644 --- a/.github/workflows/references.yaml +++ b/.github/workflows/references.yaml @@ -20,6 +20,8 @@ jobs: steps: - name: Checkout current PR uses: actions/checkout@v4 + with: + token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }} - name: Setup Ruby uses: ruby/setup-ruby@v1