File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ jobs:
2828 - name : Detect recordprocessor changes compared to master
2929 id : detect
3030 run : |
31- if git diff --name-only "${{ github.event.before }}" "${{ github.sha }}" | grep -q '^lambdas/recordprocessor/'; then
32- echo "has_changes=true" >> "$GITHUB_OUTPUT"
33- else
31+ if git diff --quiet "${{ github.event.before }}" "${{ github.sha }}" -- lambdas/recordprocessor/ lambdas/shared/src/common/; then
3432 echo "has_changes=false" >> "$GITHUB_OUTPUT"
33+ else
34+ echo "has_changes=true" >> "$GITHUB_OUTPUT"
3535 fi
3636
3737 deploy-internal-dev-backend :
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ concurrency:
99 cancel-in-progress : true
1010
1111jobs :
12- # run-quality-checks:
13- # uses: ./.github/workflows/quality-checks.yml
14- # secrets:
15- # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
12+ run-quality-checks :
13+ uses : ./.github/workflows/quality-checks.yml
14+ secrets :
15+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
1616
1717 detect-recordprocessor-changes :
1818 runs-on : ubuntu-latest
3535 fi
3636
3737 deploy-pr-backend :
38- needs : [detect-recordprocessor-changes]
38+ needs : [run-quality-checks, detect-recordprocessor-changes]
3939 if : ${{ always() && !failure() && !cancelled() }}
4040 uses : ./.github/workflows/deploy-backend.yml
4141 with :
You can’t perform that action at this time.
0 commit comments