Skip to content

Commit

Permalink
Merge pull request #788 from MTES-MCT/optimize-triggers
Browse files Browse the repository at this point in the history
Disable tests and code quality analysis for not server/frontend/queue related stuff
  • Loading branch information
loicguillois authored Jul 16, 2024
2 parents b0054b1 + f056c1e commit ea23db7
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,21 @@ name: "CodeQL"
on:
push:
branches: [ main ]
paths:
- frontend/**
- queue/**
- server/**
- shared/**
- packages/**
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
paths:
- frontend/**
- queue/**
- server/**
- shared/**
- packages/**
schedule:
- cron: '21 21 * * 4'

Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Node.js CI

on: [push]
on:
push:
paths:
- frontend/**
- queue/**
- server/**
- shared/**
- packages/**

jobs:
build:
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/review-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,18 @@ on:
pull_request_target:
types: [opened, closed, synchronize, reopened]
branches: [main]

paths:
- frontend/**
- queue/**
- server/**
- shared/**
- packages/**
paths:
- frontend/**
- queue/**
- server/**
- shared/**
- packages/**
env:
CLEVER_SECRET: ${{ secrets.CLEVER_SECRET }}
CLEVER_TOKEN: ${{ secrets.CLEVER_TOKEN }}
Expand Down

0 comments on commit ea23db7

Please sign in to comment.