diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6166e686..5f08a696 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + ref: ${{ github.event.pull_request.head.sha }} - name: Update base image run: sudo apt update -y @@ -47,6 +48,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + ref: ${{ github.event.pull_request.head.sha }} - name: Update base image run: sudo apt update -y @@ -80,6 +82,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + ref: ${{ github.event.pull_request.head.sha }} - name: Update base image run: sudo apt update -y @@ -113,6 +116,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + ref: ${{ github.event.pull_request.head.sha }} - name: Update base image run: sudo apt update -y @@ -151,6 +155,7 @@ jobs: with: fetch-depth: 0 path: falco + ref: ${{ github.event.pull_request.head.sha }} - name: Link falco repo to /source/falco run: |