This action updates the body of a pull request with the commit history.
| Name | Description | Required |
|---|---|---|
| github-token | Secret GitHub API token to use for making API requests | ✅ |
| owner | The name of the owner of the github repository | ✅ |
| repo | The name of the github repository | ✅ |
| pull_number | The pull request number | ✅ |
| update_body | Update PR body with output. Default is true |
❌ |
| Name | Description |
|---|---|
| pull-request-body | Return markdown with commit history |
Easy to use PR Timeline Commitizen Commits List by add github workflow file
name: Update PR Body
on:
pull_request:
branches: ["main"]
jobs:
update-body:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update PR Body
uses: EverStarck/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
owner: EverStarck
repo: project
pull_number: ${{ github.event.number }}Wanna contribute to the project? Great! Please follow the next steps in order to submit any feature or bug-fix:
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'feat: add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
