Skip to content

Commit 6c8bd25

Browse files
committed
.github; only publish to latest release from main branch
[skip ci] Signed-off-by: Joachim Wiberg <[email protected]>
1 parent ea30013 commit 6c8bd25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ jobs:
3737
name: "infix"
3838

3939
test-publish-x86_64:
40-
if: startsWith(github.repository, 'kernelkit/')
40+
if: ${{ github.repository_owner == 'kernelkit' && github.ref_name == 'main' }}
4141
needs: test-run-x86_64
4242
uses: ./.github/workflows/publish.yml

0 commit comments

Comments
 (0)