Skip to content

Commit dc67cf6

Browse files
authored
Fix Bug introduced by PR #151 (#152)
1 parent 18fda23 commit dc67cf6

File tree

1 file changed

+10
-1
lines changed
  • .github/actions/ansible_validate_changelog

1 file changed

+10
-1
lines changed

.github/actions/ansible_validate_changelog/action.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,19 @@ runs:
3030
pip install -U pyyaml
3131
shell: bash
3232

33-
- name: Validate changelog
33+
- name: Validate changelog using custom paths
3434
run: >-
3535
python3 ${{ github.action_path }}/validate_changelog.py
3636
--ref ${{ inputs.base_ref }}
3737
--custom-paths ${{ inputs.custom_paths }}
3838
shell: bash
3939
working-directory: ${{ inputs.path }}
40+
if: inputs.custom_paths != ''
41+
42+
- name: Validate changelog
43+
run: >-
44+
python3 ${{ github.action_path }}/validate_changelog.py
45+
--ref ${{ inputs.base_ref }}
46+
shell: bash
47+
working-directory: ${{ inputs.path }}
48+
if: inputs.custom_paths == ''

0 commit comments

Comments
 (0)