Skip to content

Commit a0e5eb0

Browse files
[PETOSS-829] Add oas repo argument
1 parent 5420fce commit a0e5eb0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pr-validation.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,14 @@ jobs:
3535
GH_TOKEN: ${{ steps.get_access_token.outputs.token }}
3636
run: |
3737
BRANCH_NAME="${{ github.event.pull_request.head.sha }}"
38+
OAS_REPO="${{ github.event.pull_request.head.repo.full_name }}"
3839
3940
# Trigger the workflow and capture the response
4041
gh workflow run pr.yml \
4142
--repo xero-internal/xeroapi-sdk-codegen \
4243
--ref master \
43-
--field branch_name="$BRANCH_NAME"
44+
--field branch_name="$BRANCH_NAME" \
45+
--field oas_repo="$OAS_REPO"
4446
4547
# Wait a moment for the run to be created
4648
sleep 5

0 commit comments

Comments
 (0)