Skip to content

Batdill/Batdill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

List Open Pull Requests

This repository contains scripts to list the latest open pull requests for a GitHub repository.

Prerequisites

Usage

Using the Bash Script

./list_prs.sh <owner> <repo>

Example:

./list_prs.sh Batdill Batdill

Using the Python Script

python3 list_open_prs.py <owner> <repo>

Example:

python3 list_open_prs.py Batdill Batdill

Authentication

Make sure you have the GitHub CLI authenticated before running these scripts:

gh auth login

Or set the GH_TOKEN environment variable with a GitHub personal access token:

export GH_TOKEN=your_github_token

Output

The scripts will display a formatted list of open pull requests including:

  • PR number
  • Title
  • Author
  • Last updated date

Example Output

Open Pull Requests in Batdill/Batdill:

#      Title                                              Author               Updated             
------------------------------------------------------------------------------------------------
1      [WIP] List latest open pull requests              Copilot              2026-01-03          

Total: 1 open pull request(s)

About

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •