Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check user right to modify .rulesrc #304

Open
bastienterrier opened this issue Jul 17, 2019 · 0 comments
Open

Check user right to modify .rulesrc #304

bastienterrier opened this issue Jul 17, 2019 · 0 comments
Labels

Comments

@bastienterrier
Copy link
Member

Context:
If a user do a pull request and modify the .rulesrc file, the workflow will be fired and the rules will be executed.

To prevent that, we could check if the use has the right to modify this file. It not, rules won't be tested.

Solution:
Check users defined in the master's .rulesrc file and the current user

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant