Skip to content

License Existence Checker is a GitHub Action with a simple purpose - to check for the existence of a LICENSE file. πŸ“

License

Notifications You must be signed in to change notification settings

Gary-H9/license-existence-checker

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

33 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

License Existence Checker (LEC) πŸ“

GitHub Marketplace

License Existence Checker is a GitHub Action with a simple purpose - to check for the existence of a LICENSE file.

This is particularly useful in large organisations, with many repositories which should all adhere to a common licensing standard.

Conditions:

  • the Action only looks in the root of the repository and checks for the existence of the LICENSE file there.
  • the Action does not care about the contents of the LICENSE file, as such an empty file called LICENSE will result in the Action running successfully.
  • the Action is case sensitive and only tests for "LICENSE".

Prerequisites

To use this Action first call the checkout action. For example:

jobs:
  existence:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Code
        uses: actions/checkout@v3
      - name: LICENSE Existence Checker
        uses: Gary-H9/[email protected]

Future Features ✨

In the event of a failure the Action will create a Pull Request or Issue on the repository it is ran on, requesting that the LICENSE file be created.

About

License Existence Checker is a GitHub Action with a simple purpose - to check for the existence of a LICENSE file. πŸ“

Resources

License

Stars

Watchers

Forks

Packages

No packages published