Skip to content

return 204 no-content if yaml not mutated #14

@bradrydzewski

Description

@bradrydzewski

I recommend returning a 204 no content if the yaml is not mutated (no changeset attributes defined, etc). The reason is that when no content is returned, Drone will fallback to the default fetch logic. This is important for installations that are still using 0.8 configuration files, since the default logic will handle conversion.

(PS sorry for not being more proactive with a pull request, but the Drone backlog is keeping me too busy right now)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions