Refactoring: swap if and else branches
Move the main part of the action to the if branch.
See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/swap-if-else-branches/
Hi all, Gitlab will be set in maintenance mode on Friday 29/11/2024 from 08:45 AM CET with the intention of finishing by the 10:45 PM CET of Friday 29/11/2024
Move the main part of the action to the if branch.
See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/swap-if-else-branches/