From 1c2c8b06d44c70d02c158fe486203f2c5d355bdc Mon Sep 17 00:00:00 2001 From: max-ishere <47008271+max-ishere@users.noreply.github.com> Date: Tue, 3 Dec 2024 20:06:23 +0200 Subject: [PATCH] fix(ci): discussions if was wrong (again) --- .github/workflows/build-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 0eaea5d..d885ed5 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -113,5 +113,5 @@ jobs: View the detailed release notes in the linked discussion (Join Discussion button below). - name: Attach a discussion to a release - if: startsWith(github.ref_name, '/refs/tags/') + if: startsWith(github.ref, '/refs/tags/') run: gh release edit --discussion-category "Announcements" ${{ github.ref_name }}