Back to videos

GitHub

Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners

Platform
YouTube
Length
4:13
Spoken language
American English
Views
3.2K
Median cut
6.51s
Face on screen
57%
Dark frames
5%
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:00medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:00
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:05medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:05
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:09medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:09
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:17medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:17
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:22
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:22
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:22
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:22
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:23
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:23
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:24
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:24
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:25
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:25
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:26
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:26
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:26
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:26
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:27medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:27
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:32medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:32
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:38medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:38
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:39medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:39
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:41medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:41
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:43medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:43
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:46
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:46
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:48
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:48
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:49
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:49
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:51
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:51
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:52
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:52
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:54
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:54
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:54
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:54
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:56
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:56
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:58
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:58
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 0:59
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
0:59
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 1:02
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
1:02
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 1:14
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
1:14
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 1:18
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
1:18
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 1:22
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
1:22
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 1:26
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
1:26
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 1:30
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
1:30
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 1:34
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
1:34
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 1:42
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
1:42
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 1:46
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
1:46
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 1:50
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
1:50
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 1:54
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
1:54
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 1:58
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
1:58
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 2:06
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
2:06
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 2:10
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
2:10
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 2:18
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
2:18
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 2:26
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
2:26
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 2:26medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
2:26
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 2:30medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
2:30
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 2:36medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
2:36
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 2:41
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
2:41
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 2:46
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
2:46
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 2:50
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
2:50
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 2:54
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
2:54
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 2:58
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
2:58
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 3:02
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
3:02
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 3:06
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
3:06
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 3:10
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
3:10
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 3:14
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
3:14
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 3:14medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
3:14
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 3:18
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
3:18
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 3:26
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
3:26
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 3:30
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
3:30
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 3:30medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
3:30
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 3:40medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
3:40
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 3:42medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
3:42
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 3:46medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
3:46
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 3:56medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
3:56
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 4:01medium presenter
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
4:01
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 4:07
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
4:07
GitHub Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners at 4:10
GitHubAutomate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners
4:10

Transcript of Automate recurring developer tasks with the GitHub Copilot app | Tutorial for beginners

Transcribed by a speech model from the film's own audio, not written by the brand. Click any line to jump the film to that moment.

  1. 0:00If a PR is never merged, that code never finds its way to the code base.
  2. 0:05And if that PR contains security updates, well, now we've got tech debt.
  3. 0:09Managing library updates can be tedious at times.
  4. 0:13The exact type of tedium an automated task can handle.
  5. 0:17Let's see how we can use automations in the Copilot app to offload that tedium.
  6. 0:26An automation is a task you set up once so Copilot can run it again and again. You describe the task
  7. 0:33one time and it keeps working without you. So instead of opening, reading, and triaging these
  8. 0:39types of PRs manually every single day, let's describe that chore one time and let Copilot
  9. 0:44take it off our plate. Creating an automation starts with two things, a name and a trigger.
  10. 0:51For my name, I'm going to call this daily dependbot triage.
  11. 0:56And then for the trigger, I can have this as manual,
  12. 1:00which is great if I want to kick this off myself,
  13. 1:02maybe while I'm testing an idea,
  14. 1:04hourly, daily, and weekly to run this on a regular schedule.
  15. 1:08And then issue created,
  16. 1:09which will automatically run when an issue is created
  17. 1:13rather than watching the clock.
  18. 1:15You'll notice that I'm going to leave this set to be 9 a.m.
  19. 1:18just before I typically start work.
  20. 1:21I can choose to run this in the cloud if I want,
  21. 1:23or let it run on my local system.
  22. 1:26And then I've got my prompt,
  23. 1:27where I can describe in natural language,
  24. 1:29just like I was creating a session,
  25. 1:31what it is that I want this automation to do.
  26. 1:34Review the open Dependabot PRs,
  27. 1:37group them by risk,
  28. 1:39call out the ones that are safe to merge
  29. 1:44and are minor bumps,
  30. 1:47as opposed to the bigger version updates.
  31. 1:51Ensure each one's CI is passing
  32. 1:55and give me a short summary of the best next steps.
  33. 2:03I'm going to select the project here
  34. 2:05to point this at my Tailspin toys,
  35. 2:08which is where I have all of those Dependabot PRs
  36. 2:12that I'm currently managing.
  37. 2:14And then down below, I can hit create.
  38. 2:17Now, I don't want to wait until 9 a.m. for this to actually run,
  39. 2:20so I'll choose Create and Run, which will kick off this job right now,
  40. 2:26so that way I can see it in action.
  41. 2:29Copilot will go off, read through all of those open Dependabot PRs,
  42. 2:33and come back with exactly what I asked for,
  43. 2:36the safe patch and minor bumps grouped together,
  44. 2:39and the riskier versions flagged for a closer look later on.
  45. 2:43A chore that used to scatter my whole morning is now a single organized summary.
  46. 2:48In my case, it looks like we need to update to a newer version of Astro,
  47. 2:52something that's beyond just bumping the version number.
  48. 2:55Fortunately, I can take the results of this automation
  49. 2:59and start a new session right here inside of Copilot app.
  50. 3:04So let's ask Copilot, let's update to Astro 6.
  51. 3:11And again, just like before, off it goes using the context that it has right here.
  52. 3:18Every automation run shows up right here inside of automation.
  53. 3:23So that way I can always see what ran, when it ran, and exactly what it did.
  54. 3:29And if something doesn't look quite right, it's right there for me to review.
  55. 3:34So my automations never feel like a black box working behind my back.
  56. 3:39With automations, I can take a recurring chore, describe it once, pick a trigger, and let co-pilot handle it.
  57. 3:46My advice is to start exactly like we did here.
  58. 3:49Pick a boring task, the kind of things that you already kind of do on autopilot, and hand it to the app.
  59. 3:56And then spend that attention on what actually needs your judgment.
  60. 4:01You can learn more in the rest of the series and at gh.io slash app.
60 lines · 643 words