forked from backstage/backstage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(catalog-import): use title for commit message
Signed-off-by: Andrew Thauer <[email protected]>
- Loading branch information
1 parent
4344ef8
commit a0dacc1
Showing
4 changed files
with
41 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
'@backstage/plugin-catalog-import': patch | ||
--- | ||
|
||
Use title form field value for the commit message on catalog import PRs. Also allow customization of the pull requests title or body only. For example: | ||
|
||
```tsx | ||
<Route | ||
path="/catalog-import" | ||
element={ | ||
<CatalogImportPage | ||
pullRequest={{ | ||
preparePullRequest: () => ({ | ||
title: 'chore: add backstage catalog file [skip ci]', | ||
}), | ||
}} | ||
/> | ||
} | ||
/> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters