Closed skrobinson closed 2 years ago
I second this. For some reason, trying to run on push simply fails on the python script. It would be nice to associate a badge with a successful merge/push that shows a pass condition.
Yes, currently it only works on PR and this is intended. I suppose this action could be modified to also run on push (with the addition of input variable, or perhaps it could be detected on runtime, using GitHub's environment variables), and then it would just output the result to console/stdout.
If I find some time in near future, I will try to implement that.
I've pushed the changes to master branch, this Action should now work with "on-push" scenario.
Let me know if there're any issues. I'm closing the issue for now.
It would be nice if StaticAnalysis would work with other actions as well as PR. I'm trying out SA and want to repeatedly trigger it while I make changes to the configuraton. Either
push
or manual triggers would help during setup.