Skip to content

Commit 265ee70

Browse files
cursoragentmrubens
andcommitted
Update nightly publish workflow to trigger on main branch commits
Co-authored-by: matt <[email protected]>
1 parent 8e7d9e0 commit 265ee70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/nightly-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ on:
1111
jobs:
1212
publish-nightly:
1313
runs-on: ubuntu-latest
14-
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
14+
# Publish on every commit to main, regardless of QA workflow outcome
15+
if: ${{ github.event_name == 'workflow_dispatch' || (github.event.workflow_run && github.event.workflow_run.head_branch == 'main') }}
1516

1617
permissions:
1718
contents: read # No tags pushed → read is enough.

0 commit comments

Comments
 (0)