diff --git a/.github/workflows/on-pr.yml b/.github/workflows/on-pr.yml index 3dd1aae93..478a9263f 100644 --- a/.github/workflows/on-pr.yml +++ b/.github/workflows/on-pr.yml @@ -36,7 +36,7 @@ jobs: gh workflow run ${{ env.WORKFLOW_NAME }} \ --repo ${{ env.TARGET_REPO }} --ref main \ --field test_mark=push \ - --field mlir_override=${{ github.sha }} + --field mlir_override=${{ github.event.pull_request.head.sha }} gh run list --workflow=${{ env.WORKFLOW_NAME }} --repo ${{ env.TARGET_REPO }} --limit 1 echo "Triggered ${{ env.TARGET_REPO }}" echo "### Triggered [${{ env.TARGET_REPO }}](https://github.com/${{ env.TARGET_REPO }}/actions/workflows/${{ env.WORKFLOW_NAME }}) :rocket:" >> $GITHUB_STEP_SUMMARY