From 92a9ba929d7dbba5318b39ac50218de1a9fabe3a Mon Sep 17 00:00:00 2001 From: rettigl Date: Tue, 24 Oct 2023 23:51:45 +0200 Subject: [PATCH] add poetry self update, and try once more status check --- .github/workflows/update_dependencies.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/update_dependencies.yml b/.github/workflows/update_dependencies.yml index 860d035b..becf71e5 100644 --- a/.github/workflows/update_dependencies.yml +++ b/.github/workflows/update_dependencies.yml @@ -26,13 +26,18 @@ jobs: - name: "Update poetry lock file" id: update run: | + poetry run poetry self update poetry run poetry update + status=$(git status | grep poetry.lock) + echo "status=$status" >> $GITHUB_OUTPUT # create pull request if necessary - name: "Create Pull Request" uses: peter-evans/create-pull-request@v5 + if: ${{ steps.update.outputs.status != '' }} with: commit-message: Update dependencies title: "Update dependencies" body: | - Dependency updates + ${{ steps.update.outputs.update_output }}