Skip to content

Commit

Permalink
Bugfix and reduce workflow triggers.
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-checkmk committed May 24, 2024
1 parent 70a7259 commit 5931c5f
Show file tree
Hide file tree
Showing 26 changed files with 96 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-activation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ on:
schedule:
- cron: '0 0 * * 0'
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/modules/activation.py'
push:
paths:
- 'plugins/modules/activation.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-bakery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ on:
schedule:
- cron: '0 0 * * 0'
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/modules/bakery.py'
push:
paths:
- 'plugins/modules/bakery.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-contact_group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ on:
schedule:
- cron: '0 0 * * 0'
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/modules/contact_group.py'
push:
paths:
- 'plugins/modules/contact_group.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-discovery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ on:
schedule:
- cron: '0 0 * * 0'
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/modules/discovery.py'
push:
paths:
- 'plugins/modules/discovery.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-downtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ on:
schedule:
- cron: '0 0 * * 0'
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/modules/downtime.py'
push:
paths:
- 'plugins/modules/downtime.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-folder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ on:
schedule:
- cron: '0 0 * * 0'
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/modules/folder.py'
push:
paths:
- 'plugins/modules/folder.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-host.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ on:
schedule:
- cron: '0 0 * * 0'
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/modules/host.py'
push:
paths:
- 'plugins/modules/host.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-host_group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ on:
schedule:
- cron: '0 0 * * 0'
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/modules/host_group.py'
push:
paths:
- 'plugins/modules/host_group.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-lkp-bakery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ on:
schedule:
- cron: '0 0 * * 0'
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/lookup/bakery.py'
push:
paths:
- 'plugins/lookup/bakery.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-lkp-folder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ name: Ansible Integration Tests for Folder Lookup Module
on:
workflow_dispatch:
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/lookup/folder.py'
push:
paths:
- 'plugins/lookup/folder.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-lkp-folders.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ name: Ansible Integration Tests for Folders Lookup Module
on:
workflow_dispatch:
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/lookup/folders.py'
push:
paths:
- 'plugins/lookup/folders.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-lkp-host.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ name: Ansible Integration Tests for Host Lookup Module
on:
workflow_dispatch:
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/lookup/host.py'
push:
paths:
- 'plugins/lookup/host.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-lkp-hosts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ name: Ansible Integration Tests for Hosts Lookup Module
on:
workflow_dispatch:
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/lookup/hosts.py'
push:
paths:
- 'plugins/lookup/hosts.py'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ans-int-test-lkp-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@ name: Ansible Integration Tests for Rule Lookup Modules
on:
workflow_dispatch:
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/lookup/rule.py'
- 'plugins/lookup/rules.py'
push:
paths:
- 'plugins/lookup/rule.py'
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ans-int-test-lkp-rulesets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@ name: Ansible Integration Tests for Ruleset Lookup Modules
on:
workflow_dispatch:
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/lookup/ruleset.py'
- 'plugins/lookup/rulesets.py'
push:
paths:
- 'plugins/lookup/ruleset.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-lkp-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ on:
schedule:
- cron: '0 0 * * 0'
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/lookup/version.py'
push:
paths:
- 'plugins/lookup/version.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-password.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ on:
schedule:
- cron: '0 0 * * 0'
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/modules/password.py'
push:
paths:
- 'plugins/modules/password.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-rule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ on:
schedule:
- cron: '0 0 * * 0'
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/modules/rule.py'
push:
paths:
- 'plugins/modules/rule.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-service_group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ on:
schedule:
- cron: '0 0 * * 0'
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/modules/service_group.py'
push:
paths:
- 'plugins/modules/service_group.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-tag_group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ on:
schedule:
- cron: '0 0 * * 0'
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/modules/tag_group.py'
push:
paths:
- 'plugins/modules/tag_group.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-timeperiod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ on:
schedule:
- cron: '0 0 * * 0'
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/modules/timeperiod.py'
push:
paths:
- 'plugins/modules/timeperiod.py'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ans-int-test-user.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ on:
schedule:
- cron: '0 0 * * 0'
pull_request:
types:
- opened
branches:
- main
- devel
paths:
- 'plugins/modules/user.py'
push:
paths:
- 'plugins/modules/user.py'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ansible-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:
branches:
- main
- devel
- build/checkmk-2-3-support
paths:
- 'roles/**'
- 'playbooks/**'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ansible-sanity-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ on:
- '**.rst'
- 'roles/**'
pull_request:
types: [opened]
types:
- opened
paths-ignore:
- '.github/ISSUE_TEMPLATE/*'
- 'docs/**'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/molecule-role-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ name: Molecule Tests for Agent Role
on:
workflow_dispatch:
pull_request:
types:
- opened
branches:
- main
- devel
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/molecule-role-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ name: Molecule Tests for Server Role
on:
workflow_dispatch:
pull_request:
types:
- opened
branches:
- main
- devel
Expand Down

0 comments on commit 5931c5f

Please sign in to comment.