At the moment there isn’t a pipeline parameter for repository name, the closest we have is pipeline.project.git_url but that will be a URL like https://github.com/circleci/circleci-docs and not just the repo. If that won’t work for your purposes, then you could use a combination of our built-in environment variables and the Dynamic Configuration feature.
So for your setup workflow you would pass down the CIRCLE_PROJECT_REPONAME into a new pipeline variable, like repo-name which then can be used in your configuration file accomplishing what you are looking to do.
We have some good additional reading about dynamic configs here: