Skip to content

Commit 084d3a9

Browse files
authored
fix(ci): branch name formatting for adoption table
replaces space characters with dash during branch name generation
1 parent e2bfb43 commit 084d3a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/agency-onboarding/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export const updateAdoptionTable = async ({ github, context, parentIssue }) => {
180180
}
181181

182182
// Create a new branch name
183-
const branchName = `docs/update-adoption-table-${short_name.toLowerCase()}`;
183+
const branchName = `docs/update-adoption-table-${short_name.toLowerCase().split(/\s+/).join("-")}`;
184184

185185
// Get the main branch reference
186186
const mainRef = await github.rest.git.getRef({

0 commit comments

Comments
 (0)