Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for specifying the license file in the config file #195

Open
alex1989hu opened this issue Dec 6, 2020 · 1 comment
Open

Comments

@alex1989hu
Copy link
Contributor

I would like to specify license header file. It is common to store a license file e.g. LICENSE.txt or LICENSE within the repository. The license file path option shall be mutually exclusive with the current option, header.

  - type: license
    spec:
      skipPaths:
        - .git/
        - .build*/
      includeSuffixes:
        - .ext
      excludeSuffixes:
        - .exclude-ext-prefix.ext
      headerPath:
        - LICENSE.txt
@andrewrynhard
Copy link
Member

Sounds like a reasonable request. I wonder if we can do any trickery with the existing header field so that it can do both. Will think on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants