Trigger cloud intergration workflow for PRs and pushes against master (#12349)
* Trigger cloud intergration workflow for PRs and pushes against master, not main * Use base repo context instead of PRs head context * Run only for changes against specific files * include extra paths to trigger the workflow * Track also cc and cpp files
Dimitris Koutsourelis committed
Apr 11, 2022 at 22:43 UTC
0e5c2dd5b18c2f6ac168b75d5e48df4c7d23bcd8
1 file changed
+19
-3
.github/workflows/cloud_regression.yml
+19
-3
@@ -1,9 +1,25 @@
1
name: Trigger Cloud Regression E2E Tests
2
on:
3
push:
4
- branches: [main]
5
- pull_request:
6
- branches: [main]
4
+ branches: [master]
5
+ paths:
6
+ - 'CMakeLists.txt'
7
+ - '**.c'
8
+ - '**.cc'
9
+ - '**.cpp'
10
+ - '**.h'
11
+ - 'mqtt_websockets/**'
12
+ - 'aclk/aclk-schemas/**'
13
+ pull_request_target:
14
+ branches: [master]
15
+ paths:
16
+ - 'CMakeLists.txt'
17
+ - '**.c'
18
+ - '**.cc'
19
+ - '**.cpp'
20
+ - '**.h'
21
+ - 'mqtt_websockets/**'
22
+ - 'aclk/aclk-schemas/**'
23
jobs:
24
trigger_cloud_regression_tests:
25
runs-on: ubuntu-latest