From ce0d8d7eb191a0aa54e9281571032b5cedb4a545 Mon Sep 17 00:00:00 2001 From: fabuloso Date: Mon, 30 May 2022 16:42:39 +0200 Subject: [PATCH] Add changeset Signed-off-by: fabuloso --- .changeset/honest-planets-sin.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .changeset/honest-planets-sin.md 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 +```