From 9d8028b50193222ebb4f8c84a6fd7b2e60f322eb Mon Sep 17 00:00:00 2001 From: "Sara A. Miskovich" Date: Wed, 5 Jun 2024 16:41:23 -0700 Subject: [PATCH] test concurrent rule --- .github/workflows/test.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2dcc07c..ea4a29e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,20 @@ on: - main jobs: + pre_job: + 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 + with: + same_content_newer: 'true' + run-tests: + needs: pre_job + if: needs.pre_job.outputs.should_skip != 'true' runs-on: ubuntu-latest environment: test concurrency: