Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Use skip-duplicate-actions instead of concurrency limit

Gabe Kangas941317d395d0
diff --git a/.github/workflows/browser-testing.yml b/.github/workflows/browser-testing.yml
index e1d72e9362..e738073dfe 100644
--- a/.github/workflows/browser-testing.yml
+++ b/.github/workflows/browser-testing.yml
@@ -1,15 +1,21 @@
name: Browser Tests
-on: [push, pull_request_target]
-
+on:
+ push:
+ paths:
+ - web/**
+ pull_request_target:
+ paths:
+ - web/**
jobs:
cypress-run:
- concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
runs-on: ubuntu-latest
steps:
+ - id: skip_check
+ uses: fkirc/skip-duplicate-actions@v5
+ with:
+ concurrent_skipping: 'same_content_newer'
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-go@v3
diff --git a/.github/workflows/go-lint.yml b/.github/workflows/go-lint.yml
index a8ee23fafe..28a42416c4 100644
--- a/.github/workflows/go-lint.yml
+++ b/.github/workflows/go-lint.yml
@@ -19,11 +19,12 @@ jobs:
if: ${{ github.actor != 'dependabot[bot]' }}
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: actions/checkout@v3
with:
fetch-depth: 0
diff --git a/.github/workflows/hls-tests.yml b/.github/workflows/hls-tests.yml
index ff9f8940d6..2e003ac50e 100644
--- a/.github/workflows/hls-tests.yml
+++ b/.github/workflows/hls-tests.yml
@@ -19,11 +19,11 @@ jobs:
api:
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: actions/checkout@v3
- uses: actions/setup-go@v3
with:
diff --git a/.github/workflows/javascript-formatting.yml b/.github/workflows/javascript-formatting.yml
index 0b8af99d0a..055d83c0bd 100644
--- a/.github/workflows/javascript-formatting.yml
+++ b/.github/workflows/javascript-formatting.yml
@@ -17,12 +17,13 @@ jobs:
run:
working-directory: ./web
- concurrency:
- group: ${{ github.head_ref || github.run_id }}
- cancel-in-progress: true
-
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
+ - id: skip_check
+ uses: fkirc/skip-duplicate-actions@v5
+ with:
+ concurrent_skipping: 'same_content_newer'
+
- name: Checkout
uses: actions/checkout@v3
with:
@@ -47,11 +48,12 @@ 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: Checkout
uses: actions/checkout@v3
with:
diff --git a/.github/workflows/test-webapp-build.yaml b/.github/workflows/test-webapp-build.yaml
index 5919406634..f426404eb9 100644
--- a/.github/workflows/test-webapp-build.yaml
+++ b/.github/workflows/test-webapp-build.yaml
@@ -16,12 +16,13 @@ jobs:
run:
working-directory: ./web
- concurrency:
- group: ${{ github.head_ref || github.run_id }}
- cancel-in-progress: true
-
name: Build webapp
steps:
+ - id: skip_check
+ uses: fkirc/skip-duplicate-actions@v5
+ with:
+ concurrent_skipping: 'same_content_newer'
+
- name: Checkout
uses: actions/checkout@v3
with: