diff --git a/.github/workflows/notes.yml b/.github/workflows/notes.yml index fe44707e..a5c89971 100644 --- a/.github/workflows/notes.yml +++ b/.github/workflows/notes.yml @@ -59,6 +59,6 @@ jobs: run: | body="# Release Notes $(cat ${{ env.FILE_PATH }})" - gh pr create --base main --head dev --title "Release by ${{ env.DATE }}" --body "$body" + gh pr create --base main --head ${{ github.ref_name }} --title "Release by ${{ env.DATE }}" --body "$body" git reset --hard