mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-01 14:41:32 +00:00
[ACS-10100][Security] Remove npx usage from CI/CD and shell scripts to mitigate supply chain risks. [ACS-10117] Deprecate ADF Storybook and custom Docker builds (#11197)
This commit is contained in:
committed by
GitHub
parent
196b60a7d9
commit
10afe75e94
@@ -39,7 +39,7 @@ LICENSE_GREP_RESULT=`grep "$LICENSE_GREP" "$LICENSE_README"`;
|
||||
if [ -z "$LICENSE_GREP_RESULT" ];
|
||||
then
|
||||
echo -e "\e[33mAdding third party license info for version: $VERSION\e[0m"
|
||||
npx @alfresco/adf-cli licenses
|
||||
adf-cli licenses
|
||||
mv "$ROOTDIR/license-info-$VERSION.md" "$ROOTDIR/docs/license-info/license-info-$VERSION.md"
|
||||
echo $LICENSE_ROW >> $LICENSE_README
|
||||
else
|
||||
@@ -54,7 +54,7 @@ VULNERABILITY_GREP_RESULT=`grep "$VULNERABILITY_GREP" "$VULNERABILITY_README"`;
|
||||
if [ -z "$VULNERABILITY_GREP_RESULT" ];
|
||||
then
|
||||
echo -e "\e[33mAdding vulnerability info for version: $VERSION\e[0m"
|
||||
npx @alfresco/adf-cli@alpha audit
|
||||
adf-cli audit
|
||||
mv "$ROOTDIR/audit-info-$VERSION.md" "$ROOTDIR/docs/vulnerability/audit-info-$VERSION.md"
|
||||
echo $VULNERABILITY_ROW >> $VULNERABILITY_README
|
||||
else
|
||||
|
Reference in New Issue
Block a user