Challenge 07

Implement agentic workflows to maintain the app

Start with a low-risk task and keep human review.

Goal#

Implement GitHub Agentic Workflows to help maintain the Octocat Supply application over time. Delivering the app is only the beginning — the team needs sustainable, agent-driven maintenance: triaging issues, keeping dependencies current, and responding to changes in the repository.

Actions#

  • Identify maintenance tasks — Choose a recurring task that benefits from automation (e.g. issue triage/labelling, dependency updates, test/lint on change, documentation upkeep). Start with a low-risk task.
  • Author an agentic workflow — Create a GitHub Agentic Workflow that performs one of these tasks autonomously.
  • Define triggers and guardrails — Configure when it runs (schedule, PR, issue) and constrain what it is allowed to do — least privilege.
  • Test the workflow — Trigger it and observe the agent completing the task.
  • Review the output — Confirm the agent's actions are correct and safe before enabling it broadly.

Success criteria#

Optional stretch — package a reusable skill / slash command#

  • Pick a repeatable flow you've done by hand (e.g. "read instructions → scaffold tests → run validation").
  • Package it as a reusable skill or slash command so it can be invoked in one step.
  • Invoke it against a real task and confirm it performs the steps.
  • Document where human review stays mandatory (e.g. before merging generated tests or committing changes).

Learning resources#

A prompt to start with

Adapt this to your chosen API track and actual environment. It starts a conversation; it does not complete the challenge for you.

Propose one low-risk, real maintenance task for this repository. Design a GitHub Agentic Workflow with explicit triggers, least-privilege tools, scoped outputs, and human review. Explain how I can trigger it and verify that it did useful work before enabling a schedule.

Ready for the next step?

Demonstrate each success criterion above and check it off. Completion is your assessment, not an automated test of your code.

Check all 4 success criteria before marking complete.

View this page's MarkdownLearning content is pinned to the credited upstream import.

Search the workshop

Solutions are not included.

    Search runs in your browser against the guide. It does not query GitHub or an AI service.

    Reset your workshop progress?

    This removes saved success criteria, completion marks, and the resume location in this browser. It does not change your repository or Azure resources.