Suddenly, what are you writing in Java code?
In my opinion, there is a clear difference in work efficiency between IDEs that are familiar with shortcut keys and IDEs that are not. It seems that "you can choose IDE" and "you can choose PC" are treated as sales even at the site of hiring engineers, and I'm glad that the company that can choose is better than the company that can not actually choose. However, when I enter the environment where I can actually choose, it tends to cause such a situation.
I want to unify the formatter if possible. On the other hand, it is troublesome to make rules such as "When pushing the source code, format it with the build tool". You can ask each person to set the pre-commit, but if you are using GitHub, it should be easier if you do it yourself!
So, I set it. I think there are various build tools and formatters depending on the project, but this article deals with Gradle + Google Java Format.
With this, it may be possible to get rid of problems that are difficult to review due to disjointed format!
I couldn't find a function like commit the execution result. There seems to be no choice but to write the git command seriously.
Since the trigger is pull_request
, it replicates the merge source branch locally and references it.
…… Nothing happens, and if you skip the checkout of the branch, it will be committed to HEAD.
origin seems to be set.
Putting ʻif success ()` in the subsequent step is meaningless. If command A fails, if you want to skip command B and execute command C or later,
It seems to be good to realize with.
I may add it if I remember something. May not.
GitHub Actions was good, but it took me a long time because I didn't know much about Git. May as many developers as possible be freed from cosmetic reviews without justice!
https://help.github.com/ja/actions http://nomadblacky.hatenablog.com/entry/2018/10/27/145451