Continuing the discussion from Github Actions to make changes to a file:
@brightran already gave some example how to make changes to files and commit + push them.
I read somewhere that Actions cannot edit files within .github
This would include issue templates tho I would assume that you still can when you run a script or so (as pointed out by brightran in the example).
I want to shift my whole workload to Github Actions.
So when I merge a PR from master to release (branch) there is happening something.
One part is that some version number will be changed/increased. This version number is used in issue templates. So it would be nice to automatically adjust that (on push release = merge PR). As far as I know there is no way to use templates in another branch. Something like secrets (but public) would be handy. So that you simply link a variable in the issue templates and that var is pulled from repo settings like secrets.