when: - event: push evaluate: '(CI_COMMIT_BRANCH == "devel" && not (CI_COMMIT_MESSAGE startsWith "release")) || (CI_COMMIT_BRANCH == "main" && not (CI_COMMIT_MESSAGE startsWith "release(stable)"))' steps: semantic-release: image: node:latest environment: GITEA_TOKEN: from_secret: gitea_token GIT_CREDENTIALS: from_secret: git_credentials commands: - npm i - npm run release