aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar TizzySaurus <[email protected]>2021-11-01 21:32:37 +0000
committerGravatar GitHub <[email protected]>2021-11-01 21:32:37 +0000
commit872185c7ad1597c54c748feaf8cd2d1772100c69 (patch)
treef1d102f4b35083eb0b1a707980530fd82c828a95 /.github
parentAddress Reviews V2 (diff)
parentMerge pull request #931 from hedyhli/candy (diff)
Merge branch 'main' into reorder-hacktoberfest-commandsreorder-hacktoberfest-commands
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yaml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
index 81706e1e..756b3c16 100644
--- a/.github/workflows/lint.yaml
+++ b/.github/workflows/lint.yaml
@@ -74,12 +74,14 @@ jobs:
pip install poetry
poetry install --no-interaction --no-ansi
- # Check all the dependencies are compatible with the MIT license.
+ # Check all of our dev dependencies are compatible with the MIT license.
# If you added a new dependencies that is being rejected,
# please make sure it is compatible with the license for this project,
# and add it to the ALLOWED_LICENSE variable
- name: Check Dependencies License
- run: pip-licenses --allow-only="$ALLOWED_LICENSES"
+ run: |
+ pip-licenses --allow-only="$ALLOWED_LICENSE" \
+ --package $(poetry export -f requirements.txt --without-hashes | sed "s/==.*//g" | tr "\n" " ")
# This step caches our pre-commit environment. To make sure we
# do create a new environment when our pre-commit setup changes,