hirosi1900day/Fetch PR Details Between Merges

Retrieve pull requests, their SHAs, and authors between two specified merge commits.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-tokenGitHub token used for authentication with the GitHub API.no${{ github.token }}
repo-ownerOwner of the repository (user or organization).no${{ github.repository_owner }}
repo-nameRepository name where the action will run.no${{ github.event.repository.name }}
from-shaSHA of the first merge commit.yes
to-shaSHA of the second merge commit.yes
include-pr-numberInclude the pull request number in the output.notrue
include-commit-shaInclude the commit SHA in the output.notrue
include-titleInclude the title of each pull request in the output.notrue
include-authorInclude the author of each pull request in the output.notrue
include-merge-userInclude the user who merged each pull request in the output.notrue
include-md-linkInclude a markdown link to each pull request in the output.notrue
namedescription
pr-detailsJSON formatted string containing details of all pull requests between the specified commits. The format of each pull request object is as follows: - "number": The pull request number. - "title": The title of the pull request. - "sha": The commit SHA of the pull request. - "author": The GitHub username of the author. - "mergedAt": The timestamp of when the pull request was merged. Example output: values: [ { "number": 123, "title": "Fix login issue", "sha": "abcd1234efgh5678ijkl9101mnopqrstuvwx", "author": "johndoe", "merge_user": "johndoe", "pr_md_link": "<https://github.com/<organization>/<repository>/pull/123|Fix login issue>" }, { "number": 124, "title": "Add new feature for handling API requests", "sha": "wxyz5678abcd9101efgh2345ijklmnopqrst", "author": "janedoe", "merge_user": "janedoe", "pr_md_link": "<https://github.com/<organization>/<repository>/pull/124|Add new feature for handling API requests>" } ]