From a1be74cc709717514000380b614a5a57996e6568 Mon Sep 17 00:00:00 2001 From: Rene Schallner Date: Mon, 22 May 2023 23:06:01 +0200 Subject: [PATCH] aaaah see https://github.com/actions/runner/issues/712 --- .github/workflows/test-git.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-git.yml b/.github/workflows/test-git.yml index 34e9e84..67dd0f7 100644 --- a/.github/workflows/test-git.yml +++ b/.github/workflows/test-git.yml @@ -14,6 +14,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 + with: + ref: ${{ github.ref }} - name: Set tag name id: tag @@ -23,7 +25,6 @@ jobs: - name: Generate release notes id: release_notes run: | - git fetch --tags echo "${{ steps.tag.outputs.version }}" git tag -l --format='%(contents)' "${{ steps.tag.outputs.version }}" tools/announceybot.exe release-notes "${{ steps.tag.outputs.version }}" > relnotes.md