Skip to content

Commit

Permalink
Try fetch-depth: 0; and with git config
Browse files Browse the repository at this point in the history
  • Loading branch information
peytondmurray committed Sep 27, 2024
1 parent c42e147 commit 3e70f58
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/generate_api_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- name: "Get PR Info"
id: pr
Expand Down Expand Up @@ -79,6 +80,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git add docusaurus-docs/static/openapi.json
git commit -m "Update REST API documentation (openapi.json)"
git push

0 comments on commit 3e70f58

Please sign in to comment.