Skip to content

Commit 254d686

Browse files
committed
Allow CI to run on branches with slashes in their names
1 parent 432073d commit 254d686

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ name: CI
22

33
on:
44
push:
5-
branches:
6-
- '*'
7-
- '!main'
5+
branches-ignore:
6+
- 'main'
87

98
env:
109
BUILDER_VERSION: v0.9.15

.github/workflows/clang-format.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Lint
22

3-
on: [push]
3+
on:
4+
push:
5+
branches-ignore:
6+
- 'main'
47

58
jobs:
69
clang-format:

0 commit comments

Comments
 (0)