mirror of
https://github.com/DeterminateSystems/update-flake-lock.git
synced 2025-04-21 09:20:16 +03:00
feat: accept list of reviewers and assignees
Pass a list of GitHub usernames through to peter-evans/create-pull-request. Assignees are specified with the `pr-assignees` property. Reviewers are specified with the `pr-reviewers` property. Both properties expect the value to be a list of GitHub usernames, separated by either commas or newlines.
This commit is contained in:
parent
aa092a7430
commit
a0c5484d59
2 changed files with 37 additions and 0 deletions
10
action.yml
10
action.yml
|
@ -53,6 +53,14 @@ inputs:
|
|||
description: 'A comma or newline separated list of labels to set on the Pull Request to be created'
|
||||
required: false
|
||||
default: ''
|
||||
pr-assignees:
|
||||
description: 'A comma or newline separated list of assignees (GitHub usernames).'
|
||||
required: false
|
||||
default: ''
|
||||
pr-reviewers:
|
||||
description: 'A comma or newline separated list of reviewers (GitHub usernames) to request a review from.'
|
||||
required: false
|
||||
default: ''
|
||||
git-author-name:
|
||||
description: 'Author name used for commit. Only used if sign-commits is false.'
|
||||
required: false
|
||||
|
@ -176,5 +184,7 @@ runs:
|
|||
author: ${{ env.GIT_AUTHOR_NAME }} ${{ env.GIT_AUTHOR_EMAIL }}
|
||||
title: ${{ inputs.pr-title }}
|
||||
token: ${{ inputs.token }}
|
||||
assignees: ${{ inputs.pr-assignees }}
|
||||
labels: ${{ inputs.pr-labels }}
|
||||
reviewers: ${{ inputs.pr-reviewers }}
|
||||
body: ${{ steps.pr_body.outputs.contents }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue