https://github.com/yining1023/pr-changes-action
https://github.com/yining1023/pr-changes-action
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/yining1023/pr-changes-action
- Owner: yining1023
- Created: 2022-09-19T21:03:48.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-05-02T13:43:43.000Z (2 months ago)
- Last Synced: 2025-05-02T14:59:15.133Z (2 months ago)
- Language: JavaScript
- Size: 815 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Get PR changes action
This action summarizes the changes in a PR based on all commits. And update the PR body with the changes.
## Inputs
## `pr-number`
**Required** The PR number
## `GITHUB_TOKEN`
**Required**
## Outputs
## `changes`
The changes that are included in this PR.
## Example usage
```
- name: Update PR Body
id: update-pull-request-body
uses: yining1023/[email protected]
with:
pr-number: ${{steps.create-pull-request.outputs.PULL_REQUEST_NUMBER}}
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
```