Skip to content

Commit

Permalink
Don't run actions on pushes to non-master branches. (Make a draft PR …
Browse files Browse the repository at this point in the history
…instead)
  • Loading branch information
cboulay committed Jan 17, 2024
1 parent 6a85d6f commit 0cecb78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/cppcmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: C/C++ CI

on:
push:
branches: ['*']
branches:
- master
tags: ['*']
paths:
- '**'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/mingw_static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: MinGW Windows static test

on:
push:
branches: ['*']
branches:
- master
paths:
- '**'
- '!docs/**'
Expand Down

0 comments on commit 0cecb78

Please sign in to comment.