mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 06:41:14 -03:00
github actions: fix warning about unexpected inputs
CI runs show warnings like ubuntu-32bit-static-pcre2 Unexpected input(s) 'targets', valid inputs are [''] This is about the rust-toolchain action, which is a composite action, see https://docs.github.com/en/actions/tutorials/create-actions/create-a-composite-action not a full workflow https://docs.github.com/en/actions/how-tos/reuse-automations/reuse-workflows Looks like composite actions specify inputs at top level. Also they should not need «on: ["workflow_call"]». The unexpected inputs are still forwared, so it happens to work. Fix the warnings.
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
name: Oldest Supported Rust Toolchain
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
targets:
|
||||
description: Comma-separated list of target triples to install for this toolchain
|
||||
required: false
|
||||
components:
|
||||
description: Comma-separated list of components to be additionally installed
|
||||
required: false
|
||||
inputs:
|
||||
targets:
|
||||
description: Comma-separated list of target triples to install for this toolchain
|
||||
required: false
|
||||
components:
|
||||
description: Comma-separated list of components to be additionally installed
|
||||
required: false
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
Reference in New Issue
Block a user