Skip to content

Commit

Permalink
Fix CI - the way the base branch is determined.
Browse files Browse the repository at this point in the history
  • Loading branch information
yruslan committed Oct 24, 2024
1 parent a8c3d75 commit feb975a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ jobs:
- name: Create Pull Request
run: gh pr create -B "$BASE" -H "release/$VERSION" --title "Release Pramen v$VERSION" --body 'Created by Github action'
env:
BASE: ${{ github.event.inputs.branch }}
BASE: ${{ github.head_ref || github.ref_name }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ steps.release_branch3.outputs.VERSION }}

0 comments on commit feb975a

Please sign in to comment.