From 147ce45cd8eabaaec173974a44d99ad0608d0f86 Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Sun, 3 Jan 2021 16:29:19 +0000 Subject: [PATCH 1/2] Auto cancel redundant workflows (attempt #2) --- .github/workflows/bench.yml | 3 +++ .github/workflows/nix.yml | 3 +++ .github/workflows/test.yml | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 51f28525ab..4acac5655b 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -12,6 +12,9 @@ jobs: os: [ubuntu-latest] steps: + # Cancel queued workflows from earlier commits in this branch + - uses: technote-space/auto-cancel-redundant-workflow@v1 + - uses: actions/checkout@v2 - run: git fetch origin master # check the master branch for benchmarking - uses: haskell/actions/setup@v1 diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 13983572b2..93f05e8b6e 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -12,6 +12,9 @@ jobs: os: [ubuntu-latest, macOS-latest] steps: + # Cancel queued workflows from earlier commits in this branch + - uses: technote-space/auto-cancel-redundant-workflow@v1 + - uses: actions/checkout@v2 with: submodules: true diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bbac124feb..64841447c7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,8 +25,8 @@ jobs: ghc: "8.10.2.2" # only available for windows and choco steps: - # Cancel queued workflows from earlier commits in this branch - - uses: fkirc/skip-duplicate-actions@master + # Cancel queued workflows from earlier commits in this branch + - uses: technote-space/auto-cancel-redundant-workflow@v1 - uses: actions/checkout@v2 with: From 83efa5dafcec1affe1b39115d60c3399a941c7b4 Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Sun, 3 Jan 2021 16:30:23 +0000 Subject: [PATCH 2/2] empty commit to test