There are several ways to enable automated linting of your code in popular cloud git repositories. This will allow auto-linting of commits to the default branch and auto checks for upcoming pull requests from colleagues or contributors.
abaplint can be installed using the GitHub App, it takes just a few clicks.
abaplint.app gives annotations, suggested changes, additional insights and more.
Add abaplint-action to the action, this will give annotated errors in the actions log.
Does not give annotations for pull requests via forks.
Raw setup, example workflow can be seen in github-actions-workflow.yml. See working repo example at abaplinted_sample gitHUB
example can be found in examples/.gitlab-ci.yml.
To use abaplint_commit_only rule, create an abaplint_template file that should reflect the .abaplint.json file with an additional rule in the global section. Formatting is important.
"noIssues" : [
###NOISSUES###
],
Working repo for this configuration can be found at abaplinted_sample gitLAB or sbu-absw/abaplint-example
example configuration is in examples/.travis.yml. Repository example is at abaplinted_sample gitHUB (also check pull requests)