Regularly reminding groups of people about the chores they wouldn't otherwise do by opening pull requests and mentioning the ones deemed responsible. Examples of templates and pull requests can be found here.
Because teams of people have collective chores that they need to perform.
GITHUB_TOKEN
- A personal access token with
public_repo
if you're using public repositories orrepo
permissions if you need yo use private repositories
- A personal access token with
GITHUB_API_URL
: (optional)- Only needed for use with Github Enterprise
- General
<schedule>
is one ofDAILY
,WEEKDAY
, or<day-of-week>
where...DAILY
is executed once every dayWEEKDAY
is executed daily Monday to Friday<day-of-week>
is executed on that day of the week, i.e.TUESDAY
<task>
is either orpr
orissue
- The destination supports the following variable expansions
{date}
expands to the current date inYYYY-MM-DD
format (i.e.2015-03-14
){week}
expands to the current week number (i.e.08
){dow}
expands to the day of the week (i.e.Tuesday
)
- The environment variable name for a task will be used as the title of the pull request
- Underscore
_
will be replaced by space
- Underscore
- Examples
- Open pull request
<schedule>_some-descriptive-name=<owner/org>/<repo>:<owner/org>/<repo>/<where-to-put-file>:<pr-description>
- e.g.
DAILY_EXAMPLE=pr:plan3/annoyances/template.md:plan3/annoyances/stuff/{date}/{week}.md:@chids
- Create issue
<schedule>_some-descriptive-name=<owner/org>/<repo>:<owner/org>/<repo>:<issue-description>
- e.g.
DAILY_EXAMPLE=issue:plan3/annoyances/template.md:plan3/annoyances:@chids
- Open pull request
- Add the Scheduler add-on
- Configure it to run daily at the time when you want stuff to be created
- Create a
.env
with the env vars documented above heroku local worker