Simplify secrets table: just the action input name, not full YAML
The caller already knows how to wire secrets.X into with: inputs; the table only needs to name the input, not repeat the secret name in a YAML snippet.
This commit is contained in:
parent
2a230c7793
commit
48110cb715
1 changed files with 5 additions and 5 deletions
|
|
@ -121,9 +121,9 @@ Each action (or group) must have a `README.md` covering:
|
|||
copy-paste without deciding:
|
||||
|
||||
```markdown
|
||||
| Repo secret name | Passed as | Value |
|
||||
| Repo secret name | Action input | Value |
|
||||
|---|---|---|
|
||||
| `FOO_API_TOKEN` | `api-token: ${{ secrets.FOO_API_TOKEN }}` | ... |
|
||||
| `FOO_API_TOKEN` | `api-token` | ... |
|
||||
```
|
||||
|
||||
Follow the table with a subsection per secret documenting:
|
||||
|
|
|
|||
Loading…
Reference in a new issue