GitHub Agentic Workflows

ProjectOps

ProjectOps helps teams run project operations with less manual upkeep.

It builds on GitHub Projects, which provides the core planning and tracking layer for issues and pull requests, and adds support for judgment-heavy decisions.

ProjectOps reads project state with GitHub tools and applies changes through safe-outputs. It is most useful when you need context-aware routing and field updates. For simple, rule-based transitions, built-in automations are usually enough.

In practice, this gives teams faster triage decisions, cleaner board state, stronger planning signals across related issues and pull requests, and more decision-ready status updates.

flowchart LR
    ev([Issue / PR event\nor schedule]) --> agent[ProjectOps agent]
    subgraph gh["GitHub Projects"]
        board[(board\nfields & items)]
    end
    agent -->|read — projects toolset| board
    board -->|project state| agent
    agent -->|update-project\nadd-comment| board

A practical way to adopt ProjectOps is to start with read-only MCP/GitHub analysis, then gradually add targeted write operations as workflow confidence and policy maturity increase.

ProjectOps combines two capability layers:

  • GitHub tools (tools.github + projects toolset) for reading and analyzing project state.
  • Safe outputs for controlled write operations, including:
    • update-project — use when you want to add issues/PRs to a project or update fields (status, priority, owner, dates, custom values).
    • create-project-status-update — use when you want a stakeholder-facing summary in the project Updates tab (weekly health, blockers, risks, next decisions).
    • create-project — use when automation needs to bootstrap a new board for an initiative or team.
    • add-comment — use when you want to explain routing decisions or request missing info on the triggering issue/PR.
  1. A Project board and copy the project URL. See Creating a project.
  2. A Project token (PAT or GitHub App token). See Authentication (Projects).
  3. A field contract (for example: Status, Priority, Team, Iteration, Target Date). See Understanding fields.

The default GITHUB_TOKEN is repository-scoped and cannot access the Projects API. See Authentication (Projects) for PAT, GitHub App, and secret layout instructions.

Let's look at examples of these in action, starting with the Project Board Summarizer (read-only analysis), then moving to controlled write operations with the Project Board Maintainer example.

Let's start with a simple agentic workflow that reviews project board state and generates a summary without applying any changes.

---
on:
schedule: weekly on monday
permissions:
contents: read
actions: read
tools:
github:
github-token: ${{ secrets.GH_AW_READ_PROJECT_TOKEN }}
toolsets: [default, projects]
---
# Project Board Summarizer
Review [project 1](https://github.com/orgs/my-mona-org/projects/1).
Return only:
- New this week
- Blocked + why
- Stale/inconsistent fields
- Top 3 human actions
Read-only. Do not update the project.

Our project board might look like this:

Example GitHub Projects board used for Project Board Summarizer

Running the agentic workflow generates a concise summary of project status. We can find this in the GitHub Actions agent run output:

Workflow summary output generated by Project Board Summarizer

Let's write an agentic workflow that applies changes to a project board based on issue content and context. This workflow will run on new issues, analyze the issue and project state, and decide whether to add the issue to the project board and how to set key fields.

---
on:
issues:
types: [opened]
permissions:
contents: read
actions: read
tools:
github:
github-token: ${{ secrets.GH_AW_READ_PROJECT_TOKEN }}
toolsets: [default, projects]
safe-outputs:
update-project:
github-token: ${{ secrets.GH_AW_WRITE_PROJECT_TOKEN }}
project: https://github.com/orgs/my-mona-org/projects/1
max: 1
add-comment:
max: 1
---
# Intelligent Issue Triage
Analyze each new issue in this repository and decide whether it belongs on the project board.
Set structured fields only from allowed values:
- Status: Needs Triage | Proposed | In Progress | Blocked
- Priority: Low | Medium | High
- Team: Platform | Docs | Product
Post a short comment on the issue explaining your routing decision and any uncertainty.

Once this workflow is compiled and running, it will automatically triage new issues with controlled write operations to the project board and issue comments.

Let's create a new issue to see this in action:

Workflow summary output generated by Project Board Maintainer

The Project Board Maintainer analyzes the issue content and context, then decides to add it to the project board with specific field values (for example, Status: Proposed, Priority: Medium, Team: Docs). It also posts a comment on the issue explaining the decision and any uncertainty.

Workflow summary output generated by Project Board Maintainer

In production, keep the loop simple: issue arrives, agent classifies and proposes/sets fields, safe outputs apply allowed writes, and humans review high-impact changes and exceptions.

  • Auto-apply low-risk hygiene (add item, set initial status/team).
  • Suggest-only commitments (priority/date/iteration changes).
  • Always gate cross-team or cross-repo impact.
  • Use max caps, allowlists, and explicit approvals to control writes.
  • Keep single-select values exact to avoid field drift.
  • If you only need simple event-based transitions, prefer built-in GitHub Project workflows.