I know, that in general GitLab CI scripts run after every push to the repository. How I can retrieve metainforation about the push and then transfer it to the GitLab CI?
By metainforation I mean:
You can find an overview of variables available in the CI here: https://docs.gitlab.com/ee/ci/variables/#predefined-variables-environment-variables.
E.g.: