Skip to content

Conversation

suztomo
Copy link
Member

@suztomo suztomo commented Sep 29, 2021

Use "ci: " suffix in the commit message when it creates a workflow pull request for initializing the protected branch. This addresses @chingor13 's comment in #2615 (comment)

Fixes #2568 🦕

Use "ci: " suffix in the commit message when it creates a workflow
pull request for initializing the protected branch.
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 29, 2021
Comment on lines +289 to +290
"message": "ci: configure the protected branch",
"title": "ci: configure the protected branch",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the effect of this PR.

// For java-lts type, we want a release through a releasable commit ('feat: ') immediately
// after creating the protected branch.
const message =
(this.releaseType === 'java-lts' ? 'feat' : 'ci') +
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to have condition based on the releaseType.

@chingor13 chingor13 changed the title chore(release-brancher): use "ci:" (non-releasable) in init fix(release-brancher): use "ci:" (non-releasable) in init Sep 30, 2021
@chingor13 chingor13 added the automerge Merge the pull request once unit tests and other checks pass. label Sep 30, 2021
@gcf-merge-on-green gcf-merge-on-green bot merged commit c4b3ac5 into googleapis:main Sep 30, 2021
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Sep 30, 2021
gcf-merge-on-green bot pushed a commit that referenced this pull request Sep 30, 2021
🤖 I have created a release \*beep\* \*boop\*
---
<details><summary>@google-cloud/release-brancher: 1.3.1</summary>


### Bug Fixes

* **release-brancher:** use "ci:" (non-releasable) in init ([#2622](https://www.github.com/googleapis/repo-automation-bots/issues/2622)) ([c4b3ac5](https://www.github.com/googleapis/repo-automation-bots/commit/c4b3ac5e50f9579202a614c655e79eaf4bca362e))
</details>


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

release-brancher: allow customization of pull request to default branch

3 participants