We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5420fce commit 70b086eCopy full SHA for 70b086e
.github/workflows/pr-validation.yml
@@ -1,7 +1,7 @@
1
name: PR Validation
2
3
on:
4
- pull_request_target:
+ pull_request:
5
types: [opened, reopened, synchronize]
6
branches: [master]
7
@@ -35,12 +35,14 @@ jobs:
35
GH_TOKEN: ${{ steps.get_access_token.outputs.token }}
36
run: |
37
BRANCH_NAME="${{ github.event.pull_request.head.sha }}"
38
+ OAS_REPO="${{ github.event.pull_request.head.repo.full_name }}"
39
40
# Trigger the workflow and capture the response
41
gh workflow run pr.yml \
42
--repo xero-internal/xeroapi-sdk-codegen \
43
--ref master \
- --field branch_name="$BRANCH_NAME"
44
+ --field branch_name="$BRANCH_NAME" \
45
+ --field oas_repo="$OAS_REPO"
46
47
# Wait a moment for the run to be created
48
sleep 5
0 commit comments