[CI][NITPICK] Remove input types invalid syntax (#9596)

## Introduction
Unless I'm mistaken neither the `inputs.type` or `inputs.type` syntax
exists for `composite actions`.
By default it seems like any `Composite action` inputs are considered as
`string`.
```yml
name: Nx Affected CI
inputs:
  parallel:
    required: false
    types: [number]
    default: 3
  tag:
    required: false
    types: [string]
  tasks:
    required: true
    types: [string]
```

## Suggestion
To avoid misunderstanding of our composite actions inputs signature I
would recommend removing any `type` props but also default any inputs as
`strings`

## Misc
- Please find related GitHub community discussion
https://github.com/orgs/community/discussions/65588
This commit is contained in:
Paul Rastoin
2025-01-14 12:23:37 +01:00
committed by GitHub
parent 459d0b18cf
commit 5d09bd4b93
3 changed files with 1 additions and 8 deletions

View File

@ -2,14 +2,11 @@ name: Nx Affected CI
inputs:
parallel:
required: false
types: [number]
default: 3
default: '3'
tag:
required: false
types: [string]
tasks:
required: true
types: [string]
runs:
using: "composite"

View File

@ -3,10 +3,8 @@ inputs:
key:
required: true
description: Prefix to the cache key
type: string
additional-paths:
required: false
type: string
outputs:
cache-primary-key:
description: actions/cache/restore cache-primary-key outputs proxy

View File

@ -3,10 +3,8 @@ inputs:
key:
required: true
description: Primary key to the cache, should be retrieved from `cache-restore` composite action outputs.
type: string
additional-paths:
required: false
type: string
runs:
using: "composite"