Skip to content
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

Calculate PR branch fetch depth instead of hard-coding to 1000 #13796

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

prha
Copy link
Member

@prha prha commented Apr 20, 2023

Summary & Motivation

Based off of actions/checkout#552

We should limit the fetch depth of the PR branch checkout to the bare minimum of what we need.

How I Tested These Changes

Applied script to local repository, made sure that the main branch checkout happened and the PR checkout happened with the calculated fetch depth.

@prha prha requested review from benpankow and yuhan April 20, 2023 15:11
@prha prha merged commit aafe1b1 into master Apr 21, 2023
@prha prha deleted the prha/docs_fetch_depth branch April 21, 2023 20:25
takeru911 pushed a commit to takeru911/dagster that referenced this pull request Apr 29, 2023
…er-io#13796)

## Summary & Motivation
Based off of actions/checkout#552

We should limit the fetch depth of the PR branch checkout to the bare
minimum of what we need.

## How I Tested These Changes
Applied script to local repository, made sure that the main branch
checkout happened and the PR checkout happened with the calculated fetch
depth.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants