Skip to content

Commit

Permalink
chore(smoke): support workflow_run and workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Nov 2, 2023
1 parent 057e515 commit 008a8c6
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
name: smoke-test

on:
# # Always run smoke tests upon a successful
# # "ci" job completion on "main".
# workflow_run:
# workflows: ['ci']
# branches: [main]
# types: [completed]
# Always run smoke tests upon a successful
# "ci" job completion on "main".
workflow_run:
workflows: ['ci']
branches: [main]
types: [completed]
workflow_dispatch:

jobs:
examples:
if: ${{ (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') || github.event_name == 'workflow_dispatch' }}
runs-on: macos-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 008a8c6

Please sign in to comment.