diff --git a/.changeset/honest-planets-sin.md b/.changeset/honest-planets-sin.md new file mode 100644 index 0000000000..c3c9d16dd7 --- /dev/null +++ b/.changeset/honest-planets-sin.md @@ -0,0 +1,22 @@ +--- +'@backstage/plugin-scaffolder-backend': minor +--- + +**BREAKING** Fixed bug in `publish:github` action that didn't permit to add users as collaborators. +This fix required changing the way parameters are passed to the action. +In order to add a team as collaborator, now you must use the `team` field instead of `username`. +In order to add a user as collaborator, you must use the `username` field. + +```yaml +- id: publish + name: Publish + action: publish:github + input: + allowedHosts: ['github.com'] + repoUrl: ... + collaborators: + - access: ... + team: my_team + - access: ... + username: my_username +```