Skip to content
Closed
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
2 changes: 1 addition & 1 deletion .github/actions/check-sarif/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ inputs:
Comma separated list of query ids that should NOT be included in this SARIF file.

runs:
using: node16
using: node20
main: index.js
2 changes: 1 addition & 1 deletion analyze/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ outputs:
sarif-id:
description: The ID of the uploaded SARIF file.
runs:
using: "node16"
using: "node20"
main: "../lib/analyze-action.js"
post: "../lib/analyze-action-post.js"
2 changes: 1 addition & 1 deletion autobuild/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ inputs:
$GITHUB_WORKSPACE as its working directory.
required: false
runs:
using: 'node16'
using: 'node20'
main: '../lib/autobuild-action.js'
4 changes: 2 additions & 2 deletions init/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ inputs:
db-location:
description: Path where CodeQL databases should be created. If not specified, a temporary directory will be used.
required: false
config:
config:
description: Configuration passed as a YAML string in the same format as the config-file input. This takes precedence over the config-file input.
required: false
queries:
Expand Down Expand Up @@ -108,6 +108,6 @@ outputs:
codeql-path:
description: The path of the CodeQL binary used for analysis
runs:
using: 'node16'
using: 'node20'
main: '../lib/init-action.js'
post: '../lib/init-action-post.js'
2 changes: 1 addition & 1 deletion resolve-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ outputs:
environment:
description: The inferred build environment configuration.
runs:
using: 'node16'
using: 'node20'
main: '../lib/resolve-environment-action.js'
14 changes: 7 additions & 7 deletions src/init-action-post-helper.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ test("uploads failed SARIF run with `diagnostics export` if feature flag is off"
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v3",
uses: "actions/checkout@v4",
},
{
name: "Initialize CodeQL",
Expand All @@ -111,7 +111,7 @@ test("uploads failed SARIF run with `diagnostics export` if the database doesn't
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v3",
uses: "actions/checkout@v4",
},
{
name: "Initialize CodeQL",
Expand All @@ -138,7 +138,7 @@ test("uploads failed SARIF run with database export-diagnostics if the database
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v3",
uses: "actions/checkout@v4",
},
{
name: "Initialize CodeQL",
Expand Down Expand Up @@ -195,7 +195,7 @@ for (const { uploadInput, shouldUpload } of UPLOAD_INPUT_TEST_CASES) {
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v3",
uses: "actions/checkout@v4",
},
{
name: "Initialize CodeQL",
Expand Down Expand Up @@ -230,7 +230,7 @@ test("uploading failed SARIF run succeeds when workflow uses an input with a mat
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v3",
uses: "actions/checkout@v4",
},
{
name: "Initialize CodeQL",
Expand All @@ -257,7 +257,7 @@ test("uploading failed SARIF run fails when workflow uses a complex upload input
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v3",
uses: "actions/checkout@v4",
},
{
name: "Initialize CodeQL",
Expand Down Expand Up @@ -288,7 +288,7 @@ test("uploading failed SARIF run fails when workflow does not reference github/c
const actionsWorkflow = createTestWorkflow([
{
name: "Checkout repository",
uses: "actions/checkout@v3",
uses: "actions/checkout@v4",
},
]);
const result = await testFailedSarifUpload(t, actionsWorkflow, {
Expand Down
2 changes: 1 addition & 1 deletion upload-sarif/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ outputs:
sarif-id:
description: The ID of the uploaded SARIF file.
runs:
using: 'node16'
using: 'node20'
main: '../lib/upload-sarif-action.js'