From bd93d2caf8d134141b238434459fdfc435e5a96a Mon Sep 17 00:00:00 2001 From: Jonas L Date: Wed, 18 Oct 2023 10:27:13 +0200 Subject: [PATCH] ci: reduce usage when pushing release-please updates (#362) ##### SUMMARY Disable azure pipelines for draft pull requests and ask release-please to create draft pull requests. This should reduce the amount of CI usage around the release please workflow. --- .azure-pipelines/azure-pipelines.yml | 1 + .github/workflows/release-please.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml index 960040e..5da7e95 100644 --- a/.azure-pipelines/azure-pipelines.yml +++ b/.azure-pipelines/azure-pipelines.yml @@ -5,6 +5,7 @@ trigger: pr: autoCancel: true + drafts: false branches: include: [main, stable-1] diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index ffe829f..311cf70 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -24,6 +24,7 @@ jobs: release-type: simple package-name: hetzner.hcloud include-v-in-tag: false + draft-pull-request: true # We use antsibull-changelog for the actual user-facing changelog. changelog-path: changelogs/dev-changelog.md