Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion eng/pipelines/runtime-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ trigger:
- PATENTS.TXT
- THIRD-PARTY-NOTICES.TXT

schedules:
- cron: "0 9 * * *"
displayName: Daily OneLocBuild and SourceIndex
branches:
include:
- main
Comment on lines +20 to +25
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The schedule definition is missing the always: property. Based on the codebase conventions, all schedule definitions include this property to explicitly control whether the schedule runs unconditionally or only when there are changes since the last successful run.

For localization and source indexing, you likely want always: true to ensure these tasks run on schedule regardless of code changes (since localization data and source indexing may need updates even without code changes). Alternatively, if you want to conserve resources by only running when there are code changes, use always: false with a clarifying comment.

Copilot uses AI. Check for mistakes.

# This is an official pipeline that should not be triggerable from a PR,
# there is no public pipeline associated with it.
pr: none
Expand All @@ -34,7 +41,7 @@ extends:
parameters:
isOfficialBuild: true
stages:
- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }}:
- ${{ if and(eq(variables['Build.SourceBranch'], 'refs/heads/main'), or(eq(variables['Build.Reason'], 'Schedule'), eq(variables['Build.Reason'], 'Manual'))) }}:
- stage: Localization
dependsOn: []
jobs:
Expand Down
Loading