Skip to content

Commit d210e28

Browse files
committed
ci: fix empty base_ref error
Use $Env:GITHUB_REF_NAME which contains branch name Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
1 parent 6e91ae8 commit d210e28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/maintenance-bundle-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ jobs:
3434
git add fluent-package/Gemfile.lock
3535
git commit --message "Update Gemfile.lock" --signoff
3636
git push origin $branch
37-
gh pr create --base ${{ github.base_ref }} --title "Update Gemfile.lock" --body "Update Gemfile.lock by maintenance workflow"
37+
gh pr create --base $Env:GITHUB_REF_NAME --title "Update Gemfile.lock" --body "Update Gemfile.lock by maintenance workflow"

0 commit comments

Comments
 (0)