Skip to content

Commit

Permalink
cancel redundant CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed May 18, 2023
1 parent 295843d commit a80c50f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@ on:
push:
branches: [ '**' ]

pull_request:
branches: [ main ]

workflow_call:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true

jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -49,6 +56,9 @@ jobs:
preset: linux-arm64

steps:
- run: echo ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
shell: bash

- name: checkout workspace
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit a80c50f

Please sign in to comment.