mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 19:52:34 +02:00
When I wrote https://github.com/certbot/certbot/pull/7813, I didn't understand the default behavior for pull requests if you don't specify `pr` in the yaml file. According to https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops&tabs=yaml#pr-triggers: > If no pr triggers appear in your YAML file, pull request builds are automatically enabled for all branches... This is not the behavior we want. This PR fixes the problem by disabling builds on PRs. You should be able to see this working because the advanced tests should not run on this PR but they did run on https://github.com/certbot/certbot/pull/7811.
19 lines
535 B
YAML
19 lines
535 B
YAML
# Advanced pipeline for running our full test suite on protected branches.
|
|
trigger:
|
|
- '*.x'
|
|
pr: none
|
|
# This pipeline is also nightly run on master
|
|
schedules:
|
|
- cron: "0 4 * * *"
|
|
displayName: Nightly build
|
|
branches:
|
|
include:
|
|
- master
|
|
always: true
|
|
|
|
jobs:
|
|
# Any addition here should be reflected in the advanced-test and release pipelines.
|
|
# It is advised to declare all jobs here as templates to improve maintainability.
|
|
- template: templates/tests-suite.yml
|
|
- template: templates/installer-tests.yml
|