Skip to content

Commit

Permalink
ci: Reduce unnecessary pipeline runs
Browse files Browse the repository at this point in the history
  • Loading branch information
tjtanjin committed Oct 2, 2024
1 parent a56571c commit defd0ce
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci-cd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,31 @@ run-name: Full CI/CD Pipeline
on:
push:
branches: ["main"]
paths-ignore:
- "*.md" # ignore all markdown files at root
- "*.js" # ignore all js files at root
- "*.ts" # ignore all ts files at root
- "assets/**" # ignore root assets
- "docs/**" # ignore all docs
- "scripts/**" # ignore all scripts
- "ssr/**" # ignore ssr files
- ".github/**/*.md" # ignore markdown files for .github
- ".github/FUNDING.yml" # ignore funding yml
- ".eslintrc" # ignore eslint changes
- ".gitignore" # ignore git ignore changes
pull_request:
branches: ["main"]
- "*.md" # ignore all markdown files at root
- "*.js" # ignore all js files at root
- "*.ts" # ignore all ts files at root
- "assets/**" # ignore root assets
- "docs/**" # ignore all docs
- "scripts/**" # ignore all scripts
- "ssr/**" # ignore ssr files
- ".github/**/*.md" # ignore markdown files for .github
- ".github/FUNDING.yml" # ignore funding yml
- ".eslintrc" # ignore eslint changes
- ".gitignore" # ignore git ignore changes
workflow_dispatch:

jobs:
Expand Down

0 comments on commit defd0ce

Please sign in to comment.