I copy my bitrise.yml to the default branch and at the root of my gitlab (self host) repo.
Then I went to the workflow editor to setup the property : “store in app repository”
I get the message :
Couldn’t find a bitrise.yml file in the app’s repository. Add the file to your main branch and try again.
I’m getting the same. After I already committed the file in the main branch of my project, Bitrise IO keeps showing me that error message “Couldn’t find a bitrise.yml file in the app’s repository”.
If you get an error while trying to switch your .yml from being hosted on bitrise.io to your app repository, start by checking the following:
The bitrise.yml is at the root of the repository
The repository URL is properly set at the App’s Settings
The bitrise.yml exists on the default branch (set in the App’s Settings)
The service credential user has read access to the repo (can be checked on Teams tab, by testing the connection
Please note that this only works for Bitbucket, Gitlab, Self-hosted Gitlab, and Github at the moment. It’s not integrated with GitHub Enterprise or any other self-hosted service. If you are using GitHub Enterprise or a self-hosted service, you can use the Bitrise Run step to run your workflows from the repository as described here.
In case of a self-hosted gitlab, you have to have it connected to an Organization account, and a service credential user should be an owner of that Organization.