Skip to content

Commit 2533463

Browse files
authored
Merge pull request #949 from libcpr/fix/pr_ci_trigger
Fixed CI triggers for PRs
2 parents 1ead16b + 33b1aa1 commit 2533463

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/build-deb.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Build Debian Package
22
on:
33
push:
4-
tags: [ '[0-9]+.[0-9]+.[0-9]+' ]
4+
tags:
5+
- 1.**
56
pull_request:
67

78
jobs:
@@ -33,4 +34,3 @@ jobs:
3334
with:
3435
name: artifact-deb
3536
path: ./*.deb
36-

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: CI
2-
on: [push, workflow_dispatch]
2+
on: [push, workflow_dispatch, pull_request] # Trigger for every push as well as for every pull request. Yes, this will run stuff twice in case we create a PR from inside this repo. I'm open for better solutions, where I do not have to specify each brach individually for the 'push' trigger.
33

44
jobs:
55
ubuntu-clang-openssl:

.github/workflows/clang-format.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "Test Clang Format"
22

3-
on: [push, workflow_dispatch]
3+
on: [push, workflow_dispatch, pull_request] # Trigger for every push as well as for every pull request. Yes, this will run stuff twice in case we create a PR from inside this repo. I'm open for better solutions, where I do not have to specify each brach individually for the 'push' trigger.
44

55
jobs:
66
clang-format:

.github/workflows/clang-tidy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "Test Clang Tidy"
22

3-
on: [push, workflow_dispatch]
3+
on: [push, workflow_dispatch, pull_request] # Trigger for every push as well as for every pull request. Yes, this will run stuff twice in case we create a PR from inside this repo. I'm open for better solutions, where I do not have to specify each brach individually for the 'push' trigger.
44

55
jobs:
66
clang-tidy:

.github/workflows/cppcheck.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: "Test cppcheck"
22

3-
on: [push, workflow_dispatch]
3+
on: [push, workflow_dispatch, pull_request] # Trigger for every push as well as for every pull request. Yes, this will run stuff twice in case we create a PR from inside this repo. I'm open for better solutions, where I do not have to specify each brach individually for the 'push' trigger.
44

55
jobs:
66
cppcheck:

0 commit comments

Comments
 (0)