insidewhy/action-body-fields
Add fields to github PR body
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Nov 28, 2024
- License
- MIT
Pinned Snippet
uses: insidewhy/action-body-fields@bce3e75dc8faafdb034ce8346feb21055ad343a2 # v1.3.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| fields | Fields to prepend, one per line in format "key: value" | — | — |
| github-token | Github token used for amending body | — | ${{ github.token }} |
| issue-number | Issue id to attach comment to | — | ${{ github.event.number }} |
| repository | The github repository in the form ${organisation}/${repository} | — | ${{ github.repository }} |
| prepend | Prepend new fields | no | — |
| append-to-values | Append the values to each value when not already present instead of replacing them | — | — |
| title | Update title to specified string | — | — |
| title-from | Update issue title from named field | — | — |
| remove-fields | Remove comma separated list of fields | — | — |
| header | Add a header to the block | — | — |
| footer | Add a footer to the block | — | — |
| block-name | Name of block to generate, defaults to "default" | — | — |
| block-position | Position of block relative to other blocks, can be "first" to appear at the beginning of the PR body or "after" to appear after the final block in the PR summary | — | — |
| content | Create a block with this raw content rather than fields | — | — |
| remove | Remove the block | — | — |
Outputs
no outputs