Skip to content

Conversation

@MantisClone
Copy link
Member

@MantisClone MantisClone commented Jan 17, 2026

Adds workflow to automatically add issues and PRs to the project board.

  • Issues: Added when opened
  • PRs without linked issues: Added when opened
  • PRs with linked issues: Not added (the linked issue is tracked instead)

Uses the reusable workflow from RequestNetwork/.github.


Closes RequestNetwork/public-issues#130

@coderabbitai
Copy link

coderabbitai bot commented Jan 17, 2026

Walkthrough

A new GitHub Actions workflow file is added that automatically triggers when issues or pull requests are opened. The workflow delegates to a reusable workflow from RequestNetwork's GitHub organization and passes a project token secret for authorization.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow
​.github/workflows/auto-project.yml
New workflow file that triggers on issue/PR events and invokes a reusable workflow to automate project assignment using PROJECT_TOKEN secret.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~7 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'chore: add auto-project workflow' clearly and concisely summarizes the main change—adding a new GitHub Actions workflow for automatic project management.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@greptile-apps
Copy link

greptile-apps bot commented Jan 17, 2026

Greptile Summary

Added a new GitHub Actions workflow that automatically adds issues and pull requests to the Request Network project board. The workflow delegates to a reusable workflow from RequestNetwork/.github to handle the actual project automation logic.

Key changes:

  • Issues are added to the project board when opened
  • PRs without linked issues are added when opened
  • PRs with linked issues are not added (the linked issue is tracked instead)

The workflow follows the repository's pattern of using reusable workflows for automation. It requires the PROJECT_TOKEN secret to be configured with appropriate permissions to add items to the organization's project board.

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The workflow is a simple, declarative configuration that calls a tested reusable workflow from the organization's centralized repository. It follows established patterns in this repository and only triggers on safe events (issues and PR opened). The implementation is straightforward with no complex logic or security concerns.
  • No files require special attention

Important Files Changed

Filename Overview
.github/workflows/auto-project.yml Added workflow to automatically add issues and PRs to project board using reusable workflow

Sequence Diagram

sequenceDiagram
    participant User
    participant GitHub
    participant AutoProjectWorkflow
    participant ReusableWorkflow
    participant ProjectBoard

    alt Issue opened
        User->>GitHub: Open issue
        GitHub->>AutoProjectWorkflow: Trigger (issues.opened)
        AutoProjectWorkflow->>ReusableWorkflow: Call add-to-project.yml
        ReusableWorkflow->>ProjectBoard: Add issue to project
    else PR opened
        User->>GitHub: Open PR
        GitHub->>AutoProjectWorkflow: Trigger (pull_request.opened)
        AutoProjectWorkflow->>ReusableWorkflow: Call add-to-project.yml
        alt PR has linked issue
            ReusableWorkflow-->>ProjectBoard: Skip (issue already tracked)
        else PR without linked issue
            ReusableWorkflow->>ProjectBoard: Add PR to project
        end
    end
Loading

@MantisClone MantisClone merged commit 15dae97 into main Jan 17, 2026
4 checks passed
@MantisClone MantisClone deleted the chore/add-auto-project-workflow branch January 17, 2026 20:24
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.

Chore - Deploy auto-project workflow to all tracked repos

2 participants