From de3814303040c3b649cbd62e78bc01c8298d3a76 Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Fri, 2 Jun 2023 15:31:43 -0400 Subject: [PATCH] stop triggering on push to all branches, and only auto-trigger for default PR activity types --- .github/workflows/cmake.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index bde99130..bb5c26c1 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -1,16 +1,10 @@ name: C/C++ CI on: - push: - branches: [ '**' ] + workflow_dispatch: pull_request: branches: [ main ] -# cancel older, redundant runs of same workflow on same branch -concurrency: - group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }} - cancel-in-progress: true - jobs: build: name: ${{ matrix.spec.name }}