DEV Community

Cover image for Add License Action
Ephraim Duncan
Ephraim Duncan

Posted on

4 2

Add License Action

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 ephraimduncan / 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.

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (2)

Collapse
 
delta456 profile image
Swastik Baranwal

Wow nice work

Collapse
 
ephraimduncan profile image
Ephraim Duncan

Thanks

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay