Hi Martin,

Thanks for your reply. I tried but still failed:

Run the commands:
```
git remote add gitbox
https://gitbox.apache.org/repos/asf/cloudberry-site.git
git checkout tuhaihe-patch-1
git push --set-upstream gitbox tuhaihe-patch-1:main
```

Then returns:
```
remote: remote: error: GH006: Protected branch update failed for
refs/heads/main.
remote: remote:
*remote: remote: - At least 1 approving review is required by reviewers
with write access.*
remote: remote:
*remote: remote: - Required status check "cbdb external_fts
pipeline/icw-test" is expected.*
remote: To github:apache/cloudberry-site.git
remote:  ! [remote rejected] 33cf90819d5a413b553c0b17681a318df37d6687 ->
main (protected branch hook declined)
remote: error: failed to push some refs to 'git@github
:apache/cloudberry-site.git'
remote: Syncing refs/heads/main...
remote: Could not sync with GitHub:
remote: Error running update hook: /x1/gitbox/hooks/update.d/01-sync-repo.py
remote: error: hook declined to update refs/heads/main
To https://gitbox.apache.org/repos/asf/cloudberry-site.git
 ! [remote rejected] tuhaihe-patch-1 -> main (hook declined)
error: failed to push some refs to '
https://gitbox.apache.org/repos/asf/cloudberry-site.git'
```

Still indicates that I cannot bypass the check...

Best,
Dianjin Wang


On Wed, Nov 6, 2024 at 6:55 PM Martin Grigorov <mgrigo...@apache.org> wrote:

> Hi,
>
> AFAIK you could use Gitbox instead of Github to bypass these checks.
> See https://gitbox.apache.org/
> https://gitbox.apache.org/repos/asf/cloudberry-site.git
>
> Martin
>
> On Wed, Nov 6, 2024 at 12:49 PM Dianjin Wang <wangdian...@gmail.com>
> wrote:
>
> > Hi team,
> >
> > We just merged one `asf.yaml` PR for the Cloudberry website repo initial
> > settings[1], but the `asf.yaml` has a wrong setting that included
> > an unnecessary check [2], which blocks our other new PRs from being
> merged.
> > I want to revert this commit or create one new PR[3] to fix it, but
> cannot
> > bypass the unnecessary check. It is a deadlock.
> >
> > Could you help with this? I'm not sure if it's the right place to ask for
> > help, should I create one Infra jira issue?
> >
> > Thanks!
> >
> > [1] https://github.com/apache/cloudberry-site/pull/168
> > [2]
> >
> https://github.com/apache/cloudberry-site/blob/f07d022c2c353bde54080c6cde0e66557c87af06/.asf.yaml#L47
> > [3] https://github.com/apache/cloudberry-site/pull/172
> >
> > Best,
> > Dianjin Wang
> >
>

Reply via email to