From 4c40a8a1771778a060c3816c6770b32529724781 Mon Sep 17 00:00:00 2001 From: David Dworken Date: Tue, 12 Sep 2023 18:57:21 -0700 Subject: [PATCH] Skip datadog setup for release commits since we also skip tests for release commits --- .github/workflows/go-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index eceab0d..4b3c709 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -52,7 +52,7 @@ jobs: colima start sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock - name: Set up Datadog - if: github.ref == 'refs/heads/master' + if: ${{ !startsWith(github.event.head_commit.message, 'Release') && github.ref == 'refs/heads/master' }} uses: datadog/agent-github-action@v1.3 with: api_key: ${{ secrets.DD_API_KEY }}