Skip to content

Add an option in the BaseConfig to exclude workflow templates #643

@ArBridgeman

Description

@ArBridgeman

Summary

With the option to modify workflow templates, it's now possible for workflows to remove/replace parts, like building documentation, that do not work for their projects.

However, the nox session workflows:update tries to updates ALL possible workflow templates. We would like to fix this by allowing project's to specify which workflows they do not want included.

To Do

  • Add a parameter to the BaseConfig for users to specify the name of template workflows they would not want in their project. Make it so that these values are compared to the list of available template workflow names. If there is a name that does not exist, raise an exception.
  • Update nox session workflow:checks and workflow:updates so that they skip these templates (they neither add them or check their values).
  • Add to the user & developer guides

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureProduct feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions