Skip to content

Commit

Permalink
fixing checkout issues
Browse files Browse the repository at this point in the history
  • Loading branch information
manikandan-xilinx committed Dec 11, 2023
1 parent aa5296b commit 77e912d
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/xrt_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
- name: Checkout PR
uses: actions/checkout@v4
with:
repository: "${{ github.event.inputs.repo }}"
ref: "${{ github.event.inputs.branch_ref }}"
repository: "${{ github.event.pull_request.head.repo.full_name }}"
ref: "${{ github.event.pull_request.head.ref }}"
fetch-depth: 0
github-server-url: "https://github.com"
token: ${{ secrets.CI_CLOUD_TOKEN}}
Expand Down Expand Up @@ -70,13 +70,14 @@ jobs:
- name: Checkout PR
uses: actions/checkout@v4
with:
repository: "${{ github.event.inputs.repo }}"
ref: "${{ github.event.inputs.branch_ref }}"
repository: "${{ github.event.pull_request.head.repo.full_name }}"
ref: "${{ github.event.pull_request.head.ref }}"
fetch-depth: 0
github-server-url: "https://github.com"
token: ${{ secrets.CI_CLOUD_TOKEN}}
path: ${{ github.workspace }}/${{ github.run_number }}
submodules: recursive
submodules: recursive
persist-credentials: false

- name: Checkout private repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -111,8 +112,8 @@ jobs:
- name: Checkout PR
uses: actions/checkout@v3
with:
repository: "${{ github.event.inputs.repo }}"
ref: "${{ github.event.inputs.branch_ref }}"
repository: "${{ github.event.pull_request.head.repo.full_name }}"
ref: "${{ github.event.pull_request.head.ref }}"
fetch-depth: 0
github-server-url: "https://github.com"
token: ${{ secrets.CI_CLOUD_TOKEN}}
Expand Down

0 comments on commit 77e912d

Please sign in to comment.