Skip to content

Commit c06d3e5

Browse files
authored
chore: announce package releases in Comms (#1084)
Co-authored-by: Henning Muszynski <henningmu@users.noreply.github.com>
1 parent 5725513 commit c06d3e5

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/publish-package-release.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,15 @@ jobs:
160160
echo "EOF"
161161
} >> "$GITHUB_OUTPUT"
162162
163-
- name: Announce release in Twist
163+
- name: Announce release in Comms
164164
if: ${{ steps.semantic-release.outputs.package-published == 'true' && steps.announcement.outputs.should_announce == 'true' }}
165-
uses: Doist/twist-post-action@74a0255b75ad93c06b9eb1009960106efe13f5ca
165+
uses: Doist/comms-actions/post-comment-action@cf057e327f43e3ded8a54ebc871911d2b44027e4
166166
with:
167-
message: ${{ steps.announcement.outputs.message }}
168-
install_id: ${{ secrets.TWIST_RELEASE_INSTALL_ID }}
169-
install_token: ${{ secrets.TWIST_RELEASE_INSTALL_TOKEN }}
167+
comms-client-id: ${{ secrets.COMMS_CLIENT_ID }}
168+
comms-client-secret: ${{ secrets.COMMS_CLIENT_SECRET }}
169+
comms-username: ${{ secrets.COMMS_USERNAME }}
170+
comms-password: ${{ secrets.COMMS_PASSWORD }}
171+
workspace-id: 69
172+
thread-id: BPZsUohfX5WV4tFJKMHAh
173+
content: ${{ steps.announcement.outputs.message }}
170174
continue-on-error: true

0 commit comments

Comments
 (0)