Skip to content

Fetch latest origin as part of deploy PR script#11563

Merged
aduth merged 1 commit intomainfrom
aduth-fetch-git-deploy-pr
Nov 26, 2024
Merged

Fetch latest origin as part of deploy PR script#11563
aduth merged 1 commit intomainfrom
aduth-fetch-git-deploy-pr

Conversation

@aduth
Copy link
Copy Markdown
Contributor

@aduth aduth commented Nov 26, 2024

🛠 Summary of changes

Updates scripts/create-deploy-pr to run fetch the latest git remote before starting the script.

If the deployer hasn't recently fetched the remote repository, they can often encounter a cryptic error when trying to create the branch based on the latest commit in the staging environment.

Related Slack discussion: https://gsa-tts.slack.com/archives/C0NGESUN5/p1719949060382589

📜 Testing Plan

Run DRY_RUN=1 scripts/create-deploy-pr and verify no errors in output

changelog: Internal, Deploy, Fetch latest origin as part of deploy PR script
@aduth aduth merged commit 61aa8f9 into main Nov 26, 2024
@aduth aduth deleted the aduth-fetch-git-deploy-pr branch November 26, 2024 18:09
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.

4 participants