From b149180db4da5e3814eeedb2d04d3126c473c2cd Mon Sep 17 00:00:00 2001 From: Elliot DeNolf Date: Fri, 6 Sep 2024 01:55:23 -0400 Subject: [PATCH] ci: remove unnecessary checkout ref --- .github/workflows/post-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index 3e0b497659..09632380ac 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -13,7 +13,8 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - ref: ${{ github.event.release.target_commitish || github.ref }} + # Only needed if debugging on a branch other than default + # ref: ${{ github.event.release.target_commitish || github.ref }} - run: echo "npm_version=$(npm pkg get version | tr -d '"')" >> "$GITHUB_ENV" - uses: ./.github/actions/release-commenter continue-on-error: true