Skip to content

Commit 52372c6

Browse files
authored
chore: Upgrade TypeScript actions to Node 20 (#3264)
Fixes #3245 Signed-off-by: Ian Lewis <[email protected]>
1 parent b097318 commit 52372c6

File tree

8 files changed

+28
-28
lines changed

8 files changed

+28
-28
lines changed

.github/actions/compute-sha256/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ outputs:
2424
value: "${{ steps.compute.outputs.sha256 }}"
2525

2626
runs:
27-
using: node16
28-
main: 'dist/index.js'
27+
using: "node20"
28+
main: "dist/index.js"

.github/actions/create-container_based-predicate/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,25 @@ name: "Create container-based SLSA predicate"
1616
description: "Creates a container-based SLSA predicate given a BuildDefinition."
1717
inputs:
1818
build-definition:
19-
description: 'A JSON file describing the SLSA BuildDefinition'
19+
description: "A JSON file describing the SLSA BuildDefinition"
2020
required: true
2121
output-file:
22-
description: 'Output file to place predicate'
22+
description: "Output file to place predicate"
2323
required: true
2424
binary-sha256:
25-
description: 'Builder binary digest to place in resolvedDependencies'
25+
description: "Builder binary digest to place in resolvedDependencies"
2626
required: true
2727
binary-uri:
28-
description: 'Builder binary source location to place in resolvedDependencies'
28+
description: "Builder binary source location to place in resolvedDependencies"
2929
required: true
3030
builder-id:
31-
description: 'Trusted builder identity'
31+
description: "Trusted builder identity"
3232
required: true
3333
token:
3434
description: "The GitHub Actions token."
3535
required: false
3636
default: ${{ github.token }}
3737

3838
runs:
39-
using: node16
39+
using: "node20"
4040
main: "dist/index.js"

.github/actions/detect-workflow-js/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ outputs:
2828
description: The path to the workflow relative to the repository, for example ".github/workflows/example.yml"
2929

3030
runs:
31-
using: node16
31+
using: "node20"
3232
main: "dist/index.js"

.github/actions/generate-attestations/action.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
name: 'Generate Attestations'
16-
description: 'Generates in-toto attestations based on a SLSA output layout and a predicate'
15+
name: "Generate Attestations"
16+
description: "Generates in-toto attestations based on a SLSA output layout and a predicate"
1717
inputs:
1818
slsa-layout-file:
19-
description: 'A JSON file describing the SLSA output layout with attestation filename keys and the generated subjects (and digests)'
19+
description: "A JSON file describing the SLSA output layout with attestation filename keys and the generated subjects (and digests)"
2020
required: true
2121
predicate-type:
22-
description: 'A URI defining the type of the predicate, for e.g. https://slsa.dev/provenance/v0.2'
22+
description: "A URI defining the type of the predicate, for e.g. https://slsa.dev/provenance/v0.2"
2323
required: true
2424
predicate-file:
25-
description: 'A JSON file describing the SLSA predicate to attach to the subjects'
25+
description: "A JSON file describing the SLSA predicate to attach to the subjects"
2626
required: true
2727
output-folder:
28-
description: 'Output folder to place attestations'
28+
description: "Output folder to place attestations"
2929
required: true
3030
runs:
31-
using: 'node16'
32-
main: 'dist/index.js'
31+
using: "node20"
32+
main: "dist/index.js"

.github/actions/privacy-check/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ outputs:
3333
description: "True if the repository is private."
3434

3535
runs:
36-
using: node16
36+
using: "node20"
3737
main: "dist/index.js"

.github/actions/sign-attestations/action.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
name: 'Sign Attestations'
16-
description: 'Signs in-toto attestations with Sigstore signing'
15+
name: "Sign Attestations"
16+
description: "Signs in-toto attestations with Sigstore signing"
1717
inputs:
1818
attestations:
19-
description: 'Folder of attestations to sign'
19+
description: "Folder of attestations to sign"
2020
required: true
2121
payload-type:
22-
description: 'The in-toto payload type of the attestations'
22+
description: "The in-toto payload type of the attestations"
2323
required: false
24-
default: 'application/vnd.in-toto+json'
24+
default: "application/vnd.in-toto+json"
2525
output-folder:
26-
description: 'Output folder to place attestations'
26+
description: "Output folder to place attestations"
2727
required: true
2828
runs:
29-
using: 'node16'
30-
main: 'dist/index.js'
29+
using: "node20"
30+
main: "dist/index.js"

.github/actions/verify-token/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ outputs:
4949
description: "The tool repository ref taken from the signing certificate."
5050

5151
runs:
52-
using: "node16"
52+
using: "node20"
5353
main: "dist/index.js"

actions/delegator/setup-generic/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,5 @@ outputs:
8888
description: "SLSA token"
8989

9090
runs:
91-
using: "node16"
91+
using: "node20"
9292
main: "dist/index.js"

0 commit comments

Comments
 (0)