To be honest this prompt should work with a modern agent.

"Build a GitHub Actions Workflow to run the <python script> regularly and
publish the resulting website following the ASF way of publishing sites.
Explain what you are doing and why along the way so that I can learn it.".

And I am not joking.

J.

On Thu, Sep 10, 2026 at 6:56 PM sebb <[email protected]> wrote:

> On Thu, 10 Sept 2026 at 17:02, Rich Bowen <[email protected]> wrote:
> >
> > I’m not at all opposed to this path, but I have not the vaguest idea of
> where to get started, as everything I’ve done to date is just the python
> scripts in https://github.com/apache/comdev-metrics
>
> I can take a look later with a view to setting up a workflow.
>
> Sebb
> > > On Sep 10, 2026, at 11:53 AM, Dave Fisher <[email protected]> wrote:
> > >
> > > If you follow the GHA approach then it should save the html pages into
> a site branch. Similar to how an asf-site branch is created for publishing.
> > >
> > > The projects vm can then use a crontab to pull from the branch.
> > >
> > > This makes it much easier to push this site somewhere other than
> projects.apache.org in the future.
> > >
>
> Agreed.
>
> > > Best,
> > > Dave
> > >
> > >> On Sep 10, 2026, at 8:04 AM, Rich Bowen <[email protected]> wrote:
> > >>
> > >> On Sep 10, 2026, at 10:38 AM, Jarek Potiuk <[email protected]> wrote:
> > >>>
> > >>> Yeah. GH Actions when workflow is running get their own temporary
> > >>> GITHUB_TOKEN that should have enough of rate limit.
> > >>>
> > >>> https://docs.github.com/en/actions/reference/limits
> > >>>
> > >>>> GITHUB TOKEN - The rate limit for GITHUB_TOKEN is 1,000 requests
> per hour
> > >>> per repository. For requests to resources that belong to a GitHub
> > >>> Enterprise Cloud account, the limit is 15,000 requests per hour per
> > >>> repository.
> > >>>
> > >>> We have enterprise level account so 15.000 requests / HR should be
> enough.
> > >>
> > >> I have a generic read-only GH token, and it gives me 5000 requests/hr
> which is way more than is needed for this particular task. It also poses
> zero risk if it’s leaked, since it’s read-only.
> > >>
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: [email protected]
> > >> For additional commands, e-mail: [email protected]
> > >>
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to