mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Use skip-duplicate-actions instead of concurrency limit
This commit is contained in:
16
.github/workflows/browser-testing.yml
vendored
16
.github/workflows/browser-testing.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user