Skip to content
Merged
Show file tree
Hide file tree
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
22 changes: 20 additions & 2 deletions .ado/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,27 @@
# Name of the run. It is overridden below with the version of published binaries.
name: 0.0.$(Date:yyMM.d)$(Rev:rrr)

# This script must never be triggered from YAML settings for security reasons.
# Triggers are defined here, not in the ADO pipeline UI. This pipeline signs and
# publishes packages, so it runs only for pushes to main and never for pull
# requests; PR validation runs in GitHub Actions.
pr: none
trigger: none
trigger:
batch: false
branches:
include:
- main

# Monthly keep-alive run so ADO does not disable the pipeline for inactivity.
# It is not used for real releases and its time is not significant. It also
# starts release.yml, whose ADO feed jobs fail on the already-published version;
# that is expected and keeps the release pipeline active too.
schedules:
- cron: '0 9 1 * *'
displayName: Monthly keep-alive
branches:
include:
- main
always: true

parameters:
# Matrix with target build platforms.
Expand Down
3 changes: 3 additions & 0 deletions .ado/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
# to public ADO feeds and to npmjs.com and Nuget.org feeds.
#

# Runs only when microsoft.node-api-dotnet.ci completes on main (see resources
# below); triggers are defined here, not in the ADO pipeline UI.
trigger: none
pr: none
name: $(Date:yyyyMMdd).$(Rev:r)

resources:
Expand Down
Loading