How it works¶
On each execution of saturn run, Saturn takes the following steps:
- Read all task files.
- List all repositories in the host it has access to, GitHub or GitLab.
- For each repository and each task, do:
- Check if all repository filters match the repository.
- If all filters match, clone the repository to the local file system.
- Create a new branch locally.
- Execute the script defined in the task file to modify the local clone of the repository.
- If the script added, modified or deleted files in the local clone, create a commit.
- Push the commit and branch to the remote.
- Create a pull request or the pull request, if it exists already.