Skip to content

WIP: Forgejo / Gitea support#7822

Draft
lumarel wants to merge 2 commits into
oxsecurity:mainfrom
lumarel:feature/forgejo-gitea
Draft

WIP: Forgejo / Gitea support#7822
lumarel wants to merge 2 commits into
oxsecurity:mainfrom
lumarel:feature/forgejo-gitea

Conversation

@lumarel

@lumarel lumarel commented May 15, 2026

Copy link
Copy Markdown

As already mentioned in the issue currenlty looking into making megalinter work for Forgejo / Gitea.
Mostly it seems like it will just work, there are only a few details that make it break.

This is mostly a PoC for now, still have to test if the changes of the reporter actually work,
though if you want you can already give feedback, might just not be finished yet.

Fixes #7779

Proposed Changes

Currently the plan is to:

  1. Add documentation how to setup the workflow
  2. Adapt GithubCommentReporter to work with the Quirks of the different platform

Readiness Checklist

Author/Contributor

  • Add entry to the CHANGELOG listing the change and linking to the corresponding issue (if appropriate)
  • If documentation is needed for this change, has that been included in this pull request

Reviewing Maintainer

  • Label as breaking if this is a large fundamental change
  • Label as either automation, bug, documentation, enhancement, infrastructure, or performance

@lumarel lumarel force-pushed the feature/forgejo-gitea branch from f491a65 to 2bdafac Compare May 18, 2026 21:12
@lumarel lumarel force-pushed the feature/forgejo-gitea branch from 2bdafac to 0b7ae54 Compare May 18, 2026 21:13

## Single Repository

Add the following to an `azure-pipelines.yaml` file within your code repository:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

azure-pipelines ? ^^

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, I took this one as the template and must have overlooked that 🙂

@lumarel

lumarel commented May 19, 2026

Copy link
Copy Markdown
Author

Just a short headsup, it seems like I have to replace nearly all pygithub commands with requests calls, first full draft might still be lots of conditions in the GithubCommentReporter, but in the end it might be better to split it out into it's own reporter.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this pull request should stay open, please remove the O: stale 🤖 label or comment on the pull request.

@github-actions github-actions Bot added the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Jun 19, 2026
@nvuillam

Copy link
Copy Markdown
Member

@lumarel i agree, if the github libraries are not matching forgejo / gitea apis, let's create new reporters :)

@github-actions github-actions Bot removed the O: stale 🤖 This issue or pull request is stale, it will be closed if there is no activity label Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Forgejo / Gitea support

2 participants