We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78b01eb commit 817bafcCopy full SHA for 817bafc
.github/workflows/scripts/e2e-utils.sh
@@ -57,9 +57,12 @@ e2e_npm_package_name() {
57
# Convert the test workflow file name to the package name.
58
# remove the file extension
59
package_name="$(e2e_this_file | rev | cut -d'.' -f2- | rev)"
60
+ has_scope=$(e2e_this_file | cut -d '.' -f5 | grep -v unscoped || true)
61
# convert periods to hyphen
62
package_name="${package_name//./-}"
- package_name="@slsa-framework/${package_name}"
63
+ if [[ -z "$has_scope" ]]; then
64
+ package_name="@slsa-framework/${package_name}"
65
+ fi
66
echo "${package_name}"
67
}
68
0 commit comments