Skip to content

Commit 6f1c90b

Browse files
fix(ci): drop force push from GitLab mirror workflow
GitLab.com protected branch rejects force push. Regular push is safer anyway — fails loudly if mirror diverges. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c71ade8 commit 6f1c90b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/mirror.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
echo "$GITLAB_MIRROR_SSH_KEY" | ssh-add -
2222
mkdir -p ~/.ssh
2323
ssh-keyscan gitlab.com >> ~/.ssh/known_hosts
24-
git push --force git@gitlab.com:devrail-dev/gitlab-repo-template.git HEAD:main
24+
git push git@gitlab.com:devrail-dev/gitlab-repo-template.git HEAD:main

0 commit comments

Comments
 (0)