Skip to content

Commit

Permalink
Update license-compliance.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
samsemasen committed Jul 17, 2024
1 parent 25cccde commit 734c866
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/license-compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ jobs:
- name: 'Compare Dependency licenses'
id: compare-dependency-licenses
run: |
dependency_licenses=${{ steps.parse-dependency-licenses.outputs.dependency-licenses }}
dependency_licenses=$(cat dependency_licenses.json)
echo "Dependency licenses content:"
echo "${dependency_licenses}"
permitted_licenses="MIT,Apache-2.0,BSD,EPL1"
non_compliant_packages=""
for package in $(echo "${dependency_licenses}" | jq -r '.[] | .Package')
Expand All @@ -58,6 +61,7 @@ jobs:
exit 1
fi
- name: 'Upload Dependency License Report'
if: always()
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 734c866

Please sign in to comment.