PR analysis branch name whitelisting


(Tim Jacomb) #1

Hi We have a pull request analysis failing on sonarcloud with the message:
“dependabot/npm_and_yarn/@types/lodash-4.14.118” is not a valid branch name.
It can only contain ‘A-Z’, ‘a-z’, ‘0-9’, ‘-’, ‘_’, ‘.’, and ‘/’)"

We are using a tool called dependabot which generates the branch name, Can the above validation please be relaxed?

We also had a user include a # in their branch name which failed the above validation


(Janos Gyerik) #7

That’s a valid request, thanks for reporting it, and sorry about the delay.

I created a ticket to handle this, you can track its progress here:

https://jira.sonarsource.com/browse/SONAR-11561