Stop redundant builds #86

Merged
bustikiller merged 2 commits from actions-concurrency into main 2024-11-03 10:31:35 +00:00
3 changed files with 9 additions and 0 deletions

View File

@ -3,6 +3,9 @@ on:
push:
branches:
- main
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build-static-assets:
runs-on: ubuntu-latest

View File

@ -3,6 +3,9 @@ on:
pull_request:
permissions:
contents: write
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
copyright_notice:
runs-on: ubuntu-latest

View File

@ -4,6 +4,9 @@ on:
branches:
- main
pull_request:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
unit_tests:
runs-on: ubuntu-latest