Skip to content

Commit

Permalink
ci: reduce usage when pushing release-please updates (#362)
Browse files Browse the repository at this point in the history
##### 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.
  • Loading branch information
jooola authored Oct 18, 2023
1 parent 4342c6f commit bd93d2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .azure-pipelines/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ trigger:

pr:
autoCancel: true
drafts: false
branches:
include: [main, stable-1]

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd93d2c

Please sign in to comment.