Skip to content

Commit 5dfd646

Browse files
committed
ci(workflows): fix release branch check in label-linked-issues
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent 77d096a commit 5dfd646

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/label-linked-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
env:
7171
DATA: ${{ steps.query.outputs.data }}
7272
PRERELEASE: ${{ contains(steps.version.outputs.result, '-') }}
73-
RELEASE_BRANCH: ${{ startsWith(github.ref_name, 'release/') }}
73+
RELEASE_BRANCH: ${{ contains(github.head_ref || github.ref_name, 'release/') }}
7474
with:
7575
script: |
7676
const { closingIssuesReferences } = JSON.parse(process.env.DATA).repository.pullRequest

0 commit comments

Comments
 (0)