This tries to add support for forked repo pull requests, to be able
to run quality checks on it and send comments on the PR. Hopefully,
this solves the issues faced recently.
Due to the way pull_request_target works, I can't send this as a PR
so committing directly to `main` and then sending a dummy PR from a fork
to test if it works as documented by github and elsewhere.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
The pull_request_target doesn't seem to work for PRs from forks,
this reverts to use and kick the workflow for pull_request instead.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Due to github push events and restrictive github action access, the
statement is changed without tagging the author with the assumption
that the PR author is subscribed to the PR events and should get a
notification and/or email.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This enables jacoco, which didn't run before with the -P quality due to
missing passing of jacoco arg line to surefire plugin.
This also adds support for jacoco/quality builds using Github action and
posting of the PR coverage data using a new action step.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This fixes the comment message for merge conflict checker and resets the
github branch protection for main in case of need by the RM.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
* .github: add boring-cyborg integration
This add boring-cyborg bot app added to apache org that provides:
- labeling PRs by file paths
- welcome and first msg for new contributors
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
* .github: add semantic title checking app
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>