Skip to content
This repository was archived by the owner on Mar 1, 2025. It is now read-only.

Commit 25f4912

Browse files
committed
Fix branch in release script
1 parent 9814f0b commit 25f4912

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
owner: context.repo.owner,
2323
repo: context.repo.repo,
2424
workflow_id: 'unit_test.yml',
25-
ref: context.sha
25+
ref: 'main'
2626
});
2727
2828
- name: Wait for tests
@@ -38,7 +38,7 @@ jobs:
3838
repo: context.repo.repo,
3939
workflow_id: 'unit_test.yml',
4040
status: 'completed',
41-
head_sha: context.sha
41+
branch: 'main'
4242
});
4343
4444
if(runs.data.workflow_runs.length > 0) {

0 commit comments

Comments
 (0)