Skip to content

Commit

Permalink
Merge pull request openedx#34698 from openedx/feanil/script_requirements
Browse files Browse the repository at this point in the history
fix: Include script requirements in upgrade.
  • Loading branch information
Feanil Patel authored May 6, 2024
2 parents e6610f5 + b962383 commit 28927da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-consistent-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
echo $'Paths touched in PR:\n'"$paths"
# The ^"? is because git may quote weird file paths
matched="$(echo "$paths" | grep -P '^"?requirements/' || true)"
matched="$(echo "$paths" | grep -P '^"?((requirements/)|(scripts/.*?/requirements/))' || true)"
echo $'Relevant paths:\n'"$matched"
if [[ -n "$matched" ]]; then
echo "RELEVANT=true" >> "$GITHUB_ENV"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/upgrade-one-python-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ jobs:
with:
branch: "${{ github.triggering_actor }}/upgrade-${{ inputs.package }}"
branch-suffix: short-commit-hash
add-paths: requirements
add-paths: |
requirements
scripts/**/requirements
commit-message: |
feat: Upgrade Python dependency ${{ inputs.package }}
Expand Down

0 comments on commit 28927da

Please sign in to comment.