From 1ac497f211508603d9c0683e55b75710760bfbd4 Mon Sep 17 00:00:00 2001 From: Sk Niyaj Ali Date: Fri, 23 Aug 2024 10:08:31 +0530 Subject: [PATCH] Fixing CI Workflow Usage --- .github/workflows/master_dev_ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/master_dev_ci.yml b/.github/workflows/master_dev_ci.yml index c093eb5ab..d0ff2bd7f 100644 --- a/.github/workflows/master_dev_ci.yml +++ b/.github/workflows/master_dev_ci.yml @@ -55,6 +55,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + # Checkout the fork/head-repository and push changes to the fork. + # If you skip this, the base repository will be checked out and changes + # will be committed to the base repository! + repository: ${{ github.event.pull_request.head.repo.full_name }} + + # Checkout the branch made in the fork. Will automatically push changes + # back to this branch. + ref: ${{ github.head_ref }} + - uses: actions/setup-java@v4 with: distribution: 'zulu'