Skip to content

Commit

Permalink
fix: Add a trailing wildcard because we don't use an exact path.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
feanil committed May 7, 2024
1 parent b1393ac commit c66f28d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/upgrade-one-python-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit c66f28d

Please sign in to comment.