WriteFileInSourceRepo writes a file to the source repo and commits it
(path, content, commitMessage string)
| 339 | |
| 340 | // WriteFileInSourceRepo writes a file to the source repo and commits it |
| 341 | func (u *UserActions) WriteFileInSourceRepo(path, content, commitMessage string) { |
| 342 | require.NotEmpty(u.t, u.repoDir, "Need direct access for source file manipulation") |
| 343 | writeFile(u.t, u.repoDir, path, content) |
| 344 | gitCommit(u.t, u.repoDir, commitMessage) |
| 345 | } |
| 346 | |
| 347 | // CreateBranchInSourceRepo creates and checks out a new branch in the source repo |
| 348 | func (u *UserActions) CreateBranchInSourceRepo(branchName string) { |