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.
Signed-off-by: Chase Rutherford-Jenkins <chaseajen@users.noreply.github.com>
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 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,24 @@ | ||
--- | ||
'@backstage/plugin-scaffolder-backend': patch | ||
--- | ||
|
||
Adding `config: Config` as a required argument to `createBuiltinActions` and downstream methods in order to support configuration of the default git author used for Scaffolder commits. | ||
|
||
The affected methods are: | ||
|
||
- `createBuiltinActions` | ||
- `createPublishGithubAction` | ||
- `createPublishGitlabAction` | ||
- `createPublishBitbucketAction` | ||
- `createPublishAzureAction` | ||
|
||
Call sites to these methods will need to be migrated to include the new `config` argument. See `createRouter` in `plugins/scaffolder-backend/src/service/router.ts` for an example of adding this new argument. | ||
|
||
To configure the default git author, use the `defaultAuthor` key under `scaffolder` in `app-config.yaml`: | ||
|
||
```yaml | ||
scaffolder: | ||
defaultAuthor: | ||
name: Example | ||
email: example@example.com | ||
``` |