Skip to content

Commit 50047c8

Browse files
committed
Better snapshot PRs
1 parent ce99428 commit 50047c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/update-snapshots/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,13 @@ runs:
6565
- name: Create pull request
6666
if: ${{ steps.check-changed.outputs.changed }}
6767
id: cpr
68-
uses: peter-evans/create-pull-request@v3
68+
uses: peter-evans/create-pull-request@v4
6969
with:
7070
base: ${{ github.head_ref }}
7171
branch: snapshot-${{ github.ref_name }}-${{ github.job }}-${{ steps.matrix-desc.outputs.branch }}
7272
delete-branch: true
7373
title: Snapshot updates for ${{ github.job }} (${{ steps.matrix-desc.outputs.text }})
74+
body: "Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action${{ github.event.number && format(' for #{0}', github.event.number) || '' }}."
7475
add-paths: |
7576
tests/testthat/_snaps
7677

0 commit comments

Comments
 (0)