Commit eab38d4
committed
Trigger on auto_merge_enabled
The trimming needs to be performed before the PR is merged so that the commit
message is based on the trimmed version. This prevents us from using events
such as the PR getting closed or merged. Triggering on merge queue events is
also problematic, because a merge_queue event doesn't have the equivalent of
"pull_request.user" and we need that to test if the PR came from Dependabot.
So instead, this workflow triggers when auto-merge is enabled for the PR.1 parent f3a1d02 commit eab38d4
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
22 | 29 | | |
23 | | - | |
| 30 | + | |
24 | 31 | | |
25 | | - | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
| |||
0 commit comments