Skip to content

Commit

Permalink
run GitHub workflow on all branches
Browse files Browse the repository at this point in the history
  • Loading branch information
kogeler committed Jul 22, 2024
1 parent ab29287 commit 83c9c33
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/branch-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
role-names: [node, ws_health_exporter]
role-names: [node, ws_health_exporter, nginx, node_backup ]
molecule-drivers: [docker]
# We test the latest version and minimum supported version
ansible-versions: [8.0.0, 9.0.1]
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/pr-nginx-exporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ on:
paths:
- roles/nginx_exporter/**
- .github/**
push:
paths:
- roles/nginx_exporter/**
- .github/**
branches:
- '!main'
- '**'

jobs:
run-molecule-tests:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/pr-nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ on:
paths:
- roles/nginx/**
- .github/**
push:
paths:
- roles/nginx/**
- .github/**
branches:
- '!main'
- '**'

jobs:
run-molecule-tests:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/pr-node-backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ on:
paths:
- roles/node_backup/**
- .github/**
push:
paths:
- roles/node_backup/**
- .github/**
branches:
- '!main'
- '**'

jobs:
run-molecule-tests:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/pr-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ on:
paths:
- roles/node/**
- .github/**
push:
paths:
- roles/node/**
- .github/**
branches:
- '!main'
- '**'

jobs:
run-molecule-tests:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/pr-secure-apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ on:
paths:
- roles/secure_apt/**
- .github/**
push:
paths:
- roles/secure_apt/**
- .github/**
branches:
- '!main'
- '**'

jobs:
run-molecule-tests:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/pr-state-exporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ on:
paths:
- roles/state_exporter/**
- .github/**
push:
paths:
- roles/state_exporter/**
- .github/**
branches:
- '!main'
- '**'

jobs:
run-molecule-tests:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/pr-ws-health-exporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ on:
paths:
- roles/ws_health_exporter/**
- .github/**
push:
paths:
- roles/ws_health_exporter/**
- .github/**
branches:
- '!main'
- '**'

jobs:
run-molecule-tests:
Expand Down

0 comments on commit 83c9c33

Please sign in to comment.