I was wondering whether it's possible to automate merging of branches after tests pass using GitHub Actions.
We have two branches, 'test' and 'main'. After every merge or push to 'test', we have a Workflow set up to run tests.
Is it possible to make GitHub automatically merge 'test' -> 'main' after the tests complete, and only if they complete successfully?