Slide 1

Slide 1 text

Automating Software Development @bkeepers - GitHub

Slide 2

Slide 2 text

#TheFuture #OrMaybeNot

Slide 3

Slide 3 text

Jidoka automation with a human touch.

Slide 4

Slide 4 text

C O D E i s mo r e th an SOFTWARE

Slide 5

Slide 5 text

source: @searls & https://online.husson.edu/software-development-cycle/

Slide 6

Slide 6 text

CONTINUOUS INTEGRATION CONTINUOUS DELIVERY source: @searls & https://online.husson.edu/software-development-cycle/

Slide 7

Slide 7 text

CONTINUOUS INTEGRATION CONTINUOUS DELIVERY CONTINUOUS FEEDBACK CONTINUOUS REFINEMENT CONTINUOUS PRODUCTION CONTINUOUS VALIDATION source: @searls & https://online.husson.edu/software-development-cycle/

Slide 8

Slide 8 text

C O D E eve r yt h i ng i s BECOMING

Slide 9

Slide 9 text

Marketplace Data

Slide 10

Slide 10 text

probot.github.io

Slide 11

Slide 11 text

[screenshot of apps]

Slide 12

Slide 12 text

Stale >45k public issues ~700 organizations Close stale Issues and Pull Requests

Slide 13

Slide 13 text

Reminders >100 organizations Set reminders on Issues and Pull Requests

Slide 14

Slide 14 text

Polls ~75 organizations Create polls in discussions.

Slide 15

Slide 15 text

Polls ~75 organizations Create polls in discussions.

Slide 16

Slide 16 text

out-of-office-boss Used by nobody My boss is out of office, but how would he respond if he wasn’t? https://glitch.com/edit/#!/lying-daffodil

Slide 17

Slide 17 text

TODO >200 organizations Creates new issues from actionable comments in your code.

Slide 18

Slide 18 text

Alex Linter Ensure sensitive, considerate writing before you merge your Pull Requests

Slide 19

Slide 19 text

Work in Progress >500 organizations Prevent merging of work in progress.

Slide 20

Slide 20 text

Work in Progress >500 organizations Prevent merging of work in progress.

Slide 21

Slide 21 text

Build your own

Slide 22

Slide 22 text

Hello World

Slide 23

Slide 23 text

Hello World

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

https://probot.github.io/docs

Slide 28

Slide 28 text

https://developer.github.com/v3/activity/events/types

Slide 29

Slide 29 text

https://octokit.github.io/rest.js

Slide 30

Slide 30 text

check_run check_suite commit_comment create delete deployment deployment_status download follow fork fork_apply gist gollum installation installation_repositories issue_comment issues label member membership milestone organization org_block page_build project_card project_column project public
 pull_request pull_request_review pull_request_review_comment push release repository status team team_add watch app.on( )

Slide 31

Slide 31 text

context.github.query(graphQL) https://developer.github.com/v4

Slide 32

Slide 32 text

context.github.* https://developer.github.com/v3

Slide 33

Slide 33 text

Work in Progress >500 organizations Prevent merging of work in progress.

Slide 34

Slide 34 text

Work in Progress >500 organizations Prevent merging of work in progress.

Slide 35

Slide 35 text

WIP

Slide 36

Slide 36 text

WIP

Slide 37

Slide 37 text

WIP

Slide 38

Slide 38 text

WIP

Slide 39

Slide 39 text

WIP

Slide 40

Slide 40 text

WIP

Slide 41

Slide 41 text

probot.github.io/community

Slide 42

Slide 42 text

Thanks! @bkeepers probot.github.io

Slide 43

Slide 43 text

we’re hiring! …and my manager asked me to tell you… github.com/about/careers

Slide 44

Slide 44 text

Webhooks API GitHub Apps PROBOT

Slide 45

Slide 45 text

Webhooks API GitHub Apps PROBOT git push

Slide 46

Slide 46 text

Webhooks API GitHub Apps PROBOT git push WebHooks { "ref": "refs/heads/changes", "before": "9049f1265b7d61be4a8904a9a27120d2064dab3b", "after": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", "created": false, "deleted": false, "forced": false,

Slide 47

Slide 47 text

Webhooks API GitHub Apps PROBOT git push WebHooks { "ref": "refs/heads/changes", "before": "9049f1265b7d61be4a8904a9a27120d2064dab3b", "after": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", "created": false, "deleted": false, "forced": false, WebHooks $ CURL -x POST -d body=“hello world” /myname/myrepo/issues/1/comments

Slide 48

Slide 48 text

Webhooks API GitHub Apps PROBOT git push WebHooks { "ref": "refs/heads/changes", "before": "9049f1265b7d61be4a8904a9a27120d2064dab3b", "after": "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c", "created": false, "deleted": false, "forced": false, WebHooks $ CURL -x POST -d body=“hello world” /myname/myrepo/issues/1/comments