diff --git a/.github/workflows/rebuild.yml b/.github/workflows/rebuild.yml index c37910a779..cd8207b539 100644 --- a/.github/workflows/rebuild.yml +++ b/.github/workflows/rebuild.yml @@ -108,6 +108,14 @@ jobs: id: push run: | if [ ! -z "$(git status --porcelain)" ]; then + echo "Adding diff to workflow summary" + echo "### Rebuild diff" >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + echo '```diff' >> $GITHUB_STEP_SUMMARY + git diff --output="$RUNNER_TEMP/rebuild.diff" + cat "$RUNNER_TEMP/rebuild.diff" >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + echo "Changes detected, committing and pushing." git add --all # If the merge originally had conflicts, finish the merge. diff --git a/lib/entry-points.js b/lib/entry-points.js index e0c268fa36..e916ad0718 100644 --- a/lib/entry-points.js +++ b/lib/entry-points.js @@ -115079,7 +115079,7 @@ var require_follow_redirects = __commonJS({ options.headers[headerList[i]] = headerList[i + 1]; } } - if (!isArray2(options.sensitiveHeaders)) { + if (!Array.isArray(options.sensitiveHeaders)) { options.sensitiveHeaders = []; } if (options.host) { @@ -115336,9 +115336,6 @@ var require_follow_redirects = __commonJS({ var dot = subdomain.length - domain.length - 1; return dot > 0 && subdomain[dot] === "." && subdomain.endsWith(domain); } - function isArray2(value) { - return value instanceof Array; - } function isString3(value) { return typeof value === "string" || value instanceof String; } diff --git a/package-lock.json b/package-lock.json index a33fe28719..134952c278 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "@octokit/plugin-rest-endpoint-methods": "^18.0.0", "@octokit/plugin-retry": "^8.1.1", "archiver": "^8.0.0", - "follow-redirects": "^1.16.1", + "follow-redirects": "^1.16.2", "get-folder-size": "^5.0.0", "https-proxy-agent": "^7.0.6", "js-yaml": "^5.5.0", @@ -6052,9 +6052,9 @@ "license": "ISC" }, "node_modules/follow-redirects": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.1.tgz", - "integrity": "sha512-FNvFGzoMLWmE6Yj9spb/zjd7yiNCHiAW9/Tg9CXrQ8wuu32HtlJOwWO11OJafl5FfY3DxTdQ0vj42zU1kvv5jg==", + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.2.tgz", + "integrity": "sha512-/kVP2U8z596Ia0gwFrwyIeo74ta5aVmSeU1FfAUMAmcEP5EP7zydmag3SLiN64NaRKef3lxsq7i/g7ltJQDGow==", "funding": [ { "type": "individual", diff --git a/package.json b/package.json index 93429872c3..4765dffc51 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@octokit/plugin-rest-endpoint-methods": "^18.0.0", "@octokit/plugin-retry": "^8.1.1", "archiver": "^8.0.0", - "follow-redirects": "^1.16.1", + "follow-redirects": "^1.16.2", "get-folder-size": "^5.0.0", "https-proxy-agent": "^7.0.6", "js-yaml": "^5.5.0",