From cecfcd1694002a61fa26eeece970dfc6cc562e98 Mon Sep 17 00:00:00 2001 From: Kwabena Amponsah Date: Mon, 20 Apr 2026 19:25:43 +0100 Subject: [PATCH 1/3] Upgrade github actions Upgrade github actions due to Node.js 20 deprecation warning. --- .github/workflows/ubuntu-tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu-tests.yml b/.github/workflows/ubuntu-tests.yml index fe85b7c..bd14c65 100644 --- a/.github/workflows/ubuntu-tests.yml +++ b/.github/workflows/ubuntu-tests.yml @@ -28,14 +28,14 @@ jobs: steps: - name: Checkout Chaste/${{ env.chaste_branch }} - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: Chaste/Chaste path: Chaste ref: ${{ env.chaste_branch }} - name: Checkout ApPredict - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: Chaste/ApPredict path: Chaste/projects/ApPredict @@ -80,7 +80,7 @@ jobs: - name: Slack notification if: ${{ failure() && github.event_name == 'schedule' }} - uses: slackapi/slack-github-action@v2.0.0 + uses: slackapi/slack-github-action@v3.0.1 with: method: chat.postMessage token: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }} From fdc78bcbcb46e33047e67e3e4e5d4a179ecca0bd Mon Sep 17 00:00:00 2001 From: Kwabena Amponsah Date: Mon, 20 Apr 2026 19:32:26 +0100 Subject: [PATCH 2/3] Force CI failure --- .github/workflows/ubuntu-tests.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu-tests.yml b/.github/workflows/ubuntu-tests.yml index bd14c65..c545741 100644 --- a/.github/workflows/ubuntu-tests.yml +++ b/.github/workflows/ubuntu-tests.yml @@ -33,13 +33,16 @@ jobs: repository: Chaste/Chaste path: Chaste ref: ${{ env.chaste_branch }} - + - name: Checkout ApPredict uses: actions/checkout@v6 with: repository: Chaste/ApPredict path: Chaste/projects/ApPredict + - name: Force fail + run: exit 1 + - name: Setup directories run: | mkdir -p build @@ -79,7 +82,7 @@ jobs: working-directory: build - name: Slack notification - if: ${{ failure() && github.event_name == 'schedule' }} + if: ${{ failure() }} uses: slackapi/slack-github-action@v3.0.1 with: method: chat.postMessage From d1ebded3ae54ab5de628272e2cba7540cb3fab5d Mon Sep 17 00:00:00 2001 From: Kwabena Amponsah Date: Mon, 20 Apr 2026 19:35:19 +0100 Subject: [PATCH 3/3] Undo force CI failure --- .github/workflows/ubuntu-tests.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ubuntu-tests.yml b/.github/workflows/ubuntu-tests.yml index c545741..0773256 100644 --- a/.github/workflows/ubuntu-tests.yml +++ b/.github/workflows/ubuntu-tests.yml @@ -39,9 +39,6 @@ jobs: with: repository: Chaste/ApPredict path: Chaste/projects/ApPredict - - - name: Force fail - run: exit 1 - name: Setup directories run: | @@ -82,7 +79,7 @@ jobs: working-directory: build - name: Slack notification - if: ${{ failure() }} + if: ${{ failure() && github.event_name == 'schedule' }} uses: slackapi/slack-github-action@v3.0.1 with: method: chat.postMessage