-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from d-party/f/licenses-check
ライセンスチェックの追加
- Loading branch information
Showing
5 changed files
with
174 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: LicenseCheck | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
license-check: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: run docker-compose | ||
run: | | ||
docker-compose up -d | ||
- name: init containers | ||
run: | | ||
docker-compose exec -T django poetry run python manage.py makemigrations | ||
docker-compose exec -T django poetry run python manage.py makemigrations streamer | ||
docker-compose exec -T django poetry run python manage.py migrate | ||
docker-compose exec -T django poetry run python manage.py collectstatic --noinput | ||
- name: check licenses | ||
run: > | ||
docker-compose exec -T django poetry run pip-licenses | ||
--with-system | ||
--allow-only=" | ||
Apache Software License; | ||
BSD License;BSD; | ||
Freeware; | ||
GNU General Public License (GPL); | ||
GNU Lesser General Public License v3 or later (LGPLv3+); | ||
MIT License; | ||
MIT; | ||
Mozilla Public License 2.0 (MPL 2.0); | ||
Python Software Foundation License; | ||
UNKNOWN; | ||
Zope Public License; | ||
" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters