Skip to content

[CI] Fix CI setup to not reuse a cache if the destination branch changes on a PR #4166

Open
@jferrant

Description

@jferrant

Describe the bug
Currently CI avoids fully re-running based on commit sha to enable build reuse. However, this does not account for destination branches changing. So if you open a PR against branch A and it builds, but then you change to against branch B, it will reuse the archive as it has the same commit hash. However, it should rebuild and fully rerun in this scenario. Update it to do so.

Metadata

Metadata

Assignees

Labels

CIbugUnwanted or unintended property causing functional harm

Type

No type

Projects

Status

Status: 🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions