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:
- project name,
- name of the user, who performed this push,
- name of the branch (branches) affected by push.
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.: