Skip to content

Commit cb86bd3

Browse files
committed
chore: Add Feature branches setup and conventional commits validation
1 parent 0bb3ca4 commit cb86bd3

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.github/workflows/azure-devops-commitsar.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
parameters:
2-
vmImage: ''
3-
41
jobs:
52
- job: Commitsar
63
displayName: 'Conventional Commits Validation'
74

85
pool:
9-
vmImage: ${{ parameters.vmImage }}
6+
vmImage: ubuntu-latest
107

118
steps:
129
- checkout: self

.github/workflows/azure-static-webapp.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ on:
55
branches:
66
- master
77
- release/*
8+
- feature/*
89
pull_request:
910
types: [opened, synchronize, reopened, closed]
1011
branches:
1112
- master
1213
- release/*
14+
- feature/*
1315

1416
jobs:
1517
build_and_deploy_job:

azure-pipelines.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ trigger:
77
- stable
88
- release/stable/*
99
- legacy/*
10+
- feature/*
1011

1112
paths:
1213
include:
@@ -27,6 +28,7 @@ pr:
2728
- stable
2829
- release/stable/*
2930
- legacy/*
31+
- feature/*
3032

3133
paths:
3234
include:
@@ -42,7 +44,13 @@ variables:
4244
IsLightBuild: $[eq(variables['Build.Reason'], 'PullRequest')]
4345
IsCanaryBranch: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries/')]
4446

45-
jobs:
47+
- job: Conventional_Commits_Validation
48+
pool:
49+
vmImage: ubuntu-latest
50+
51+
steps:
52+
- template: .github/workflows/azure-devops-commitsar.yml
53+
4654
- job: Windows_Android_Mobile
4755
strategy:
4856
maxParallel: 3

0 commit comments

Comments
 (0)