I'm writing a continuous integration step that checks the titles of our pull requests for proper tags and formatting before allowing them to be merged.
To do this, I need to echo the title of the Pull Request when given the PR number. Is there a way to do this simply in command line?
building off of @Simon-Warta's answer you can do the following:
You'll need
curl
andjq
available on your machine but that shouldn't be hard if you have a reasonable linux distro..