mirego / dispatch

🦀 Dispatch makes sure pull requests within a GitHub organization get reviewed by the right people.
https://open.mirego.com
BSD 3-Clause "New" or "Revised" License
25 stars 3 forks source link

Add GITHUB_ORGANIZATION_LOGIN environment variable #2

Closed remi closed 5 years ago

remi commented 5 years ago

We now use the GITHUB_ORGANIZATION_LOGIN environment variable to make sure pull requests are within a specific organization.

I had to refactor the code to avoid matching directly in the function arguments since we want this variable to be evaluated at runtime.