-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (44 loc) · 1.45 KB
/
quality-assurance-pipeline.yml
File metadata and controls
51 lines (44 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: workflow - trigger pull request quality assurance
on:
pull_request:
branches:
- master
jobs:
changes:
runs-on: ubuntu-latest
outputs:
backend: ${{ steps.filter.outputs.backend }}
federation_sdk: ${{ steps.filter.outputs.federation_sdk }}
federation_sdk_contracts: ${{ steps.filter.outputs.federation_sdk_contracts }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: detect changed paths
id: filter
uses: dorny/paths-filter@v3
with:
filters: |
backend:
- 'Applications/Backend/**'
federation_sdk:
- 'Packages/Federation.Sdk/**'
federation_sdk_contracts:
- 'Packages/Federation.Sdk.Contracts/**'
quality-assurance-backend:
needs: changes
if: needs.changes.outputs.backend == 'true'
uses: ./.github/workflows/reusable-quality-assurance.yml
with:
service_path: Applications/Backend
quality-assurance-federation-sdk:
needs: changes
if: needs.changes.outputs.federation_sdk == 'true'
uses: ./.github/workflows/reusable-quality-assurance.yml
with:
service_path: Packages/Federation.Sdk
quality-assurance-federation-sdk-contracts:
needs: changes
if: needs.changes.outputs.federation_sdk_contracts == 'true'
uses: ./.github/workflows/reusable-quality-assurance.yml
with:
service_path: Packages/Federation.Sdk.Contracts