Skip to content

Use commenter's repository permissions instead of author association#751

Merged
turkenf merged 1 commit intocrossplane-contrib:mainfrom
turkenf:uptest-perm
Mar 13, 2025
Merged

Use commenter's repository permissions instead of author association#751
turkenf merged 1 commit intocrossplane-contrib:mainfrom
turkenf:uptest-perm

Conversation

@turkenf
Copy link
Copy Markdown
Collaborator

@turkenf turkenf commented Mar 13, 2025

Description of your changes

Determine appropriate access for comment-based workflow triggers based on the commenter's repository-level permission, rather than author association (which is a non-intuitive derivation based on membership in the GitHub organization in addition to repository-level permissions).

This aims to ensure trusted actors are able to run their e2e workflows in repositories they maintain, without necessarily requiring membership in the crossplane-contrib organization.

xref crossplane-contrib/provider-upjet-azuread#208

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Tested on given ref repository.

Signed-off-by: Fatih Türken <turkenf@gmail.com>
Copy link
Copy Markdown
Member

@jastang jastang left a comment

Choose a reason for hiding this comment

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

thanks @turkenf !

@turkenf turkenf merged commit 6e64868 into crossplane-contrib:main Mar 13, 2025
8 checks passed
@turkenf turkenf deleted the uptest-perm branch March 13, 2025 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants