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

.github: Fix chart push on forks #25274

Merged
merged 1 commit into from May 5, 2023
Merged

Conversation

chancez
Copy link
Contributor

@chancez chancez commented May 4, 2023

Currently chart push fails on PRs from forks because the branch doesn't exist in the upstream cilium/cilium repository. For forks we can just use the SHA instead. We want to continue using the upstream branch as the ref if it's a non-fork PR because it gives the chart a nice name with the branch name included in it.

Checkout the SHA instead of the ref on forks, since the ref will only
exist on the fork, not the upstream repository being checked out.

Signed-off-by: Chance Zibolski <chance.zibolski@gmail.com>
@chancez chancez added area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. labels May 4, 2023
@chancez chancez self-assigned this May 4, 2023
@chancez chancez requested review from a team as code owners May 4, 2023 21:43
@chancez chancez requested a review from brlbil May 4, 2023 21:43
@michi-covalent
Copy link
Contributor

/test

@michi-covalent
Copy link
Contributor

test-1.26-net-next: hit #24964

@michi-covalent
Copy link
Contributor

/test-1.26-net-next

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 5, 2023
@sayboras sayboras merged commit 849bd73 into main May 5, 2023
58 checks passed
@sayboras sayboras deleted the pr/chancez/push_charts_forks_fix branch May 5, 2023 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants