Expose the number of the opened PR

This commit is contained in:
Cole Helbling 2022-04-21 11:56:41 -07:00 committed by Cole Helbling
parent 614f33eec2
commit c58b7816fa

View file

@ -21,6 +21,10 @@ inputs:
description: 'A comma or newline separated list of labels to set on the Pull Request to be created'
required: false
default: ''
outputs:
pull-request-number:
description: 'The number of the opened pull request'
value: ${{ steps.create-pr.outputs.pull-request-number }}
runs:
using: "composite"
steps:
@ -42,6 +46,7 @@ runs:
shell: bash
id: commit_message
- name: Create PR
id: create-pr
uses: peter-evans/create-pull-request@v3
with:
branch: update_flake_lock_action