Detect Pull Request id automatically if not specified