Commit 1f6918c
committed
[CI] Fix E2E workflows on PR trigger
By default 'issue_comment' trigger gets the context of a default branch.
If we want to test the actual PR, on which we created/edited a comment
we have to fetch and checkout a special ref for PR's merge commit.
Note, that 'pull/<no>/merge' ref is available as long as the PR
is not merged. This commit do not take this under consideration, since
this case should be fairly uncommon and would obfuscate the workflow.1 parent cc268e5 commit 1f6918c
1 file changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 69 | | |
74 | 70 | | |
75 | 71 | | |
| |||
90 | 86 | | |
91 | 87 | | |
92 | 88 | | |
93 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
| |||
0 commit comments