File tree Expand file tree Collapse file tree
Plugins/BrowserStackAccessibilityLint Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 runs-on : ubuntu-latest
2727
2828 container :
29- # A Docker image with Semgrep installed. Do not change this.
30- image : returntocorp/semgrep
29+ # Pinned by digest for supply-chain integrity (DEVA11Y-476).
30+ # To update: docker manifest inspect returntocorp/semgrep:latest
31+ image : returntocorp/semgrep@sha256:f682953ce85e3725f4a4dd94bd7ad13e570bb6b2c7a8cf7c6e38a9eac89239b2
3132
3233 # Skip any PR created by dependabot to avoid permission issues:
3334 if : (github.actor != 'dependabot[bot]')
Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ private struct BrowserStackCLIDownloader {
342342 private func defaultDownloadURL( ) throws -> URL {
343343 let os = try currentOSName ( )
344344 let arch = try currentArchName ( )
345- guard let url = URL ( string: " http ://api.browserstack.com/sdk/v1/download_cli?os=\( os) &os_arch= \( arch) " ) else {
345+ guard let url = URL ( string: " https ://api.browserstack.com/sdk/v1/download_cli?os=\( os) &os_arch= \( arch) " ) else {
346346 throw PluginError ( " Failed to create download URL for \( os) \( arch) . " )
347347 }
348348 return url
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ script_self_update() {
8888}
8989
9090download_binary () {
91- curl -R -z " $BINARY_ZIP_PATH " -L " http ://api.browserstack.com/sdk/v1/download_cli?os=${OS} &os_arch=${ARCH} " -o " $BINARY_ZIP_PATH "
91+ curl -R -z " $BINARY_ZIP_PATH " -L " https ://api.browserstack.com/sdk/v1/download_cli?os=${OS} &os_arch=${ARCH} " -o " $BINARY_ZIP_PATH "
9292 bsdtar -xvf " $BINARY_ZIP_PATH " -O > " $BINARY_PATH " && chmod 0775 " $BINARY_PATH "
9393}
9494
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ script_self_update() {
100100}
101101
102102download_binary () {
103- curl -R -z " $BINARY_ZIP_PATH " -L " http ://api.browserstack.com/sdk/v1/download_cli?os=${OS} &os_arch=${ARCH} " -o " $BINARY_ZIP_PATH "
103+ curl -R -z " $BINARY_ZIP_PATH " -L " https ://api.browserstack.com/sdk/v1/download_cli?os=${OS} &os_arch=${ARCH} " -o " $BINARY_ZIP_PATH "
104104 bsdtar -xvf " $BINARY_ZIP_PATH " -O > " $BINARY_PATH " && chmod 0775 " $BINARY_PATH "
105105}
106106
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ script_self_update() {
9999}
100100
101101download_binary () {
102- curl -R -z " $BINARY_ZIP_PATH " -L " http ://api.browserstack.com/sdk/v1/download_cli?os=${OS} &os_arch=${ARCH} " -o " $BINARY_ZIP_PATH "
102+ curl -R -z " $BINARY_ZIP_PATH " -L " https ://api.browserstack.com/sdk/v1/download_cli?os=${OS} &os_arch=${ARCH} " -o " $BINARY_ZIP_PATH "
103103 bsdtar -xvf " $BINARY_ZIP_PATH " -O > " $BINARY_PATH " && chmod 0775 " $BINARY_PATH "
104104}
105105
You can’t perform that action at this time.
0 commit comments