diff --git a/.github/workflows/pr-notification.yml b/.github/workflows/pr-notification.yml index 58755b00..414a6813 100644 --- a/.github/workflows/pr-notification.yml +++ b/.github/workflows/pr-notification.yml @@ -15,6 +15,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 }} @@ -23,6 +25,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/release.yml b/.github/workflows/release.yml index f6429068..5dcffa1e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,6 +52,8 @@ jobs: - name: Notify Mattermost 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 }}