Commit ef32d44
authored
Auto trigger PR reviews when they are from branches in repo (#234)
Pull request events identify members as "contributors", so the workflows
are not auto-triggered. But there are some contributors who are not
members, so workflows would fail on forks.
In this change, we switch the condition for PR events to check for
whether the PR was created from a branch in the repo or from a fork.
Note that only users with write access to the repo can create branches.
Fixes #175
cc @leehagoodjames @sethvargo1 parent e4b0716 commit ef32d44
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
49 | | - | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
0 commit comments