Copy the PR body to the Release body
PR_NUMBER
- Pull Request number from which you want to extract the body fromRELEASE_ID
- Release ID which you want to updateTOKEN
- GITHUB TOKENUSERS_TO_AVOID
- Optional list of users. - name: Check out the repo
uses: actions/checkout@v2
- name: Copy
uses: DFE-Digital/github-actions/CopyPRtoRelease@master
with:
PR_NUMBER: 10
RELEASE_ID: 35157528
TOKEN: $
This is an optional list of users, which defaults to snyk and dependabot.
When a PR is chosen that was created by Dependabot or Snyk there is often a lot of text and attachments, so rather than choose the body, we just display the title.