Skip to content

Commit

Permalink
BUG: Workflow runs only on certain changes
Browse files Browse the repository at this point in the history
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
  • Loading branch information
khalford committed Sep 13, 2024
1 parent ff9b066 commit a7d7548
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cloud_chatops.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: CI/CD Cloud ChatOps

on:
pull_request:
push:
branches:
- master
pull_request:
paths:
- "cloud_chatops/**"
- ".github/workflows/cloud_chatops.yaml"

jobs:
Pylint-Tests-Codecov:
Expand Down

0 comments on commit a7d7548

Please sign in to comment.