Skip to content

Commit 77daefa

Browse files
committed
enable CI build for v3 product line
1 parent 463e505 commit 77daefa

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ name: CI
33
on:
44
push:
55
branches:
6-
- 'main'
6+
- 'product-lines/v3'
77
paths-ignore:
88
- README.md
99
- CHANGELOG.md
1010
pull_request:
11-
branches: [ "main" ]
11+
branches: [ "product-lines/v3" ]
1212
workflow_dispatch:
1313
inputs:
1414
deploy_packages:
@@ -261,9 +261,9 @@ jobs:
261261
262262
# Determine excluded rules based on branch
263263
$excludedRules = @()
264-
if ("${{ github.ref }}" -ne "refs/heads/main") {
264+
if ("${{ github.ref }}" -ne "refs/heads/product-lines/v3") {
265265
$excludedRules += "AssembliesMustBeOptimized"
266-
Write-Output "::notice::Assembly optimization validation skipped for non-main branch"
266+
Write-Output "::notice::Assembly optimization validation skipped for non-target branch"
267267
}
268268
269269
foreach ($package in $packages) {
@@ -542,7 +542,7 @@ jobs:
542542
runs-on: ubuntu-latest
543543
needs: [build, validate-packages, component-tests, specs, system-tests-windows, system-tests-linux]
544544
environment: production_environment
545-
if: github.ref == 'refs/heads/main' && needs.build.outputs.deploy_packages == 'true'
545+
if: github.ref == 'refs/heads/product-lines/v3' && needs.build.outputs.deploy_packages == 'true'
546546
permissions:
547547
# Give the default GITHUB_TOKEN write permission to commit and push the
548548
# added or changed files to the repository.

0 commit comments

Comments
 (0)