Skip to content

Commit

Permalink
chore: Add Feature branches setup and conventional commits validation
Browse files Browse the repository at this point in the history
  • Loading branch information
agneszitte committed Dec 20, 2023
1 parent 0bb3ca4 commit cb86bd3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/azure-devops-commitsar.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
parameters:
vmImage: ''

jobs:
- job: Commitsar
displayName: 'Conventional Commits Validation'

pool:
vmImage: ${{ parameters.vmImage }}
vmImage: ubuntu-latest

steps:
- checkout: self
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/azure-static-webapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ on:
branches:
- master
- release/*
- feature/*
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- master
- release/*
- feature/*

jobs:
build_and_deploy_job:
Expand Down
10 changes: 9 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ trigger:
- stable
- release/stable/*
- legacy/*
- feature/*

paths:
include:
Expand All @@ -27,6 +28,7 @@ pr:
- stable
- release/stable/*
- legacy/*
- feature/*

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

jobs:
- job: Conventional_Commits_Validation
pool:
vmImage: ubuntu-latest

steps:
- template: .github/workflows/azure-devops-commitsar.yml

- job: Windows_Android_Mobile
strategy:
maxParallel: 3
Expand Down

0 comments on commit cb86bd3

Please sign in to comment.