Skip to content

Commit

Permalink
fetch depth 0
Browse files Browse the repository at this point in the history
  • Loading branch information
danhurwit committed Feb 12, 2024
1 parent 646d021 commit c8825d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: '1.20.5' # tfplugindocs requires go >= 1.18
Expand All @@ -53,7 +55,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git switch -c ${{ steps.extract_branch.outputs.branch }}
rm -r docs
/tmp/tfplugindocs
- name: Commit And Push
Expand Down

0 comments on commit c8825d5

Please sign in to comment.