From f5c10c5e95ae5ce16c02d3815fd330eb0e7f2577 Mon Sep 17 00:00:00 2001 From: cosa65 Date: Fri, 4 Aug 2023 11:14:10 -0300 Subject: [PATCH] Fix Signed-off-by: cosa65 --- .github/workflows/ci.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 27a7ef5a4..887dfcb11 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -60,9 +60,12 @@ jobs: with: node-version: '14' - - id: checkout - name: Check out source code - uses: actions/checkout@v2 + - id: checkout + name: Check out source code + uses: actions/checkout@v3 + with: + ref: ${{github.head_ref}} + repository: ${{github.event.pull_request.head.repo.full_name}} - id: cache-seek name: Check for npm cache hit @@ -121,6 +124,7 @@ jobs: timestamp: ${{ steps.ref.outputs.timestamp }} steps: - id: checkout + name: Check out source code uses: actions/checkout@v3 with: ref: ${{github.head_ref}} @@ -220,10 +224,11 @@ jobs: matrix: environment: ['production', 'staging', 'develop'] steps: - - name: Checkout + - id: checkout + name: Check out source code uses: actions/checkout@v3 with: - ref: ${{github.event.pull_request.head_ref}} + ref: ${{github.head_ref}} repository: ${{github.event.pull_request.head.repo.full_name}} - id: setup-aws