Skip to content

Commit 6c6f3a1

Browse files
authored
Update go-ci-cd.yml
1 parent 6c302a8 commit 6c6f3a1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/go-ci-cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Go CI/CD
33
on:
44
push:
55
branches:
6-
- main
6+
- Prod # Trigger pipeline only when code is pushed to the Prod branch
77
pull_request:
88
branches:
9-
- main
9+
- Prod # Also trigger pipeline for pull requests targeting the Prod branch
1010

1111
jobs:
1212
test:

0 commit comments

Comments
 (0)