Skip to content

Commit

Permalink
needed to set fetch-depth
Browse files Browse the repository at this point in the history
  • Loading branch information
Noofbiz committed Dec 21, 2023
1 parent 2d5e87b commit b674c6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Get dependencies
Expand Down

0 comments on commit b674c6a

Please sign in to comment.