From 4a9ed3e40bc64d1e05fd0a482766512fae7702c2 Mon Sep 17 00:00:00 2001 From: Jishnu Bhattacharya Date: Tue, 30 May 2023 14:47:49 +0530 Subject: [PATCH] skip duplicate CI run (#94) --- .github/workflows/CI.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b4ba4d0..e396509 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -7,7 +7,18 @@ on: pull_request: jobs: + pre_job: + # continue-on-error: true # Uncomment once integration is finished + runs-on: ubuntu-latest + # Map a step output to a job output + outputs: + should_skip: ${{ steps.skip_check.outputs.should_skip }} + steps: + - id: skip_check + uses: fkirc/skip-duplicate-actions@v5 test: + needs: pre_job + if: needs.pre_job.outputs.should_skip != 'true' name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} runs-on: ${{ matrix.os }} strategy: