Skip to content

Commit ca122e0

Browse files
authored
ci: add support for master and main in ci workflows (#222)
1 parent ccc013e commit ca122e0

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/doxygen.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: "Documentation"
33
on:
44
push:
55
branches:
6-
- 'master'
6+
- master
7+
- main
78

89
jobs:
910
doxygen:
@@ -31,4 +32,3 @@ jobs:
3132
build_dir: build/html
3233
env:
3334
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ name: "CI: Test"
22

33
on:
44
push:
5-
branches: [ $default-branch ]
5+
branches:
6+
- master
7+
- main
68
paths-ignore:
79
- "**.md"
810
pull_request:

0 commit comments

Comments
 (0)