Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Address review
  • Loading branch information
sobolevn committed Aug 13, 2024
commit 4aadb4aa152551280c3762dfe9820e7e8914ba3d
6 changes: 3 additions & 3 deletions .github/workflows/reusable-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
Comment thread
sobolevn marked this conversation as resolved.
Outdated
- name: 'Check out latest commit'
if: github.event_name != 'pull_request'
uses: actions/checkout@v4
# Adapted from https://github.com/actions/checkout/issues/520#issuecomment-1167205721
- name: 'Fetch commits to get branch diff'
if: github.event_name == 'pull_request'
Expand All @@ -45,6 +42,9 @@ jobs:
# Get all commits since that commit date from the base branch (eg: master or main):
git fetch origin ${{ env.refspec_base }} --shallow-since="${DATE}" \
--no-tags --prune --no-recurse-submodules
- name: 'Check out latest commit'
if: github.event_name != 'pull_request'
uses: actions/checkout@v4
- name: 'Set up Python'
uses: actions/setup-python@v5
with:
Expand Down