I want to retrieve and use the project information using the predefined variables in GitLab such as CI_COMMIT_AUTHOR.
I want to use that variable outside of the .gitlab-ci.yml file.
I am writing a template so when it's used the file should repopulate with the correct information.
For example, the template includes a .yaml file
apiVersion: sample.io/v1alpha1
kind: Component
metadata:
name: #said team app"my_awesome_app"
description: #description of app
annotations:
backstage.io/techdocs-ref: dir:.
spec:
type: documentation
lifecycle: experimental
owner: $CI_COMMIT_AUTHOR