Skip to content

Read-modify-write through the MCP permanently destroys stored issue and PR body content #504

Read-modify-write through the MCP permanently destroys stored issue and PR body content

Read-modify-write through the MCP permanently destroys stored issue and PR body content #504

Workflow file for this run

name: Label issues for AI review
on:
issues:
types:
- reopened
- opened
jobs:
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Add AI review label to issue
run: gh issue edit "$NUMBER" --add-label "$LABELS"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
LABELS: "request ai review"