From 796ab1c1ae694a4485995a56f08ad54de2ae4cf8 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Thu, 28 Sep 2023 15:26:59 +0200 Subject: [PATCH] ci: skip azp on release please commits (#338) ##### SUMMARY Skip the Azure pipelines when generating the release-please pull request content. --- .github/workflows/release-please.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index a269619..62d7c4d 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -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 }}