Skip to content

Conversation

@Kyle-Ye
Copy link
Collaborator

@Kyle-Ye Kyle-Ye commented Oct 4, 2025

Summary

  • Add new PR triage workflow that automatically analyzes and labels new pull requests using Claude AI

Implementation Details

This workflow follows the same pattern as the existing issue-triage.yml workflow, calling the reusable workflow from the OpenSwiftUIProject/github-workflows repository.

The workflow will:

  • Trigger on new pull requests (when opened)
  • Automatically analyze the PR changes
  • Apply appropriate labels based on the analysis
  • Help maintain consistent PR organization

Test plan

  • Verify workflow is properly configured
  • Test with a new PR to ensure labels are applied correctly

This workflow automatically triages new pull requests using Claude AI to analyze the changes and apply appropriate labels.
Following the OpenAttributeGraph example, add explicit permissions to the three workflows that use reusable workflows with secrets: inherit.

- claude.yml: Add contents, pull-requests, issues (read), id-token, actions permissions
- issue-triage.yml: Add contents (read), issues (write) permissions
- pr-triage.yml: Add contents (read), pull-requests (write) permissions
@Kyle-Ye Kyle-Ye merged commit d0ab660 into main Oct 4, 2025
7 checks passed
@Kyle-Ye Kyle-Ye deleted the add-pr-triage-workflow branch October 4, 2025 17:36
@codecov
Copy link

codecov bot commented Oct 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 24.30%. Comparing base (786d70c) to head (1c67cc2).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #543   +/-   ##
=======================================
  Coverage   24.29%   24.30%           
=======================================
  Files         506      506           
  Lines       28979    28979           
=======================================
+ Hits         7041     7043    +2     
+ Misses      21938    21936    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants