[ci] fix workflow dispatch and push triggers for main branch (#15)

This commit is contained in:
Berk
2026-07-04 13:48:29 +03:00
committed by GitHub
parent b5ee2c2cb7
commit c1f3abfd5d
+1 -1
View File
@@ -126,7 +126,7 @@ jobs:
needs:
- init
- build
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
runs-on: ubuntu-latest
permissions:
contents: write