Skip to content

Commit c3f8d1b

Browse files
committed
chore: improve error message for branch mismatch in publish-package.yml
1 parent 9e240f9 commit c3f8d1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
}
3434
const currentBranch = context.ref.replace('refs/heads/', '');
3535
if (currentBranch !== `release/${version}`) {
36-
core.setFailed(`Current branch ${currentBranch} does not match release/${version}`);
36+
core.setFailed(`Current branch ${currentBranch} does not match release/${version}`);
3737
}
3838
const pullRequests = await github.rest.pulls.list({
3939
owner: context.repo.owner,

0 commit comments

Comments
 (0)