ci: skip azp on release please commits (#338)

##### SUMMARY

Skip the Azure pipelines when generating the release-please pull request
content.
This commit is contained in:
Jonas L 2023-09-28 15:26:59 +02:00 committed by GitHub
parent 001c3e2089
commit 796ab1c1ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,6 +24,11 @@ jobs:
release-type: simple
package-name: hetzner.hcloud
# Skip Azure pipeline for release-please commits
pull-request-title-pattern: |-
chore${scope}: release${component} ${version}
[skip azp]
# We use antsibull-changelog for the actual user-facing changelog.
changelog-path: changelogs/dev-changelog.md
@ -72,6 +77,8 @@ jobs:
git config user.email "45457231+hcloud-bot@users.noreply.github.com"
git add changelogs/ CHANGELOG.rst
git commit -m "chore(main): changelog for version ${{ needs.release-please.outputs.version }}"
git commit \
-m "chore(main): changelog for version ${{ needs.release-please.outputs.version }}" \
-m "[skip azp]"
git push origin ${{ needs.release-please.outputs.branch }}