I've done a check of most of the components.

I found another discrepancy:

https://github.com/apache/commons-weaver/workflows/Java%20CI/badge.svg - passing
https://github.com/apache/commons-weaver/actions/workflows/maven.yml/badge.svg
- failing

The latter is correct:

https://github.com/apache/commons-weaver/actions/workflows/maven.yml

It looks like the original badge URL does not get updated sometimes.

I fixed the template to use the URL as provided by GH itself.

On Fri, 20 Oct 2023 at 22:42, sebb <seb...@gmail.com> wrote:
>
> On Fri, 20 Oct 2023 at 17:35, Alex Herbert <alex.d.herb...@gmail.com> wrote:
> >
> > Navigating to the Java CI workflow you can generate a badge using the
> > ... menu in the top right next to the search filter. This creates a
> > badge with a different URL to that currently in use:
> >
> > Current:
> > [![GitHub Actions
> > Status](https://github.com/apache/commons-build-plugin/workflows/Java%20CI/badge.svg)](https://github.com/apache/commons-build-plugin/actions)
> >
> > Generated:
> > [![Java 
> > CI](https://github.com/apache/commons-build-plugin/actions/workflows/maven.yml/badge.svg)](https://github.com/apache/commons-build-plugin/actions/workflows/maven.yml)
> >
> > Using the badge URL shows a green badge.
>
> Thanks, very useful. Did not know that is where they came from.
>
> > Another working version from Statistics is the same E.g.:
> >
> > https://github.com/apache/commons-statistics/actions/workflows/maven.yml/badge.svg
> >
> > So try a badge update with a different URL.
>
> It seems the build-plugin template is wrong, and needs to be fixed.
>
> > Alex
> >
> >
> >
> > On Fri, 20 Oct 2023 at 16:03, sebb <seb...@gmail.com> wrote:
> > >
> > > The build-plugin readme shows a failing Java CI build:
> > >
> > > https://github.com/apache/commons-build-plugin
> > >
> > > However the build has been working for ages:
> > >
> > > https://github.com/apache/commons-build-plugin/actions/workflows/maven.yml
> > >
> > > Any idea how this can be fixed?
> > >
> > > Not much point having the badge if it is stale.
> > >
> > > Sebb
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > > For additional commands, e-mail: dev-h...@commons.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to