From 38e7d156c7ea537e254f7b85eed3c935c77243bb Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Tue, 17 Oct 2023 17:55:26 -0700 Subject: [PATCH] Display pull request created during pre-commit auto update --- .github/workflows/pre-commit-auto-update.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pre-commit-auto-update.yml b/.github/workflows/pre-commit-auto-update.yml index b17a568..513be0d 100644 --- a/.github/workflows/pre-commit-auto-update.yml +++ b/.github/workflows/pre-commit-auto-update.yml @@ -32,6 +32,7 @@ jobs: echo "${delimiter}" >> "${GITHUB_OUTPUT}" - name: Create pull request + id: cpr uses: peter-evans/create-pull-request@v5 with: commit-message: Update pre-commit dependencies @@ -41,3 +42,8 @@ jobs: ```diff ${{ steps.gather-changes.outputs.changes }} ``` + + - name: Pull request created + if: ${{ steps.cpr.outputs.pull-request-number }} + run: | + echo "Pull request: ${{ steps.cpr.outputs.pull-request-url }}"