diff options
| author | 2021-09-03 14:29:39 -0700 | |
|---|---|---|
| committer | 2021-09-03 14:29:39 -0700 | |
| commit | 15154cd2a6f548127fc1d7557e2949521c95eb26 (patch) | |
| tree | b04c1a229034f3f61efb9c584e4aef2f9bfcd6ea /.github | |
| parent | Pop user from talent pool cache when unnominated (diff) | |
| parent | Merge pull request #1796 from Numerlor/doc-default-base_url (diff) | |
Merge branch 'main' into ks123/goodbye-talentpool-channel
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/lint-test.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/lint-test.yml b/.github/workflows/lint-test.yml index e99e6d181..ac7e47f0e 100644 --- a/.github/workflows/lint-test.yml +++ b/.github/workflows/lint-test.yml @@ -11,6 +11,17 @@ jobs: lint-test: runs-on: ubuntu-latest env: + # List of licenses that are compatible with the MIT License and + # can be used in our project + ALLOWED_LICENSE: Apache Software License; + BSD License; + GNU Library or Lesser General Public License (LGPL); + ISC License (ISCL); + MIT License; + Mozilla Public License 2.0 (MPL 2.0); + Public Domain; + Python Software Foundation License + # Dummy values for required bot environment variables BOT_API_KEY: foo BOT_SENTRY_DSN: blah @@ -67,6 +78,13 @@ jobs: pip install poetry poetry install + # Check all the 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_LICENSE" + # This step caches our pre-commit environment. To make sure we # do create a new environment when our pre-commit setup changes, # we create a cache key based on relevant factors. |