Skip to content

Latest commit

 

History

History
22 lines (21 loc) · 627 Bytes

README.md

File metadata and controls

22 lines (21 loc) · 627 Bytes

PR-listing

This will list all the closed PRs which are merged to the branch. You can give the name of base branch as the input. Below is the example of how you can use this in your repository.

Example

name: List-PRs
on:
  workflow_dispatch:
jobs:
  job_name:
    name: List All PRs
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
      - name: List PR
        uses: ShivamHS/[email protected]
        with:
          repo_token: ${{ github.token }}
          owner: ${{github.owner}}
          repo_name: ${{github.repository}}
          base_branch: main