insidewhy/action-body-fields

Add fields to github PR body

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Nov 28, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: insidewhy/action-body-fields@bce3e75dc8faafdb034ce8346feb21055ad343a2 # v1.3.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
fieldsFields to prepend, one per line in format "key: value"
github-tokenGithub token used for amending body${{ github.token }}
issue-numberIssue id to attach comment to${{ github.event.number }}
repositoryThe github repository in the form ${organisation}/${repository}${{ github.repository }}
prependPrepend new fieldsno
append-to-valuesAppend the values to each value when not already present instead of replacing them
titleUpdate title to specified string
title-fromUpdate issue title from named field
remove-fieldsRemove comma separated list of fields
headerAdd a header to the block
footerAdd a footer to the block
block-nameName of block to generate, defaults to "default"
block-positionPosition 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
contentCreate a block with this raw content rather than fields
removeRemove the block

no outputs