We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cc86796 + 56568de commit 7bcf702Copy full SHA for 7bcf702
.github/workflows/build.yaml
@@ -33,9 +33,11 @@ jobs:
33
# While DCO check (on Makefile) checks latest 20 commits,
34
# the checkout action automatically creates a merge commit
35
# for merging "master" into a pull request branch.
36
- # So we need to fetch 21 commits (including the merge commit)
37
- # to have 20 actual commits from a pull request.
38
- fetch-depth: 21
+ # In addition to that, Git cannot recognize merge commits when
+ # one of the parents is missing.
+ # So, we will fetch 30 commits just in case to have
39
+ # 20 actual commits with associated merged commits.
40
+ fetch-depth: 30
41
- uses: actions/setup-go@v1
42
with:
43
go-version: ${{ matrix.go }}
0 commit comments