Skip to content

Commit 677ba9f

Browse files
author
Dennis Labordus
committed
Also start build on pull requests on main and develop, and pushes noet on main and develop.
Signed-off-by: Dennis Labordus <[email protected]>
1 parent 3f4a7d0 commit 677ba9f

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

.github/workflows/build-project.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@
44

55
name: Build Project
66

7-
on: push
7+
on:
8+
push:
9+
branches:
10+
- /refs/heads/*
11+
- !main
12+
- !develop
13+
pull_request:
14+
branches:
15+
- main
16+
- develop
817

918
jobs:
1019
build:

.github/workflows/sonarcloud-analysis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@
44

55
name: SonarCloud Analysis
66

7-
on: push
7+
on:
8+
push:
9+
branches:
10+
- /refs/heads/*
11+
- !main
12+
- !develop
13+
pull_request:
14+
branches:
15+
- main
16+
- develop
817

918
jobs:
1019
build:

0 commit comments

Comments
 (0)