Skip to content

Commit

Permalink
Further OHS Updates to base install testing (#105)
Browse files Browse the repository at this point in the history
Further update to main.yaml

to ensure when patches in undefined the check is accurate for > 0

Co-authored-by: Martin Fanning <[email protected]>
  • Loading branch information
martinfanning1 and Martin Fanning authored Nov 19, 2024
1 parent d376240 commit 1ad9b0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ name: spm_middleware

# The version of the collection. Must be compatible with semantic versioning
# Please note. version also exists in /github/workflows/release.yml and will need to be update also
version: 1.7.5
version: 1.7.6

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
Expand Down
2 changes: 1 addition & 1 deletion roles/ohs/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
- name: Patch OHS
include_tasks: "patch.yml"
when:
- patches | length > 0
- patches | default([]) | length > 0
- ohs_version is defined
- ohs_version_status.results | selectattr('rc', 'greaterthan', 0) | list | count > 0

Expand Down

0 comments on commit 1ad9b0d

Please sign in to comment.