Skip to content

Commit 960a484

Browse files
Fetch tags for main branch only in workflow (#1)
1 parent 59a8024 commit 960a484

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v3
2121
- name: Get tags
22+
if: github.ref == 'refs/heads/main'
2223
run: git fetch --tags origin
2324

2425
- name: Set up Go

0 commit comments

Comments
 (0)