From a6799b5ecbe342bc1dfc8e1320721e720b8ac45a Mon Sep 17 00:00:00 2001 From: Patrick Huck Date: Tue, 4 Jun 2024 17:26:06 -0700 Subject: [PATCH] Update upgrade-dependencies.yml --- .github/workflows/upgrade-dependencies.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/upgrade-dependencies.yml b/.github/workflows/upgrade-dependencies.yml index 884809da34..ab3e79a8f9 100644 --- a/.github/workflows/upgrade-dependencies.yml +++ b/.github/workflows/upgrade-dependencies.yml @@ -43,9 +43,9 @@ jobs: run: | git config user.name github-actions git config user.email github-actions@github.com - git add ${{ matrix.package }}/requirements - git commit -m "update dependencies for ${{ matrix.package }} (${{ matrix.os }}/py${{ matrix.python-version }})" && push="yes" || push="no" - [[ "$push" == "yes" ]] && git push -f origin ${{ github.ref_name }}:auto-dependency-upgrades-${{ matrix.package }}-${{ matrix.os }}-py${{ matrix.python-version }} + git add ${{ matrix.package }}/requirements && commit="yes" || commit="no" + echo COMMIT $commit + [[ "$commit" == "yes" ]] && git commit -m "update dependencies for ${{ matrix.package }} (${{ matrix.os }}/py${{ matrix.python-version }})" && git push -f origin ${{ github.ref_name }}:auto-dependency-upgrades-${{ matrix.package }}-${{ matrix.os }}-py${{ matrix.python-version }} pull_request: name: Merge all branches and open PR