Skip to content

Maintenance: Fix concurrent git update breaking changelog generation #1477

Closed
@heitorlessa

Description

@heitorlessa

Summary

We need to ensure GH Actions git client can pull and rebase before pushing any changes to reduce the off chances a concurrent update prevents a push.

Why is this needed?

We auto-merge safe dependencies from dependabot. In rare incidents, this caused the release to fail as the Git tip was not up to date. For typical workflows this isn't a challenge, but for releases where it might have ~2m gap between checkout and push this can happen more often.

Which area does this relate to?

Governance

Solution

Solution differs from the usual git pull --rebase origin <BRANCH>, because git is in detached mode when workflows are trigger under release notes. We need a solution that solves both -- PR incoming.

Acknowledgment

Metadata

Metadata

Assignees

Labels

tech-debtTechnical Debt tasks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions