AWS code (build|deploy) supports GitHub actions workflow, gitlab does, gitea (codeberg, forgejo) too
The biggest issue is the compatibility, forgejo doesn’t have all the actions available that GitHub does nor some of the same functionality