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

gruel should allow for the changing of github labels on an action #7

Open
jwir3 opened this issue Sep 22, 2015 · 0 comments
Open

gruel should allow for the changing of github labels on an action #7

jwir3 opened this issue Sep 22, 2015 · 0 comments
Assignees
Milestone

Comments

@jwir3
Copy link
Owner

jwir3 commented Sep 22, 2015

It would be nice if we had something like the following set up for a github environment:

github {
  auth_token="<YOUR SECRET KEY HERE>"
  repository="jwir3/gruel"
}

If we then had a general task, like GitHubTask, as well as more specific tasks that derived from GitHubTask, such as RemoveLabelTask, AddLabelTask, and ChangeAssigneeTask, we could do something like the following in our build.gradle:

  removeAssignee(type: ChangeAssigneeTask) {
    assignee = ''
  }

  removeDevelopingLabel(type: RemoveLabelTask) {
    labelName = 'developing'
  }

  addNeedsQALabel(type: AddLabelTask) {
    labelName = 'needs-qa'
  }

  uploadAlpha (dependsOn: [removeAssignee, removeDevelopingLabel, addNeedsQALabel])
@jwir3 jwir3 modified the milestone: 1.0.0 Oct 15, 2015
@jwir3 jwir3 modified the milestones: Blue Sky, 1.0.0 Dec 2, 2015
@jwir3 jwir3 modified the milestones: 0.0.7, Blue Sky Jul 9, 2016
jwir3 added a commit that referenced this issue Oct 26, 2016
@jwir3 jwir3 removed the developing label Oct 26, 2016
@jwir3 jwir3 self-assigned this Oct 28, 2016
jwir3 added a commit that referenced this issue Oct 28, 2016
jwir3 added a commit that referenced this issue Oct 28, 2016
jwir3 added a commit that referenced this issue Oct 29, 2016
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