Skip to content

Commit 73c750d

Browse files
committed
Show diff in pull requests
1 parent ec94721 commit 73c750d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/update.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
name: "Update stubs"
44
on:
55
workflow_dispatch:
6+
pull_request:
67
push:
78
branches:
89
- "main"
@@ -115,6 +116,7 @@ jobs:
115116
with:
116117
version: ${{ steps.previous_tag.outputs.tag }}
117118
- name: "Commit changes"
119+
if: github.event_name != 'pull_request'
118120
uses: "stefanzweifel/git-auto-commit-action@v6"
119121
id: "commit"
120122
with:
@@ -123,3 +125,6 @@ jobs:
123125
commit_user_email: "[email protected]"
124126
commit_author: "phpstan-bot <[email protected]>"
125127
tagging_message: ${{ steps.semvers.outputs.patch }}
128+
- name: "Show diff"
129+
if: github.event_name == 'pull_request'
130+
run: "git diff"

0 commit comments

Comments
 (0)