File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,25 @@ concurrency:
16
16
17
17
jobs :
18
18
update_screenshots :
19
- if : ${{ github.event.issue.pull_request && contains( github.event.comment.body, '/e2e-update-screenshots') }}
19
+ if : ${{ github.event.issue.pull_request && github.event.comment.body == '/e2e-update-screenshots' }}
20
20
runs-on : ubuntu-latest
21
21
timeout-minutes : 10
22
22
steps :
23
+ - name : React to the triggering comment
24
+ run : hub api repos/${{ github.repository }}/issues/comments/${{ github.event.comment.id }}/reactions --raw-field 'content=rocket'
25
+ env :
26
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27
+
23
28
- name : Checkout repository
24
29
uses : actions/checkout@v4
25
30
31
+ - name : Checkout the branch from the PR that triggered the job
32
+ run : |
33
+ git config --global hub.protocol https
34
+ hub pr checkout ${{ github.event.issue.number }}
35
+ env :
36
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
+
26
38
- name : Setup yarn
27
39
uses : ./.github/workflows/actions/setup-yarn
28
40
You can’t perform that action at this time.
0 commit comments