Skip to content

Commit

Permalink
Set default value for scorecard directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mantomas committed Nov 5, 2024
1 parent 59a10ee commit 922fabe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@

- name: "Create scorecard directory"
ansible.builtin.file:
path: "{{ operator_bundle_src_dir }}/{{ operator_package_name }}/{{ op_version }}/{{ annotations_vars.annotations['operators.operatorframework.io.test.config.v1'] }}"
path: "{{ operator_bundle_src_dir }}/{{ operator_package_name }}/{{ op_version }}/{{ annotations_vars.annotations['operators.operatorframework.io.test.config.v1'] | default('tests/scorecard/', true) }}"
state: directory
recurse: true

Expand Down

0 comments on commit 922fabe

Please sign in to comment.