OperationsΒΆ

DefinitionΒΆ

An operation is a snippet of GitHub automation, for example: adding a label, closing a pull request, or commenting on an issue.

  • Operations are idempotent, which means that they can safely be applied multiple times.
  • An operation can apply to GitHub issues, pull requests, or both. For example, a label operation may know to operate independently on issues and pull requests, while a rebuild operation which triggers CI may only apply on pull requests.
  • A catalog of builtin operations is provided and documented.

Builtin operationsΒΆ

Operation Docker specific Issues Pull Requests Purpose
ci-label-clean     β˜‘ Remove CI failures labels where necessary.
dco-check 🐳.   β˜‘ Check for commit signatures, label and post a comment if missing.
label   β˜‘ β˜‘ Auto-label issues and pull requests according on matching regexps.
poule-updater     β˜‘ Reload poule configuration when a pull request modifies it.
prune   β˜‘   Manage issues with no activities.
random-assign   β˜‘ β˜‘ Auto-assign a random user to issues and pull requests.
rebuild 🐳   β˜‘ Rebuild all or selected pull request jobs.
version-label 🐳 β˜‘   Add a version/x label based on Docker version string in the body.
version-milestone ~   β˜‘ Add merged pull requests to the upcoming milestone.

More details on each operation can be found on GitHub.

Creating custom operationsΒΆ

Creating custom operations is not yet supported and requires modifying the project. However, issue icecrime/poule#4 is about adding support for Golang 1.8 plugins in such way that custom operations can be added at runtime.