Skip to content

Commit

Permalink
Abort if changelog config file doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted committed Sep 28, 2023
1 parent d139bbe commit fb0e447
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions actions/changelog-generate/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ runs:
else
path=${{ inputs.config }}
fi
if [ ! -f "$path" ]; then
echo "changelog config file $path doesn't exist"
exit 1
fi
echo "path=$path" >> "$GITHUB_OUTPUT"
shell: bash

Expand Down

0 comments on commit fb0e447

Please sign in to comment.