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

filter for reacting to changes after label applied #16

Open
connorjclark opened this issue Mar 20, 2020 · 1 comment
Open

filter for reacting to changes after label applied #16

connorjclark opened this issue Mar 20, 2020 · 1 comment

Comments

@connorjclark
Copy link
Collaborator

for better "merge when green" behavior. Don't want to merge if a commit lands after that label is applied.


this grammar gets us close. We need a way to do %%expression(labels.find(l => l.name === 'land-when-green).time)%%

image

@patrickhulce
Copy link
Owner

I don't think this information is even available via the API :/

https://developer.github.com/v3/issues/labels/#list-labels-on-an-issue

I think what we might have to do is just check for PRs that have the label and see if the latest activity is a commit or a comment from anyone but us. I don't think this even requires any feature changes to git3po and can be achieved today 🤔

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

No branches or pull requests

2 participants