Skip to content

Commit 262de41

Browse files
authored
fix: resolve merge-approved-pr action path for cross-repo workflow calls (#224)
When metamask-mobile calls this reusable workflow, the relative path `./.github/actions/merge-approved-pr` resolves to the calling repo (metamask-mobile) instead of github-tools, causing the workflow to fail. Replace with an absolute ref so the action is always resolved correctly. Made-with: Cursor
1 parent 36b3659 commit 262de41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/merge-approved-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
runs-on: ubuntu-latest
3939
steps:
4040
- name: Merge approved PR
41-
uses: ./.github/actions/merge-approved-pr
41+
uses: MetaMask/github-tools/.github/actions/merge-approved-pr@v1
4242
with:
4343
pr-number: ${{ inputs.pr-number }}
4444
required-base-branch: ${{ inputs.required-base-branch }}

0 commit comments

Comments
 (0)