Save PR title and body in workflow

Added steps to save pull request title and body to files.
This commit is contained in:
Vigers Ray 2025-11-15 02:36:58 +01:00 committed by GitHub
parent ad7209044b
commit acc35ca8a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: