From 64949d7594a956942ce3a12a8f1836e6f99b8860 Mon Sep 17 00:00:00 2001 From: Jeremy Huard Date: Tue, 7 Apr 2026 00:09:06 +0200 Subject: [PATCH 1/4] updated actions version --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f261584..7eadb2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,14 +50,14 @@ jobs: # Set up MATLAB on a GitHub-hosted runner - name: Setup MATLAB - uses: matlab-actions/setup-matlab@v2 + uses: matlab-actions/setup-matlab@v3 with: products: ${{ env.PRODUCT_LIST }} cache: true # Run the MATLAB build tool to build and test your code - name: Run buildtool - uses: matlab-actions/run-build@v2 + uses: matlab-actions/run-build@v3 with: tasks: test @@ -89,14 +89,14 @@ jobs: # Set up MATLAB on a GitHub-hosted runner - name: Setup MATLAB - uses: matlab-actions/setup-matlab@v2 + uses: matlab-actions/setup-matlab@v3 with: products: ${{ env.PRODUCT_LIST }} cache: true # Run the MATLAB build tool to build and test your code - name: Run buildtool - uses: matlab-actions/run-build@v2 + uses: matlab-actions/run-build@v3 with: tasks: compile # change to compile From 7353469c994a2a8fe3b357660739fc0ae9a4541a Mon Sep 17 00:00:00 2001 From: Jeremy Huard Date: Tue, 7 Apr 2026 00:13:31 +0200 Subject: [PATCH 2/4] updated yml file --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7eadb2d..1a7df62 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: test: name: Test dev branch - if: ${{ github.event_name == 'pull_request' }} + if: ${{ github.event_name == 'pull_request' && github.ref == 'refs/heads/main' }} runs-on: ubuntu-latest From b67f52fe79c5087e2d679e5a0859668bbc5c8b23 Mon Sep 17 00:00:00 2001 From: Jeremy Huard Date: Tue, 7 Apr 2026 00:19:33 +0200 Subject: [PATCH 3/4] updated ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a7df62..b64d135 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: test: name: Test dev branch - if: ${{ github.event_name == 'pull_request' && github.ref == 'refs/heads/main' }} + if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/main' }} runs-on: ubuntu-latest From 25b72ce07e236cc12479c3ad919a4c070b2f8ec4 Mon Sep 17 00:00:00 2001 From: Jeremy Huard Date: Tue, 7 Apr 2026 00:27:25 +0200 Subject: [PATCH 4/4] Added condition to avoid test upon auto merge --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b64d135..e9733d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,8 @@ jobs: test: name: Test dev branch - if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/main' }} + if: ${{ github.event_name == 'pull_request' && + github.event.pull_request.head.sha == github.sha }} runs-on: ubuntu-latest