Save PR title and body in workflow
Added steps to save pull request title and body to files.
This commit is contained in:
parent
ad7209044b
commit
acc35ca8a6
1 changed files with 5 additions and 0 deletions
5
.github/workflows/ai-gdd-review.yml
vendored
5
.github/workflows/ai-gdd-review.yml
vendored
|
|
@ -19,6 +19,11 @@ jobs:
|
|||
git fetch origin ${{ github.base_ref }} --depth=1 || true
|
||||
git diff origin/${{ github.base_ref }}...HEAD > diff.txt
|
||||
|
||||
- name: Save PR metadata
|
||||
run: |
|
||||
echo "${{ github.event.pull_request.title }}" > pr_title.txt
|
||||
echo "${{ github.event.pull_request.body }}" > pr_body.txt
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue