Skip to content

Commit

Permalink
feat: add release branches config to release-please workflow (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Sep 13, 2022
1 parent d281908 commit 352d332
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/content/index.js
Expand Up @@ -96,6 +96,7 @@ module.exports = {
workspaceModule,
windowsCI: true,
branches: ['main', 'latest'],
releaseBranches: [],
defaultBranch: 'main',
// Escape hatch since we write a release test file but the
// CLI has a very custom one we dont want to overwrite. This
Expand Down
3 changes: 3 additions & 0 deletions lib/content/release-please.yml
Expand Up @@ -6,6 +6,9 @@ on:
{{#each branches}}
- {{.}}
{{/each}}
{{#each releaseBranches}}
- {{.}}
{{/each}}

permissions:
contents: write
Expand Down

0 comments on commit 352d332

Please sign in to comment.