Skip to content

Commit

Permalink
chore: Upgrade TypeScript actions to Node 20 (#3264)
Browse files Browse the repository at this point in the history
Fixes #3245

Signed-off-by: Ian Lewis <ianlewis@google.com>
  • Loading branch information
ianlewis committed Feb 20, 2024
1 parent b097318 commit 52372c6
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions .github/actions/compute-sha256/action.yml
Expand Up @@ -24,5 +24,5 @@ outputs:
value: "${{ steps.compute.outputs.sha256 }}"

runs:
using: node16
main: 'dist/index.js'
using: "node20"
main: "dist/index.js"
12 changes: 6 additions & 6 deletions .github/actions/create-container_based-predicate/action.yml
Expand Up @@ -16,25 +16,25 @@ name: "Create container-based SLSA predicate"
description: "Creates a container-based SLSA predicate given a BuildDefinition."
inputs:
build-definition:
description: 'A JSON file describing the SLSA BuildDefinition'
description: "A JSON file describing the SLSA BuildDefinition"
required: true
output-file:
description: 'Output file to place predicate'
description: "Output file to place predicate"
required: true
binary-sha256:
description: 'Builder binary digest to place in resolvedDependencies'
description: "Builder binary digest to place in resolvedDependencies"
required: true
binary-uri:
description: 'Builder binary source location to place in resolvedDependencies'
description: "Builder binary source location to place in resolvedDependencies"
required: true
builder-id:
description: 'Trusted builder identity'
description: "Trusted builder identity"
required: true
token:
description: "The GitHub Actions token."
required: false
default: ${{ github.token }}

runs:
using: node16
using: "node20"
main: "dist/index.js"
2 changes: 1 addition & 1 deletion .github/actions/detect-workflow-js/action.yml
Expand Up @@ -28,5 +28,5 @@ outputs:
description: The path to the workflow relative to the repository, for example ".github/workflows/example.yml"

runs:
using: node16
using: "node20"
main: "dist/index.js"
16 changes: 8 additions & 8 deletions .github/actions/generate-attestations/action.yml
Expand Up @@ -12,21 +12,21 @@
# See the License for the specific language governing permissions and
# limitations under the License.

name: 'Generate Attestations'
description: 'Generates in-toto attestations based on a SLSA output layout and a predicate'
name: "Generate Attestations"
description: "Generates in-toto attestations based on a SLSA output layout and a predicate"
inputs:
slsa-layout-file:
description: 'A JSON file describing the SLSA output layout with attestation filename keys and the generated subjects (and digests)'
description: "A JSON file describing the SLSA output layout with attestation filename keys and the generated subjects (and digests)"
required: true
predicate-type:
description: 'A URI defining the type of the predicate, for e.g. https://slsa.dev/provenance/v0.2'
description: "A URI defining the type of the predicate, for e.g. https://slsa.dev/provenance/v0.2"
required: true
predicate-file:
description: 'A JSON file describing the SLSA predicate to attach to the subjects'
description: "A JSON file describing the SLSA predicate to attach to the subjects"
required: true
output-folder:
description: 'Output folder to place attestations'
description: "Output folder to place attestations"
required: true
runs:
using: 'node16'
main: 'dist/index.js'
using: "node20"
main: "dist/index.js"
2 changes: 1 addition & 1 deletion .github/actions/privacy-check/action.yml
Expand Up @@ -33,5 +33,5 @@ outputs:
description: "True if the repository is private."

runs:
using: node16
using: "node20"
main: "dist/index.js"
16 changes: 8 additions & 8 deletions .github/actions/sign-attestations/action.yml
Expand Up @@ -12,19 +12,19 @@
# See the License for the specific language governing permissions and
# limitations under the License.

name: 'Sign Attestations'
description: 'Signs in-toto attestations with Sigstore signing'
name: "Sign Attestations"
description: "Signs in-toto attestations with Sigstore signing"
inputs:
attestations:
description: 'Folder of attestations to sign'
description: "Folder of attestations to sign"
required: true
payload-type:
description: 'The in-toto payload type of the attestations'
description: "The in-toto payload type of the attestations"
required: false
default: 'application/vnd.in-toto+json'
default: "application/vnd.in-toto+json"
output-folder:
description: 'Output folder to place attestations'
description: "Output folder to place attestations"
required: true
runs:
using: 'node16'
main: 'dist/index.js'
using: "node20"
main: "dist/index.js"
2 changes: 1 addition & 1 deletion .github/actions/verify-token/action.yml
Expand Up @@ -49,5 +49,5 @@ outputs:
description: "The tool repository ref taken from the signing certificate."

runs:
using: "node16"
using: "node20"
main: "dist/index.js"
2 changes: 1 addition & 1 deletion actions/delegator/setup-generic/action.yml
Expand Up @@ -88,5 +88,5 @@ outputs:
description: "SLSA token"

runs:
using: "node16"
using: "node20"
main: "dist/index.js"

0 comments on commit 52372c6

Please sign in to comment.