aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/go.yaml
diff options
context:
space:
mode:
authorGravatar Anshul Gupta <ansg191@anshulg.com> 2024-08-11 13:34:24 -0700
committerGravatar Anshul Gupta <ansg191@anshulg.com> 2024-08-11 13:34:24 -0700
commit44eb7aba6a10964cbfcc9735e1a7a0e6d959ba87 (patch)
tree205486bbeb82e4889a27959167192d2ff3bca58b /.github/workflows/go.yaml
parent7758d903c27f5cdaadaa24f8ed1965b7a6590df8 (diff)
downloadibd-trader-44eb7aba6a10964cbfcc9735e1a7a0e6d959ba87.tar.gz
ibd-trader-44eb7aba6a10964cbfcc9735e1a7a0e6d959ba87.tar.zst
ibd-trader-44eb7aba6a10964cbfcc9735e1a7a0e6d959ba87.zip
Restrict actions to run only on path changes
Diffstat (limited to '.github/workflows/go.yaml')
-rw-r--r--.github/workflows/go.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml
index c4e2b77..984b630 100644
--- a/.github/workflows/go.yaml
+++ b/.github/workflows/go.yaml
@@ -3,8 +3,10 @@ name: Go
on:
push:
branches: [ "main" ]
+ paths: [ backend/**/* ]
pull_request:
branches: [ "main" ]
+ paths: [ backend/**/* ]
permissions:
contents: read