Skip to content

Commit b175af2

Browse files
author
penguinspiral
committed
ci(commit-check): Omit release-please branch
The release-please GitHub action (https://github.com/googleapis/release-please-action) automatically generates a branch, 'release-please--branches-main', for the default 'main' branch. This branch name does not adhere to Convention Commit branch naming prefixes: https://conventional-branch.github.io/#branch-naming-prefixes. This results in the release-please branch failing to pass mandatory CI workflow checks and therefore not being mergable and thus releasable.
1 parent 344f043 commit b175af2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/commit-check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
pull_request:
1010
branches:
1111
- main
12+
# Ref: https://github.com/googleapis/release-please-action/issues/1167
13+
# release-please workflow limited to 'origin/main' per 'on.push' config
14+
- '!release-please--branches--main'
1215

1316
permissions: {}
1417

0 commit comments

Comments
 (0)