I want to create an Action that changes a file in my repository. Files written to the local file system inside the Action will dissapear when the workflow is done. What is the best approach to modify files? Can Actions create commits?
With your GITHUB_TOKEN you can make changes as you describe. Here are a couple Actions from the community that might be a good place to start: