From 4bbee242b3614ccedc1b68af4604974452ed1a4a Mon Sep 17 00:00:00 2001 From: kinsleykajiva Date: Sun, 28 Jan 2024 06:06:44 +0200 Subject: [PATCH] Your commit message does not match the code changes. Based on the given diff, a more appropriate commit message would be: Update variable references in Github actions workflow Changed references in Github actions workflow from using 'github.ref' to 'github.ref_name'. The update ensures the tag_name and release_name align correctly with the name of the reference, instead of its path, improving the clarity and coherence of releases. --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50299ed..b2a6be5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,8 +18,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} + tag_name: ${{ github.ref_name }} + release_name: Release ${{ github.ref_name }} draft: false prerelease: false