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.
This commit is contained in:
Jonas L 2023-10-18 10:27:13 +02:00 committed by GitHub
parent 4342c6ffc6
commit bd93d2caf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -5,6 +5,7 @@ trigger:
pr:
autoCancel: true
drafts: false
branches:
include: [main, stable-1]

View file

@ -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