Commit 60ece3a
committed
fix: correctly use
`github.event.pull_request` is the pull request object not the event
object, so `.action` always resolves to null and breaks auto-merge.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>github.event.action to fetch the type of event1 parent b109a60 commit 60ece3a
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
0 commit comments