You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# If the workflow was triggered based on comment, then we need to get the information about the PR
28
-
# Is executed only for comment events - in that case the pull_request field is empty
33
+
# Is executed only for comment events
29
34
- name: Send Github API Request to get PR data
30
35
id: request
31
36
uses: octokit/request-action@dad4362715b7fb2ddedf9772c8670824af564f0d # workaround for https://github.com/octokit/request-action/issues/315 - use SHA instead of the tag v2.4.0
32
-
if: ${{ github.event.pull_request == '' }}
37
+
if: ${{ github.event_name == 'issue_comment' }}
33
38
with:
34
39
route: ${{ github.event.issue.pull_request.url }}
35
40
env:
36
41
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37
42
38
43
# Checkout the code based on the data retrieved from the previous step
39
-
# Is executed only for comment events - in that case the pull_request field is empty
0 commit comments