Skip to content

Commit dd23a6d

Browse files
authored
adjust git workflow (#186)
1 parent 468377f commit dd23a6d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: build
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
pull_request:
48

59
jobs:
610
lint:
@@ -115,4 +119,4 @@ jobs:
115119
- name: Send a failure metric
116120
env:
117121
DD_API_KEY: ${{ secrets.DD_API_KEY }}
118-
run: ./scripts/send_status_metric.sh 1 $DD_API_KEY
122+
run: ./scripts/send_status_metric.sh 1 $DD_API_KEY

0 commit comments

Comments
 (0)