Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

ci: Run actions only on certain path changes

jamesread01afa4336378
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 9280e5c47..5f1de21ff 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -3,7 +3,18 @@ name: Build
on:
push:
+ branches:
+ - main
+ paths:
+ - package.json
+ - apps/*
+ - libraries/*
+
pull_request:
+ paths:
+ - package.json
+ - apps/*
+ - libraries/*
jobs:
build:
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index d752c763e..c2ba24dd0 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -3,7 +3,16 @@ name: "Code Quality Analysis"
on:
push:
+ branches:
+ - main
+ paths:
+ - apps/*
+ - libraries/*
+
pull_request:
+ paths:
+ - apps/*
+ - libraries/*
jobs:
analyze:
diff --git a/.github/workflows/eslint.yaml b/.github/workflows/eslint.yaml
index 5eefe228e..b67331fcc 100644
--- a/.github/workflows/eslint.yaml
+++ b/.github/workflows/eslint.yaml
@@ -3,7 +3,18 @@ name: ESLint
on:
push:
+ branches:
+ - main
+ paths:
+ - package.json
+ - apps/*
+ - libraries/*
+
pull_request:
+ paths:
+ - package.json
+ - apps/*
+ - libraries/*
jobs:
eslint: