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

Use OPA to enforce policy on command #15

Open
olegsu opened this issue Dec 14, 2021 · 1 comment
Open

Use OPA to enforce policy on command #15

olegsu opened this issue Dec 14, 2021 · 1 comment

Comments

@olegsu
Copy link
Owner

olegsu commented Dec 14, 2021

  • OPA can be used to configure ACL (access control list)
  • OPA can be used to configure where the command should be executed on
    • fork pr
    • regular pr
    • issue
  • Unknown requirements

To define what is the input to the evaluation function, we should add "scopes" to tell the remote server what information to load, for example:

  • Issue
  • Pull Request
  • Repo contributors
  • etc
@olegsu
Copy link
Owner Author

olegsu commented Dec 14, 2021

/pr-bot label feature-request

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

No branches or pull requests

1 participant