From c66f28dceef0f30003b15cf3f0fa2163a0f99b6a Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Tue, 7 May 2024 09:15:27 -0400 Subject: [PATCH] fix: Add a trailing wildcard because we don't use an exact path. We were seeing the following error: ``` /usr/bin/git add -- requirements scripts/**/requirements fatal: pathspec 'scripts/**/requirements' did not match any files ``` Once we introduce wildcards, the whole path needs to be valid so adding a trailing wildcard to catch all the relevant directories and files. --- .github/workflows/upgrade-one-python-dependency.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/upgrade-one-python-dependency.yml b/.github/workflows/upgrade-one-python-dependency.yml index 40ede77581..91e042a112 100644 --- a/.github/workflows/upgrade-one-python-dependency.yml +++ b/.github/workflows/upgrade-one-python-dependency.yml @@ -82,13 +82,13 @@ jobs: - name: Make a PR id: make-pr - uses: peter-evans/create-pull-request@v5 + uses: peter-evans/create-pull-request@v6 with: branch: "${{ github.triggering_actor }}/upgrade-${{ inputs.package }}" branch-suffix: short-commit-hash add-paths: | requirements - scripts/**/requirements + scripts/**/requirements* commit-message: | feat: Upgrade Python dependency ${{ inputs.package }}