mirror of https://github.com/llvm/torch-mlir
CI: Checkout repo so that gh knows where to look for the PR (#2223)
Without this patch, the gh command (for merging the PR) doesn't know which repo we're referring to.pull/2225/head snapshot-20230610.865
parent
45c0bd76a4
commit
c202cb5263
|
@ -15,6 +15,12 @@ jobs:
|
||||||
github.event.workflow_run.conclusion == 'success'
|
github.event.workflow_run.conclusion == 'success'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# Fetch the repo first so that the gh command knows where to look for the PR
|
||||||
|
- name: Fetch Repo
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.WORKFLOW_INVOCATION_TOKEN }}
|
||||||
|
|
||||||
- name: Merge RollPyTorch PR
|
- name: Merge RollPyTorch PR
|
||||||
run: |
|
run: |
|
||||||
for pr_id in ${{ join(github.event.workflow_run.pull_requests.*.number, ' ') }}
|
for pr_id in ${{ join(github.event.workflow_run.pull_requests.*.number, ' ') }}
|
||||||
|
|
Loading…
Reference in New Issue