Skip to content

Commit

Permalink
CI: avoid duplicate runs for secondary branches on main fork
Browse files Browse the repository at this point in the history
  • Loading branch information
EZoni committed Sep 23, 2024
1 parent d0c3040 commit acaaa16
Show file tree
Hide file tree
Showing 11 changed files with 64 additions and 10 deletions.
4 changes: 4 additions & 0 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ pool:
pr:
autoCancel: true
drafts: false
branches:
include:
- development
- nightly

jobs:
- job:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/clang_sanitizers.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: 🧴 clang sanitizers

on: [push, pull_request]
on:
push:
branches:
- "development"
- "nightly"
pull_request:

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-clangsanitizers
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/clang_tidy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: 🧹 clang-tidy

on: [push, pull_request]
on:
push:
branches:
- "development"
- "nightly"
pull_request:

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-clangtidy
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/cuda.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: 🐧 CUDA

on: [push, pull_request]
on:
push:
branches:
- "development"
- "nightly"
pull_request:

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-cuda
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/hip.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: 🐧 HIP

on: [push, pull_request]
on:
push:
branches:
- "development"
- "nightly"
pull_request:

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-hip
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/insitu.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: 🐧 In Situ Vis

on: [push, pull_request]
on:
push:
branches:
- "development"
- "nightly"
pull_request:

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-insituvis
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/intel.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: 🐧 Intel

on: [push, pull_request]
on:
push:
branches:
- "development"
- "nightly"
pull_request:

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-intel
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: 🍏 macOS

on: [push, pull_request]
on:
push:
branches:
- "development"
- "nightly"
pull_request:

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-macos
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@

name: 📜 Source

on: [push, pull_request]
on:
push:
branches:
- "development"
- "nightly"
pull_request:

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-source
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: 🐧 OpenMP

on: [push, pull_request]
on:
push:
branches:
- "development"
- "nightly"
pull_request:

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-ubuntu
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: 🪟 Windows

on: [push, pull_request]
on:
push:
branches:
- "development"
- "nightly"
pull_request:

concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-windows
Expand Down

0 comments on commit acaaa16

Please sign in to comment.