From 18e44be1c07894dfdee44b8b8edd51b707c67cc1 Mon Sep 17 00:00:00 2001 From: Patrick Huck Date: Tue, 4 Jun 2024 17:29:08 -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 ab3e79a8f9..a75d1e706e 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 && 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 }} + git add ${{ matrix.package }}/requirements + git commit --allow-empty -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