Skip to content

fix: Deny force-update and deletion via Refspec - #1081

Merged
stefanprodan merged 2 commits into
mainfrom
fix-refspec
Aug 4, 2026
Merged

fix: Deny force-update and deletion via Refspec#1081
stefanprodan merged 2 commits into
mainfrom
fix-refspec

Conversation

@stefanprodan

@stefanprodan stefanprodan commented Aug 4, 2026

Copy link
Copy Markdown
Member

Prevent deletion via refspecs with an empty source and force pushing without setting the GitForcePushBranch feature gate.

stefanprodan and others added 2 commits August 4, 2026 12:04
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
@stefanprodan stefanprodan added bug Something isn't working area/git Git related issues and pull requests backport:release/v1.2.x To be backported to release/v1.2.x labels Aug 4, 2026
@stefanprodan
stefanprodan merged commit 408ea9d into main Aug 4, 2026
8 checks passed
@stefanprodan
stefanprodan deleted the fix-refspec branch August 4, 2026 15:27
@fluxcdbot

Copy link
Copy Markdown
Member

Successfully created backport PR for release/v1.2.x:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/git Git related issues and pull requests backport:release/v1.2.x To be backported to release/v1.2.x bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants