mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 12:14:36 +00:00
Include changes in pre-commit update pull request
This commit is contained in:
@@ -14,13 +14,25 @@ jobs:
|
||||
|
||||
- name: Update dependencies
|
||||
run: |
|
||||
set -x
|
||||
python -m pip install --upgrade pip
|
||||
pip install pre-commit
|
||||
pre-commit autoupdate
|
||||
|
||||
- name: Gather changes
|
||||
id: gather-changes
|
||||
run: |
|
||||
git diff --color
|
||||
changes="$(git diff)"
|
||||
echo "changes=${changes}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Create pull request
|
||||
uses: peter-evans/create-pull-request@v5
|
||||
with:
|
||||
commit-message: Update pre-commit dependencies
|
||||
labels: cleanup-no-release-required, dependencies, github_actions
|
||||
title: Update pre-commit dependencies
|
||||
body: |
|
||||
```diff
|
||||
${{ steps.gather-changes.outputs.changes }}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user