Hi Francis,
either that little loophole was closed or you're missing `user.email`
and `user.name` in your git config. Here's[1] how we used to do it for
the Camel website.

zoran

[1] 
https://github.com/apache/camel-website/blob/master/.github/action-website/publish#L11-L12

On Thu, Sep 5, 2019 at 3:02 AM Francis Chuang <francischu...@apache.org> wrote:
>
> Hi Zoran,
>
> I tired cloning from github.com, but pushing to it is still denied.
>
> If I don't set any credentials in git, it complains that there is no
> username for github.com:
> https://github.com/apache/calcite/commit/d55e389310dcd024ae96623692a1e0a67274873c/checks
>
> If I set the GITHUB_TOKEN as the credential, I get a 403:
> https://github.com/apache/calcite/runs/212573263
>
> Francis
>
> On 4/09/2019 10:04 pm, Zoran Regvart wrote:
> > Hi Francis,
> >
> > On Tue, Aug 27, 2019 at 12:19 PM Francis Chuang
> > <francischu...@apache.org> wrote:
> >>
> >> I have implemented the ability to generate the website and javadoc for
> >> Calcite using Github Actions. See:
> >> https://github.com/apache/calcite/tree/test-site/.github/workflows
> >>
> >> The missing piece is that we need the token to publish to our
> >> calcite-site repository to be added as a secret in Github Actions and
> >> there is currently no clear process as to whether this is allowed or how
> >> to get this done.
> >
> > In your GitHub actions try cloning from github.com rather than
> > gitbox.apache.org, I think you'll find that you can push to a
> > github.com repository without authentication from a GitHub action.
> >
> > zoran
> >



-- 
Zoran Regvart

Reply via email to