In general -> discuss with everyone else before doing things. Update the project board with your status and TODO
If you are making a small adjust or fix to the codebase, it is probably okay to make a commit directly to main. Make sure to tell everyone else about it.