Skip to content

aufdenpunkt/python-license-check-action

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

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python license check action

This GitHub action is helpful to check and manage licenses of required python dependencies using liccheck.

Workflow integration

You can use this action in a workflow, to check licenses of required python dependencies. It is using the python package liccheck.

Example configuration:

name: Python license check action

on:
  push:
    branches:
      - main

env:
  DEP_PATH: requirements.txt

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Check out master
        uses: actions/checkout@master

      - name: Python License Check
        uses: aufdenpunkt/python-license-check-action@main

ENV variables

To let the script know, where your requirements.txt file located is, you have to set the DEP_PATH environment variable. See the example above.

Workflow customization

See full instructions for Configuring and managing workflows.

For help editing the YAML file, see Workflow syntax for GitHub Actions.

About

This GitHub action is helpful to check licenses of required python packages using liccheck

Resources

License

Stars

Watchers

Forks

Packages

No packages published