diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3f831c6b5..c18c25d9d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,8 @@ on: jobs: release_bin: + permissions: + contents: write if: "${{ startsWith(github.event.head_commit.message, 'chore(server): release v') == true || github.event_name == 'workflow_dispatch' }}" name: Release Binaries runs-on: ubuntu-latest diff --git a/package.json b/package.json index 6adf83fc1..55e5fad3f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@botpress/messaging", - "version": "1.2.11", + "version": "1.2.12", "description": "Botpress messaging repo", "author": "Botpress, Inc.", "license": "AGPL-3.0", @@ -121,4 +121,4 @@ "built": false } } -} +} \ No newline at end of file diff --git a/packages/channels/src/teams/service.ts b/packages/channels/src/teams/service.ts index 3df71e85e..46881146c 100644 --- a/packages/channels/src/teams/service.ts +++ b/packages/channels/src/teams/service.ts @@ -11,6 +11,7 @@ export class TeamsService extends ChannelService { async create(scope: string, config: TeamsConfig) { const adapter = new BotFrameworkAdapter({ + channelAuthTenant: config.tenantId, appId: config.appId, appPassword: config.appPassword }) diff --git a/packages/server/package.json b/packages/server/package.json index fc24b3182..edeb1ef74 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@botpress/messaging-server", - "version": "1.2.11", + "version": "1.2.12", "main": "index.ts", "license": "AGPL-3.0", "scripts": { @@ -54,4 +54,4 @@ "yargs": "^17.3.1", "yn": "^4.0.0" } -} +} \ No newline at end of file