Skip to content

Turn off alerts for "changes not deployed" #36

@cadic

Description

@cadic

Is your enhancement related to a problem? Please describe.

Right now the deploy script returns error code if other files have been modified (which actually not an issue). This triggers email notification about the failed GitHub Action.

if [[ -z $(svn stat) ]]; then
echo "🛑 Nothing to deploy!"
exit 0
# Check if there is more than just the readme.txt modified in trunk
# The leading whitespace in the pattern is important
# so it doesn't match potential readme.txt in subdirectories!
elif svn stat trunk | grep -qvi " trunk/$README_NAME$"; then
echo "🛑 Other files have been modified; changes not deployed"
exit 1
fi

Describe the solution you'd like

Could we exit with code 0 same as "Nothing to deploy" case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededneeds:discussionThis requires discussion to determine next steps.needs:engineeringThis requires engineering to resolve.type:enhancementNew feature or request.

    Type

    No type

    Projects

    Status

    To Do

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions