Skip to content

Commit a7d7548

Browse files
committed
BUG: Workflow runs only on certain changes
The workflow was running on every PR which is wrong. It should run only when files in cloud_chatops dir are changed or the workflow itself
1 parent ff9b066 commit a7d7548

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/cloud_chatops.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
name: CI/CD Cloud ChatOps
22

33
on:
4-
pull_request:
4+
push:
55
branches:
66
- master
7+
pull_request:
8+
paths:
9+
- "cloud_chatops/**"
10+
- ".github/workflows/cloud_chatops.yaml"
711

812
jobs:
913
Pylint-Tests-Codecov:

0 commit comments

Comments
 (0)