mirror of
https://github.com/ivuorinen/gh-action-readme.git
synced 2026-02-07 02:46:37 +00:00
Initial commit
This commit is contained in:
37
testdata/example-action/README.md
vendored
Normal file
37
testdata/example-action/README.md
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
# Example Action
|
||||
|
||||
|
||||
> Test Action for gh-action-readme
|
||||
|
||||
## Usage
|
||||
|
||||
```yaml
|
||||
- uses: ivuorinen/gh-action-readme/example-action@v1
|
||||
with:
|
||||
input1: # First input (default: foo)
|
||||
input2: # Second input
|
||||
```
|
||||
|
||||
## Inputs
|
||||
|
||||
|
||||
- **input1**: First input (**required**) (default: foo)
|
||||
|
||||
- **input2**: Second input
|
||||
|
||||
|
||||
|
||||
## Outputs
|
||||
|
||||
|
||||
- **result**: Result output
|
||||
|
||||
|
||||
|
||||
## Example
|
||||
|
||||
See the [action.yml](./action.yml) for a full reference.
|
||||
|
||||
---
|
||||
|
||||
*Auto-generated by [gh-action-readme](https://github.com/ivuorinen/gh-action-readme)*
|
||||
20
testdata/example-action/action.yml
vendored
Normal file
20
testdata/example-action/action.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Example Action
|
||||
description: 'Test Action for gh-action-readme'
|
||||
inputs:
|
||||
input1:
|
||||
description: First input
|
||||
required: true
|
||||
default: foo
|
||||
input2:
|
||||
description: Second input
|
||||
required: false
|
||||
outputs:
|
||||
result:
|
||||
description: Result output
|
||||
runs:
|
||||
using: "node20"
|
||||
main: "dist/index.js"
|
||||
branding:
|
||||
icon: check
|
||||
color: green
|
||||
|
||||
9
testdata/example-action/config.yaml
vendored
Normal file
9
testdata/example-action/config.yaml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# Action-specific configuration
|
||||
theme: "github"
|
||||
variables:
|
||||
action_specific: "This is action-specific config"
|
||||
permissions:
|
||||
contents: read
|
||||
runs_on:
|
||||
- "ubuntu-latest"
|
||||
- "macos-latest"
|
||||
Reference in New Issue
Block a user