File tree Expand file tree Collapse file tree 6 files changed +540
-657
lines changed Expand file tree Collapse file tree 6 files changed +540
-657
lines changed Original file line number Diff line number Diff line change
1
+ allow-licenses :
2
+ - ' Apache-1.1'
3
+ - ' Apache-2.0'
4
+ - ' MIT'
5
+ - ' MIT-0'
6
+ - ' MIT-CMU'
7
+ - ' MIT-enna'
8
+ - ' MIT-feh'
9
+ - ' MIT-Festival'
10
+ - ' MIT-Modern-Variant'
11
+ - ' MIT-open-group'
12
+ - ' MIT-testregex'
13
+ - ' MIT-Wu'
14
+ - ' BSD-1-Clause'
15
+ - ' BSD-2-Clause'
16
+ - ' BSD-2-Clause-Views'
17
+ - ' BSD-3-Clause'
18
+ - ' BSD-3-Clause-Attribution'
19
+ - ' BSD-3-Clause-Clear'
20
+ - ' BSD-3-Clause-flex'
21
+ - ' BSD-3-Clause-HP'
22
+ - ' BSD-3-Clause-LBNL'
23
+ - ' BSD-3-Clause-Modification'
24
+ - ' BSD-3-Clause-No-Military-License'
25
+ - ' BSD-3-Clause-No-Nuclear-License'
26
+ - ' BSD-3-Clause-No-Nuclear-License-2014'
27
+ - ' BSD-3-Clause-No-Nuclear-Warranty'
28
+ - ' BSD-3-Clause-Open-MPI'
29
+ - ' Python-2.0'
30
+ - ' Python-2.0.1'
31
+ - ' ISC'
32
+ - ' MPL-1.1'
33
+ - ' MPL-2.0'
34
+ comment-summary-in-pr : on-failure
35
+ fail-on-scopes : runtime
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ permissions:
15
15
jobs :
16
16
dependency-review :
17
17
runs-on : ubuntu-latest
18
+ permissions :
19
+ contents : read
20
+ pull-requests : write
18
21
steps :
19
22
- name : ' Checkout Repository'
20
23
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Original file line number Diff line number Diff line change 61
61
python-version : ${{ matrix.python-version }}
62
62
- name : Install dependencies
63
63
run : make dev-quality-code
64
- - name : Checking third-party library licenses
65
- run : make check-licenses
66
64
- name : Checking and enforcing format
67
65
run : make format-check
68
66
- name : Formatting and Linting
Original file line number Diff line number Diff line change 1
- .PHONY : target dev format lint test coverage-html pr build build-docs build-docs-website check-licenses
1
+ .PHONY : target dev format lint test coverage-html pr build build-docs build-docs-website
2
2
.PHONY : docs-local security-baseline complexity-baseline release-prod release-test release
3
3
4
4
target :
@@ -21,10 +21,6 @@ dev-gitpod:
21
21
poetry install --extras " all redis datamasking valkey"
22
22
pre-commit install
23
23
24
- # Running licensecheck with zero to break the pipeline if there is an invalid license
25
- check-licenses :
26
- poetry run licensecheck -u poetry:dev
27
-
28
24
format-check :
29
25
poetry run ruff format aws_lambda_powertools tests examples --check
30
26
@@ -62,7 +58,7 @@ coverage-html:
62
58
pre-commit :
63
59
pre-commit run --show-diff-on-failure
64
60
65
- pr : lint lint-docs mypy pre-commit check-licenses test security-baseline complexity-baseline
61
+ pr : lint lint-docs mypy pre-commit test security-baseline complexity-baseline
66
62
67
63
build : pr
68
64
poetry build
You can’t perform that action at this time.
0 commit comments