Skip to content

Commit cf7a95d

Browse files
authored
CI: condition for job block to stop processing when pub is missing
1 parent 762491c commit cf7a95d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ permissions:
1616

1717
jobs:
1818
publish:
19+
if: |
20+
github.event_name == 'workflow_dispatch' ||
21+
contains(github.event.head_commit.message, '[pub]')
1922
runs-on: ubuntu-latest
2023
steps:
2124
- name: Checkout

0 commit comments

Comments
 (0)