DEV Community

loading...
Cover image for Add License Action

Add License Action

dephraiim profile image Ephraim Atta-Duncan ・1 min read

I looked around github and some projects did not have a License. I guess they were too busy to add one. Open Source is not Open Source without a License.

This is a GitHub Action that automatically add a specified type of Open Source License to a repository that does not have a license with the Author's name and year for the license.

My Workflow

The name of the Github Action is Add License Action. Can be found here. It can be used in any github repo, specifically the ones created locally and pushed without a license.

Submission Category:

Maintainer Must-Haves

Link to Code

GitHub logo dephraiim / license-action

A Github Action to Check and Create Open Source License in a Repo.

Additional Info.

How it works.

The licenses are already written in text files,with variables for Author, Project Name and Year. When the License Type is specified, It creates a copy of the license and replaces it with the available data and commits it.

Discussion (2)

Collapse
delta456 profile image
Swastik Baranwal

Wow nice work

Collapse
dephraiim profile image
Forem Open with the Forem app