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 the owners file in the repo as well as github association rules #147

Merged

Conversation

Gregory-Pereira
Copy link
Contributor

@Gregory-Pereira Gregory-Pereira commented Oct 15, 2021

Related Issues and Dependencies

The issue is that permissions are only checked by a developer's access to GitHub organizations, but we want the ability to easily modify and add privileges to others to make changes.

Additionally, ran pre-commit and linted the sesheta request issue template so that the pre-commit check can pass.

This introduces a breaking change

  • Yes
  • No

This Pull Request implements

After receiving the response on the PR, the task will now read the owners file and include that in its searching to see if a user has access to the repository.

Description

issue itself still waiting to be created.

@sesheta sesheta added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 15, 2021
@sesheta sesheta added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 18, 2021
@Gregory-Pereira
Copy link
Contributor Author

/retest

@sesheta
Copy link
Contributor

sesheta commented Nov 1, 2021

@Gregory-Pereira: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@Gregory-Pereira
Copy link
Contributor Author

Local pre-commit passes, ready for review.

Copy link
Member

@codificat codificat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of suggestions: I think it's better to parse the owners file as yaml, and:

issue itself still waiting to be created.

then I would vote to
/hold
until that's available / referenced.

tasks/init-task.yaml Outdated Show resolved Hide resolved
@sesheta sesheta added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 3, 2021
Co-authored-by: Pep Turró Mauri <pep@redhat.com>
@sesheta sesheta added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 6, 2021
Copy link
Member

@harshad16 harshad16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm
thanks for the work 💯

@sesheta
Copy link
Contributor

sesheta commented Nov 6, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: harshad16

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sesheta sesheta added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 6, 2021
@harshad16
Copy link
Member

/unhold

@sesheta sesheta removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 6, 2021
@harshad16 harshad16 merged commit b29e294 into AICoE:master Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants