if [ -z "$LABEL_FILE" ]; then
	echo "Missing temp file location."
	exit 1
fi

if [ -z "$TRAVIS_PULL_REQUEST_BRANCH" ]; then
	echo "Not a pull request."
	echo "Not running post-build step."
	exit 0
fi

if [ -f "$LABEL_FILE" ]; then
	LABELS=$(head -c -1 $LABEL_FILE | jq -R -s -c 'split("\n")')
	DATA="{\"labels\": $LABELS}"
	curl -H "Authorization: token $BOT_TOKEN" -X PUT -d "$DATA" -f -s -S "https://api.github.com/repos/$TRAVIS_REPO_SLUG/issues/$TRAVIS_PULL_REQUEST/labels"
fi

Add script to change labels on PRs.
Add script to change labels on PRs.
