From cbba4d83d1b8432ca3a3557bbe8a424bf042d2ad Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Wed, 2 Oct 2024 15:51:56 +0200 Subject: [PATCH 1/2] Add SCRAM authentication to CI workflows This commit introduces SCRAM authentication configurations to both `codecov.yml` and `sonarqube.yml` GitHub Action workflow files. The changes include new environment variables for SCRAM host, user, and password to enhance the security and flexibility of the CI processes. --- .github/workflows/codecov.yml | 4 ++++ .github/workflows/sonarqube.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 9ab2f52..a8a5a8f 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -27,6 +27,10 @@ env: TEST_SMTPAUTH_USER: ${{ secrets.TEST_USER }} TEST_SMTPAUTH_PASS: ${{ secrets.TEST_PASS }} TEST_SMTPAUTH_TYPE: "LOGIN" + TEST_ONLINE_SCRAM: "1" + TEST_HOST_SCRAM: ${{ secrets.TEST_HOST_SCRAM }} + TEST_USER_SCRAM: ${{ secrets.TEST_USER_SCRAM }} + TEST_PASS_SCRAM: ${{ secrets.TEST_USER_SCRAM }} permissions: contents: read diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index 0f54b09..16ab41a 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -21,6 +21,10 @@ env: TEST_SMTPAUTH_USER: ${{ secrets.TEST_USER }} TEST_SMTPAUTH_PASS: ${{ secrets.TEST_PASS }} TEST_SMTPAUTH_TYPE: "LOGIN" + TEST_ONLINE_SCRAM: "1" + TEST_HOST_SCRAM: ${{ secrets.TEST_HOST_SCRAM }} + TEST_USER_SCRAM: ${{ secrets.TEST_USER_SCRAM }} + TEST_PASS_SCRAM: ${{ secrets.TEST_USER_SCRAM }} jobs: build: name: Build From 0c3bf239f1a0269d26be72bf3d7cafe5434d8488 Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Wed, 2 Oct 2024 15:54:34 +0200 Subject: [PATCH 2/2] Add support channel information for Gophers Slack Updated the README file to include our new support and general discussion channel on the Gophers Slack. Users can now find us on both Discord and Slack for any queries or discussions related to go-mail. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a34055..8c200c7 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,8 @@ We guarantee that go-mail will always support the last four releases of Go. With the user a timeframe of two years to update to the next or even the latest version of Go. ## Support -We have a support and general discussion channel on Discord. Find us at: [#go-mail](https://discord.gg/dbfQyC4s) +We have a support and general discussion channel on Discord. Find us at: [#go-mail](https://discord.gg/dbfQyC4s) alternatively find us +on the [Gophers Slack](https://gophers.slack.com) in #go-mail ## Middleware The goal of go-mail is to keep it free from 3rd party dependencies and only focus on things a mail library should