Skip to content

Commit

Permalink
stop triggering on push to all branches, and only auto-trigger for de…
Browse files Browse the repository at this point in the history
…fault PR activity types
  • Loading branch information
qrkourier committed Jun 2, 2023
1 parent f7ea5ed commit de38143
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -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 }}
Expand Down

0 comments on commit de38143

Please sign in to comment.