Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/datreeio/validate-license-action
Validate a license file exists and is one of the allowed licenses
https://github.com/datreeio/validate-license-action
Last synced: 18 days ago
JSON representation
Validate a license file exists and is one of the allowed licenses
- Host: GitHub
- URL: https://github.com/datreeio/validate-license-action
- Owner: datreeio
- License: mit
- Created: 2019-02-04T07:49:22.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-15T14:43:44.000Z (over 5 years ago)
- Last Synced: 2024-11-12T14:26:02.654Z (about 1 month ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 21
- Watchers: 7
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
- stars - datreeio/validate-license-action - Validate a license file exists and is one of the allowed licenses \[*MIT License*\] (⭐️21) (JavaScript)
- stars - datreeio/validate-license-action - Validate a license file exists and is one of the allowed licenses \[*MIT License*\] (⭐️21) (JavaScript)
README
# validate-license-action
Validate a license file is one of the allowed licenses# Example Usage:
Use on a pull request event to make sure the repo has a valid license.```
workflow "License validation flow" {
on = "pull_request"
resolves = ["validate license"]
}action "validate license" {
uses = "datreeio/validate-license-action@master"
args = ["MIT,ISC"]
}```
# Future work to be done:
1. Support getting license from file
1. Support custom license file name
1. Support ```*``` allowed license
1. Support checking the source branch and not only the master