Skip to content

Commit 8bf1ba9

Browse files
committed
Fix iOS workflow trigger and exclude markdown from git
- Fix iOS workflow condition to run on push events Replace: (event != workflow_dispatch && event == workflow_dispatch) [impossible] With: github.event_name != 'workflow_dispatch' [correct logic] - Both Android and iOS now trigger on push to appiumMobile - Add *.md to .gitignore to keep documentation files local only - Workflow will now execute both Android and iOS tests on each push
1 parent 278ca71 commit 8bf1ba9

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/browserstack-sdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ jobs:
178178
if: |
179179
github.event.inputs.platform == 'ios' ||
180180
github.event.inputs.platform == 'both' ||
181-
(github.event_name != 'workflow_dispatch' && github.event_name == 'workflow_dispatch')
181+
github.event_name != 'workflow_dispatch'
182182
183183
steps:
184184
- name: Checkout code

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,5 @@ drivers/
4646
app/
4747
# BrowserStack local YAML files with secrets
4848
browserstack-android.yml
49-
browserstack-ios.yml
49+
browserstack-ios.yml# Documentation files (local only)
50+
*.md

0 commit comments

Comments
 (0)