Skip to content

Commit b89993d

Browse files
committed
fix: update working directory path for create-pull-request action
1 parent 0fc6d11 commit b89993d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

updater/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,11 @@ runs:
195195
if: ${{ ( steps.target.outputs.latestTag != steps.target.outputs.originalTag ) && ( steps.existing-pr.outputs.url == '') && ( steps.root.outputs.changed == 'false') }}
196196
uses: peter-evans/create-pull-request@a4f52f8033a6168103c2538976c07b467e8163bc # pin#v6.0.1
197197
id: create-pr
198-
working-directory: caller-repo
199198
env:
200199
DEPENDENCY_PATH: ${{ inputs.path }}
201200
DEPENDENCY_NAME: ${{ inputs.name }}
202201
with:
202+
path: caller-repo
203203
base: ${{ steps.root.outputs.baseBranch }}
204204
branch: ${{ steps.root.outputs.prBranch }}
205205
commit-message: 'chore: update ${{ env.DEPENDENCY_PATH }} to ${{ steps.target.outputs.latestTag }}'
@@ -279,11 +279,11 @@ runs:
279279
if: ${{ ( steps.target.outputs.latestTag != steps.target.outputs.originalTag ) && ( steps.root.outputs.changed == 'false') }}
280280
uses: peter-evans/create-pull-request@a4f52f8033a6168103c2538976c07b467e8163bc # pin#v6.0.1
281281
id: update
282-
working-directory: caller-repo
283282
env:
284283
DEPENDENCY_PATH: ${{ inputs.path }}
285284
DEPENDENCY_NAME: ${{ inputs.name }}
286285
with:
286+
path: caller-repo
287287
base: ${{ steps.root.outputs.baseBranch }}
288288
branch: ${{ steps.root.outputs.prBranch }}
289289
commit-message: 'chore: update ${{ env.DEPENDENCY_PATH }} to ${{ steps.target.outputs.latestTag }}'

0 commit comments

Comments
 (0)