mirror of https://github.com/databricks/cli.git
Do not enforce NO_CHANGELOG=true
This commit is contained in:
parent
c6e2be1ecb
commit
87b4cef73d
|
@ -53,15 +53,7 @@ jobs:
|
||||||
echo "Changed files: $modified_files"
|
echo "Changed files: $modified_files"
|
||||||
if ! echo "$modified_files" | grep -q "NEXT_CHANGELOG.md"; then
|
if ! echo "$modified_files" | grep -q "NEXT_CHANGELOG.md"; then
|
||||||
echo "NEXT_CHANGELOG.md not modified."
|
echo "NEXT_CHANGELOG.md not modified."
|
||||||
|
|
||||||
# Check if PR message contains NO_CHANGELOG=true
|
|
||||||
if echo "$pr_message" | grep -q "NO_CHANGELOG=true"; then
|
|
||||||
echo "NO_CHANGELOG=true found in PR message. Skipping changelog check."
|
|
||||||
exit 0
|
exit 0
|
||||||
else
|
|
||||||
echo "WARNING: file NEXT_CHANGELOG.md not changed. If this is expected, add NO_CHANGELOG=true to the PR message."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Comment on PR with instructions if needed
|
- name: Comment on PR with instructions if needed
|
||||||
|
|
Loading…
Reference in New Issue