File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 56
56
run : echo "::set-output name=date::$(date +'%Y-%m-%d')"
57
57
58
58
- name : Create Issue From File
59
- uses : peter-evans/create-issue-from-file@v3
59
+ uses : peter-evans/create-issue-from-file@v4
60
60
with :
61
61
title : Link Checker Report on ${{ steps.date.outputs.date }}
62
62
content-filepath : ./lychee/out.md
Original file line number Diff line number Diff line change 67
67
with :
68
68
token : ${{ steps.generate-token.outputs.token }}
69
69
repository : ${{ github.event.client_payload.pull_request.head.repo.full_name }}
70
- ref : ${{ github.event.pull_request.head.sha }}
70
+ ref : ${{ github.event.client_payload. pull_request.head.ref }}
71
71
# fecth all history so that setuptools-scm works
72
72
fetch-depth : 0
73
73
@@ -162,7 +162,7 @@ jobs:
162
162
path : tmp-test-dir-with-unique-name
163
163
164
164
- name : Add reaction
165
- uses : peter-evans/create-or-update-comment@v1
165
+ uses : peter-evans/create-or-update-comment@v2
166
166
if : github.event_name == 'repository_dispatch'
167
167
with :
168
168
token : ${{ steps.generate-token.outputs.token }}
Original file line number Diff line number Diff line change @@ -104,14 +104,14 @@ jobs:
104
104
105
105
- name : Create comment with image diff report
106
106
if : steps.fc.outputs.comment-id == ''
107
- uses : peter-evans/create-or-update-comment@v1.4.4
107
+ uses : peter-evans/create-or-update-comment@v2
108
108
with :
109
109
issue-number : ${{ github.event.pull_request.number }}
110
110
body : ${{ steps.image-diff.outputs.report }}
111
111
112
112
- name : Update comment with new image diff report
113
113
if : steps.fc.outputs.comment-id != ''
114
- uses : peter-evans/create-or-update-comment@v1.4.4
114
+ uses : peter-evans/create-or-update-comment@v2
115
115
with :
116
116
comment-id : ${{ steps.fc.outputs.comment-id }}
117
117
body : ${{ steps.image-diff.outputs.report }}
Original file line number Diff line number Diff line change 18
18
with :
19
19
token : ${{ steps.generate-token.outputs.token }}
20
20
repository : ${{ github.event.client_payload.pull_request.head.repo.full_name }}
21
- ref : ${{ github.event.pull_request.head.sha }}
21
+ ref : ${{ github.event.client_payload. pull_request.head.ref }}
22
22
23
23
# Setup Python environment
24
24
43
43
fi
44
44
45
45
- name : Add reaction
46
- uses : peter-evans/create-or-update-comment@v1
46
+ uses : peter-evans/create-or-update-comment@v2
47
47
with :
48
48
token : ${{ steps.generate-token.outputs.token }}
49
49
repository : ${{ github.event.client_payload.github.payload.repository.full_name }}
You can’t perform that action at this time.
0 commit comments