File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,24 +73,21 @@ runs:
7373 set -e
7474 echo "Updating ${{inputs.project_file_name}} using schedule ${{inputs.schedule_path}}"
7575 pixi run --manifest-path ${{ github.action_path }}/pyproject.toml update-dependencies "${{ github.workspace }}/${{ inputs.project_file_name }}" "${{ github.workspace }}/${{ inputs.schedule_path }}"
76- if [ ! "$(git ls-files --error-unmatch ${{ github.workspace }}/${{ inputs.schedule_path }})" ]; then
77- # Clean up schedule file so it does not appear in PR but only if it wasn't tracked before
78- rm -f "${{ github.workspace }}/${{ inputs.schedule_path }}"
79- fi
8076
8177 - name : Show changes (dry-run)
8278 if : ${{ inputs.create_pr != 'true' }}
8379 shell : bash
8480 run : |
8581 echo "Dry run: showing changes that would be committed"
86- git --no-pager diff
82+ git --no-pager diff ${{ inputs.project_file_name }}
8783
8884 - name : Create Pull Request
8985 if : ${{ inputs.create_pr == 'true' }}
9086 uses : peter-evans/create-pull-request@v7
9187 with :
9288 token : ${{ inputs.token }}
9389 commit-message : ${{ inputs.commit_msg }}
90+ path : ${{ inputs.project_file_name }}
9491 title : ${{ inputs.pr_title }}
9592 body : " This PR was created automatically"
9693 base : ${{ inputs.target_branch }}
You can’t perform that action at this time.
0 commit comments