diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 20c752072f4..9f2f695866f 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -11,8 +11,8 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Check release notes - if: startsWith(github.ref, 'refs/heads/release/') == false + if: startsWith(github.head_ref, 'refs/heads/release/') == false uses: actualbudget/actions/release-notes/check@main - name: Generate release notes - if: startsWith(github.ref, 'refs/heads/release/') == true + if: startsWith(github.head_ref, 'refs/heads/release/') == true uses: actualbudget/actions/release-notes/generate@main