From 5b4c0641fc1989139de2c8b63870664ca90eabd6 Mon Sep 17 00:00:00 2001 From: Matteo Perotti Date: Tue, 28 Nov 2023 21:02:16 +0100 Subject: [PATCH 1/2] [ci] Only allow one workflow per PR/Branch (the last one) --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b567a455..c0538262c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,17 @@ name: ci on: [push, pull_request] +# Only allow one workflow per PR/Branch (the last one) +# https://docs.github.com/en/actions/learn-github-actions/expressions +# https://docs.github.com/en/actions/learn-github-actions/contexts#github-context +# https://docs.github.com/en/actions/using-jobs/using-concurrency +concurrency: + # github.workflow: name of the workflow + # github.event.pull_request.number || github.ref: pull request number or branch name if not a pull request + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + # Cancel in-progress runs when a new workflow with the same group name is triggered + cancel-in-progress: true + jobs: ##################### From df9992d2c6bd9b3dc8ab8488815f28a633aa48e4 Mon Sep 17 00:00:00 2001 From: Matteo Perotti Date: Tue, 28 Nov 2023 21:06:38 +0100 Subject: [PATCH 2/2] [CHANGELOG] Update Changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79cde5334..e4982f666 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -187,6 +187,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fix commit for `dtc` installation (`spike` dependency) - Simplify the datapath of the slide unit. The `sldu` supports only powers of two, and cannot slide and reshuffle at the same time. Non-power-of-two slides are now handled with micro operations. - Bump Verilator to v5.012 + - Only allow one workflow at a time per branch/PR ## 2.2.0 - 2021-11-02