Open delijah opened 5 years ago
My method of fetching github label using Github CLI:
First set GH_TOKEN or GH_ENTERPRISE_TOKEN (and GH_HOST in this case). Then,
gh pr view $TRAVIS_PULL_REQUEST --json labels --jq '.labels[].name'
This can then be used in conditional logic.
We would like use conditions for github labels like this:
if: 'my-custom-github-label' IN labels
Any chance to inlcude this?