Skip to content

Commit

Permalink
chore(smoke): use manual runs only
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Nov 2, 2023
1 parent 5112765 commit 057e515
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
name: smoke-test

on:
# Always run smoke tests upon a successful
# "ci" job completion on "main".
workflow_run:
workflows: ['ci']
branches: [main]
types: [completed]
# Also allow on-demand smoke test runs.
# Useful when testing a particular branch
# for compatibility with the examples.
# # 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.workflow_run.conclusion == 'success' || github.event.workflow_dispatch }}
runs-on: macos-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 057e515

Please sign in to comment.