Add changeset

Signed-off-by: fabuloso <dalfovo.alessandro@gmail.com>
This commit is contained in:
fabuloso
2022-05-30 16:42:39 +02:00
parent 26a739c43b
commit ce0d8d7eb1
+22
View File
@@ -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
```