mirror of
https://github.com/ivuorinen/gh-action-readme.git
synced 2026-02-04 00:44:44 +00:00
* chore(lint): funcorder * chore(lint): yamlfmt, ignored broken test yaml files * chore(tests): tests do not output garbage, add coverage * chore(lint): fix editorconfig violations * chore(lint): move from eclint to editorconfig-checker * chore(lint): add pre-commit, run and fix * chore(ci): we use renovate to manage updates
38 lines
923 B
YAML
38 lines
923 B
YAML
---
|
|
name: 'Comprehensive JavaScript Action'
|
|
description: 'A JavaScript action with all possible fields for testing'
|
|
author: 'Test Author <test@example.com>'
|
|
inputs:
|
|
required-input:
|
|
description: 'A required input parameter'
|
|
required: true
|
|
optional-input:
|
|
description: 'An optional input parameter'
|
|
required: false
|
|
default: 'default-value'
|
|
boolean-input:
|
|
description: 'A boolean input parameter'
|
|
required: false
|
|
default: 'false'
|
|
number-input:
|
|
description: 'A numeric input parameter'
|
|
required: false
|
|
default: '42'
|
|
outputs:
|
|
success:
|
|
description: 'Whether the action succeeded'
|
|
message:
|
|
description: 'Output message from the action'
|
|
data:
|
|
description: 'JSON data output'
|
|
runs:
|
|
using: 'node20'
|
|
main: 'dist/index.js'
|
|
pre: 'dist/pre.js'
|
|
post: 'dist/post.js'
|
|
pre-if: 'always()'
|
|
post-if: 'always()'
|
|
branding:
|
|
icon: 'check-circle'
|
|
color: 'purple'
|