From c58b7816faa382cafa6bc8cab673cbd0b06b0afa Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Thu, 21 Apr 2022 11:56:41 -0700 Subject: [PATCH] Expose the number of the opened PR --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index 3386bb8..4daf0db 100644 --- a/action.yml +++ b/action.yml @@ -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