Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/crates-package-preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,13 @@
- name: Install dependency maintenance tools
uses: taiki-e/install-action@75a7c0f87bd666af3cdb75c5b9e9d03ab6044e6f # v2.90.6
with:
tool: cargo-audit@0.23.0,cargo-outdated@0.19.0
tool: cargo-audit@0.23.0
fallback: none

- name: Install cargo-outdated
run: cargo +1.100.0 install cargo-outdated --version '=0.19.0' --locked

- name: Authenticate release-readiness package

Check failure

Code scanning / CodeQL

Cache Poisoning via execution of untrusted code High

Potential cache poisoning in the context of the default branch due to privilege checkout of untrusted code from
steps.source.outputs.sha
. (
workflow_dispatch
).
run: node scripts/run_pinned_release_readiness.mjs --check-pins

- name: Reject private files in release source history
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/kotlin-android-package-preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,13 @@
- name: Install dependency maintenance tools
uses: taiki-e/install-action@75a7c0f87bd666af3cdb75c5b9e9d03ab6044e6f # v2.90.6
with:
tool: cargo-audit@0.23.0,cargo-outdated@0.19.0
tool: cargo-audit@0.23.0
fallback: none

- name: Install cargo-outdated
run: cargo +1.100.0 install cargo-outdated --version '=0.19.0' --locked

- name: Authenticate release-readiness package

Check failure

Code scanning / CodeQL

Cache Poisoning via execution of untrusted code High

Potential cache poisoning in the context of the default branch due to privilege checkout of untrusted code from
steps.source.outputs.sha
. (
workflow_dispatch
).
run: node scripts/run_pinned_release_readiness.mjs --check-pins

- name: Reject private files in release source history
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/npm-package-preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,13 @@
- name: Install dependency maintenance tools
uses: taiki-e/install-action@75a7c0f87bd666af3cdb75c5b9e9d03ab6044e6f # v2.90.6
with:
tool: cargo-audit@0.23.0,cargo-outdated@0.19.0
tool: cargo-audit@0.23.0
fallback: none

- name: Install cargo-outdated
run: cargo +1.100.0 install cargo-outdated --version '=0.19.0' --locked

- name: Authenticate release-readiness package

Check failure

Code scanning / CodeQL

Cache Poisoning via execution of untrusted code High

Potential cache poisoning in the context of the default branch due to privilege checkout of untrusted code from
steps.source.outputs.sha
. (
workflow_dispatch
).
run: node scripts/run_pinned_release_readiness.mjs --check-pins

- name: Reject private files in release source history
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/swift-package-preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,13 @@
- name: Install dependency maintenance tools
uses: taiki-e/install-action@75a7c0f87bd666af3cdb75c5b9e9d03ab6044e6f # v2.90.6
with:
tool: cargo-audit@0.23.0,cargo-outdated@0.19.0
tool: cargo-audit@0.23.0
fallback: none

- name: Install cargo-outdated
run: cargo +1.100.0 install cargo-outdated --version '=0.19.0' --locked

- name: Authenticate release-readiness package

Check failure

Code scanning / CodeQL

Cache Poisoning via execution of untrusted code High

Potential cache poisoning in the context of the default branch due to privilege checkout of untrusted code from
steps.source.outputs.sha
. (
workflow_dispatch
).
run: node scripts/run_pinned_release_readiness.mjs --check-pins

- name: Reject private files in release source history
Expand Down
5 changes: 4 additions & 1 deletion scripts/repository_privacy_workflows.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ for (const [name, packageBoundaries] of workflows) {
const maintenanceTools = source.indexOf(" - name: Install dependency maintenance tools\n");
assert.ok(maintenanceTools > runner && maintenanceTools < admission);
const verificationJob = source.slice(maintenanceTools, admission);
assert.match(verificationJob, /tool: cargo-audit@0\.23\.0,cargo-outdated@0\.19\.0/u);
assert.match(verificationJob, /tool: cargo-audit@0\.23\.0\r?\n/u);
assert.match(verificationJob, /fallback: none/u);
assert.doesNotMatch(verificationJob, /tool:.*cargo-outdated/u);
assert.match(verificationJob,
/run: cargo \+1\.100\.0 install cargo-outdated --version '=0\.19\.0' --locked/u);
}
const checks = source.match(/- name: Verify publication privacy/gu) ?? [];
assert.equal(checks.length, packageBoundaries + (name.includes("preflight") ? 1 : 0));
Expand Down
Loading