8000 gh-122965: Fix `reusable-change-detection.yml` on `workflow_dispatch` by sobolevn · Pull Request #122966 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-122965: Fix reusable-change-detection.yml on workflow_dispatch #122966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 14, 2024
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 }}
- 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
Loading
0