diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 36b197d6..9b335089 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -36,11 +36,11 @@ jobs: - name: Checkout Repository uses: actions/checkout@v4 with: - # Depth 0 required for publishing to capture full author history + # Fetch depth 0 required for publishing to capture full author history repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} token: ${{ secrets._GITHUB_TOKEN || secrets.GITHUB_TOKEN }} ref: ${{ env.GITHUB_REF }} - depth: ${{ github.event_name == 'push' && 0 || 1 }} + fetch-depth: ${{ github.event_name == 'push' && 0 || 1 }} - name: Set up Python uses: actions/setup-python@v5 with: