-
Notifications
You must be signed in to change notification settings - Fork 8
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
Approved roles #19
Approved roles #19
Conversation
src/types/plugin-inputs.ts
Outdated
export const pluginSettingsSchema = T.Object({ | ||
approvalsRequired: approvalsRequiredSchema, | ||
mergeTimeout: mergeTimeoutSchema, | ||
/** | ||
* The list of organizations or repositories to watch for updates. | ||
*/ | ||
repos: reposSchema, | ||
rolesWithAuthority: T.Transform(rolesWithAuthority) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
allowedReviewerRoles
might be more explicit here.
I think there is a logic issue. Take the following scenario: Example run: https://github.com/Meniole/automated-merging/actions/runs/10748866022/job/29813121322#step:6:68 |
I'm a little confused by what you are implying. I think you are suggesting that the deadline requirement array should be the same as it was before that way they'd be assigned |
With the following configuration - uses:
- plugin: ubiquity/automated-merging@development
with:
approvalsRequired:
collaborator: 1
mergeTimeout:
collaborator: "2 minutes"
repos:
monitor: [ ]
ignore: ["conversation-rewards"]
allowedReviewerRoles: ["OWNER"] Someone with the |
What is an "owner" role? There should only be, basically: admin, assignee, collaborator, contributor. Is owner the pull request creator? |
|
} | ||
} | ||
}, | ||
"packageManager": "yarn@1.22.22" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you fix your yarn
Not sure how else to address the scenario that you raised apart from retaining your original implementation and hardcoding the timeout roles.
|
Don't understand your message. What's the problem? |
Seems that it works properly, my last QA: https://github.com/Meniole/automated-merging/actions/runs/10828231151/job/30043117944#step:6:68 |
I don't understand your message now lmao.
|
8afbfad
into
ubiquity-os-marketplace:development
@gentlementlegen why did UbiquityOS handle the merge? Would be funny if it read the conversation and picked up on the vibes to merge. |
@0x4007 I noticed that the configuration was set to 5 minutes for collaborators, probably for testing, I corrected that afterwards so it doesn't happen again. Maybe we could do sentiment analysis and eventually merge lol |
+ ~ * checking vibes, please wait... * ~ + |
Resolves #18
allowedRoles
previously used for assigning the timeout requirementsyarn format
made a few changespackage_manager
field topackage.json