feat(GODIET-73): ✨ add new buttons on patient layout #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update PR Description | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
update-description: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Update PR description with commit list | |
uses: octokit/request-action@v2 | |
with: | |
route: PATCH /repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }} | |
mediaType: application/vnd.github.v3+json | |
body: | | |
${{ github.event.pull_request.body }} | |
## Lista de commits: | |
$(git log --pretty=format:"* %s (%h)" ${{ github.event.before }}..${{ github.sha }}) | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |