Skip to content

Commit 048ed71

Browse files
OlegOptimumCode
authored andcommitted
fix: use sha instead of ref when marking on pull request
1 parent 8d9b2bd commit 048ed71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969

7070
env:
7171
TAG: v${{ needs.meta.outputs.latest-version }}
72-
COMMIT: ${{ github.event.pull_request.base.ref || github.event.before }} # either the PR base ref or previous commit in the branch
72+
COMMIT: ${{ github.event.pull_request.base.sha || github.event.before }} # either the PR base ref or previous commit in the branch
7373
GH_REPOSITORY: ${{ github.repository }}
7474

7575
steps:

0 commit comments

Comments
 (0)