danger / swift

⚠️ Stop saying "you forgot to …" in code review
https://danger.systems/swift/
MIT License
1.05k stars 141 forks source link

Is there a way to get the selected labels of a Pull Request? #520

Closed kobe-pedroveloso closed 2 years ago

kobe-pedroveloso commented 2 years ago

Hello everybody!

Is there a way to get the selected labels of a Pull Request? Sorry for this silly question.

I would like to create some rules using the selected labels in a pull request. I didn't notice any labels property into the pullRequest object.

Do you guys know how can I list the labels? :)

Thx!!

orta commented 2 years ago

Labels live in the issue in the GitHub API

kobe-pedroveloso commented 2 years ago

Labels live in the issue in the GitHub API

Thank you!!! :D