From ffdda17fffd18521711bbdd871bf2db382fc326a Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 23 Nov 2022 15:06:51 -0800 Subject: [PATCH] Additional suplicate action checks --- .github/workflows/automated-end-to-end-api.yaml | 9 +++++---- .github/workflows/bundle-web.yml | 9 +++++---- .github/workflows/chromatic.yml | 8 ++++---- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/automated-end-to-end-api.yaml b/.github/workflows/automated-end-to-end-api.yaml index 23db7103b..53a8ac0b2 100644 --- a/.github/workflows/automated-end-to-end-api.yaml +++ b/.github/workflows/automated-end-to-end-api.yaml @@ -15,11 +15,12 @@ jobs: test: runs-on: ubuntu-latest - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - steps: + - id: skip_check + uses: fkirc/skip-duplicate-actions@v5 + with: + concurrent_skipping: 'same_content_newer' + - uses: earthly/actions-setup@v1 with: version: 'latest' # or pin to an specific version, e.g. "v0.6.10" diff --git a/.github/workflows/bundle-web.yml b/.github/workflows/bundle-web.yml index cb886d29a..563c85b2c 100644 --- a/.github/workflows/bundle-web.yml +++ b/.github/workflows/bundle-web.yml @@ -12,11 +12,12 @@ jobs: runs-on: ubuntu-latest if: github.repository == 'owncast/owncast' - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - steps: + - id: skip_check + uses: fkirc/skip-duplicate-actions@v5 + with: + concurrent_skipping: 'same_content_newer' + - name: Bundle web app (next.js build) uses: actions/checkout@v3 - run: build/web/bundleWeb.sh diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index eca0f26e3..8b51cdc27 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -22,11 +22,11 @@ jobs: run: working-directory: ./web - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - steps: + - id: skip_check + uses: fkirc/skip-duplicate-actions@v5 + with: + concurrent_skipping: 'same_content_newer' - name: Check out code if: ${{ github.actor != 'renovate[bot]' && github.actor != 'renovate' }} uses: actions/checkout@v3