Skip to content

Commit f1163e5

Browse files
committed
Update workflow triggers and test job conditions
Workflow now triggers on pushes to any branch instead of just main. The run-tests job no longer has an 'if' condition and will run for all events.
1 parent 28fbd42 commit f1163e5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/documentation.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@ name: Documentation Generation and Deployment
33
on:
44
# Trigger on pushes to main branch
55
push:
6-
branches: [main]
6+
branches: ['*'] # Trigger on pushes to any branch
77

8-
# Trigger on pull requests
9-
pull_request:
10-
branches: [main]
118

129
# Allow manual trigger
1310
workflow_dispatch:
@@ -59,7 +56,7 @@ jobs:
5956
run-tests:
6057
runs-on: ubuntu-latest
6158
needs: [install-dependencies]
62-
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.install_dependencies }}
59+
# No if condition, run for all events
6360
steps:
6461
- name: Run tests
6562
run: |

0 commit comments

Comments
 (0)