On 9/1/2025 4:51 PM, via Sourceware Forge wrote:

From: Christophe Lyon <[email protected]>

Add a sample workflow for Forgejo, as an example of integrated CI.

To keep it lightweight, we run only two small checks on each patch of
the series:
- contrib/check_GNU_style.py
   which catches common mistakes (spaces vs tab, missing spaces, ...)
   but has some false positive warnings.

- contrib/gcc-changelog/git_check_commit.py
   which checks the commit message and ChangeLog entry

In order to run both checks even if the other fails, we use two steps
with 'continue-on-error: true', and we need a 'final-result'
consolidation step to generate the global status.

ChangeLog:
        * .forgejo/workflows/sanity-checks.yaml: New file.
---
  .forgejo/workflows/sanity-checks.yaml | 47 +++++++++++++++++++++++++++
  1 file changed, 47 insertions(+)
  create mode 100644 .forgejo/workflows/sanity-checks.yaml


Patch LGTM (but I'm not a maintainer).

--
Claudio Bantaloukas

Reply via email to