Skip to content

Commit

Permalink
Added license check (#1)
Browse files Browse the repository at this point in the history
* Added license check

* fix

* change license

* we use GPL
  • Loading branch information
Fank authored Oct 8, 2024
1 parent d3d76ce commit d91024d
Show file tree
Hide file tree
Showing 3 changed files with 718 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
33 changes: 33 additions & 0 deletions .github/workflows/license_python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: License Python

on:
push:
branches:
- main
- master
pull_request:

jobs:
license-check:
runs-on: ubuntu-latest
name: License Check
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Install licensecheck
run: pip install licensecheck

- name: Check licenses
run: >
licensecheck
--license GPL
--format markdown
--zero
>> $GITHUB_STEP_SUMMARY
shell: bash
Loading

0 comments on commit d91024d

Please sign in to comment.