From 7abd165d92e22e8577576f676115ab0b60d00917 Mon Sep 17 00:00:00 2001 From: Jordan Storms Date: Fri, 8 Oct 2021 11:56:40 -0400 Subject: [PATCH] adjust git workflow --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bbb23b76..8b79ba1b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,10 @@ name: build -on: [push, pull_request] +on: + push: + branches: + - "main" + pull_request: jobs: lint: @@ -115,4 +119,4 @@ jobs: - name: Send a failure metric env: DD_API_KEY: ${{ secrets.DD_API_KEY }} - run: ./scripts/send_status_metric.sh 1 $DD_API_KEY \ No newline at end of file + run: ./scripts/send_status_metric.sh 1 $DD_API_KEY