From d524252f1f517e4c2b3328fa154cbec09d393d58 Mon Sep 17 00:00:00 2001 From: Giuliano Mega Date: Wed, 12 Jun 2024 22:54:50 -0300 Subject: [PATCH] make CI build against branch head instead of merge (#831) --- .github/workflows/ci-reusable.yml | 1 + .github/workflows/ci.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ci-reusable.yml b/.github/workflows/ci-reusable.yml index 501468a0..b83757d1 100644 --- a/.github/workflows/ci-reusable.yml +++ b/.github/workflows/ci-reusable.yml @@ -32,6 +32,7 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive + ref: ${{ github.event.pull_request.head.sha }} - name: Setup Nimbus Build System uses: ./.github/actions/nimbus-build-system diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fdf95ae3..fb79c510 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,7 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive + ref: ${{ github.event.pull_request.head.sha }} - name: Setup Nimbus Build System uses: ./.github/actions/nimbus-build-system