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