From 5aa05121f7e640aad6d682106fa62e48696e8fc0 Mon Sep 17 00:00:00 2001 From: Ning Shang Date: Wed, 8 May 2024 21:56:40 -0700 Subject: [PATCH] Fix some GHA variables (#5) This is an attempt to fix a bug related to how to refer to variables in a GHA workflow. --- .github/workflows/autodoc.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/autodoc.yml b/.github/workflows/autodoc.yml index 65bbd81..791d1af 100644 --- a/.github/workflows/autodoc.yml +++ b/.github/workflows/autodoc.yml @@ -26,13 +26,13 @@ jobs: uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e with: token: ${{ secrets.GITHUB_TOKEN }} - commit-message: "Update docs ($GITHUB_SHA)" + commit-message: "Update docs (${{ github.sha }})" committer: GitHub author: github-actions[bot] signoff: false - branch: "bot/update-docs-$GITHUB_SHA" + branch: "bot/update-docs-${{ github.sha }}" delete-branch: true - title: "Update docs ($GITHUB_SHA)" + title: "Update docs (${{ github.sha }})" body: | Auto-generated pull request to update README.md labels: | @@ -42,4 +42,4 @@ jobs: assignees: syncom reviewers: thistletech/engineering draft: false - base: $GITHUB_HEAD_REF + base: ${{ github.sha }}