From e076dbb532743292884eaebec0895c6e952b765d Mon Sep 17 00:00:00 2001 From: Artem Belik Date: Tue, 11 Aug 2026 15:07:20 +0300 Subject: [PATCH] chore: skip TLS verification for the Mattermost webhook --- .github/workflows/pr-notification.yml | 4 ++++ .github/workflows/publish.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/pr-notification.yml b/.github/workflows/pr-notification.yml index c61ce25..4e3cb77 100644 --- a/.github/workflows/pr-notification.yml +++ b/.github/workflows/pr-notification.yml @@ -19,6 +19,8 @@ jobs: - name: Notification to main channel if: ${{ github.actor != 'dependabot[bot]' }} uses: mattermost/action-mattermost-notify@v2.1.0 + env: + NODE_TLS_REJECT_UNAUTHORIZED: '0' with: MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }} MATTERMOST_CHANNEL: ${{ secrets.MM_CHANNEL_NAME }} @@ -27,6 +29,8 @@ jobs: - name: Notification to dev channel uses: mattermost/action-mattermost-notify@v2.1.0 + env: + NODE_TLS_REJECT_UNAUTHORIZED: '0' with: MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }} MATTERMOST_CHANNEL: ${{ secrets.MM_CHANNEL_BOT_PR }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index be6a47e..21921b4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,6 +27,8 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} NPM_CONFIG_PROVENANCE: true - uses: mattermost/action-mattermost-notify@v2.1.0 + env: + NODE_TLS_REJECT_UNAUTHORIZED: '0' with: MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }} MATTERMOST_CHANNEL: ${{ secrets.MM_CHANNEL_NAME }}