Skip to content

Add Auto-Assignment GitHub Action for Issues and PRs#151

Open
Varun-S10 wants to merge 3 commits intogoogle:mainfrom
Varun-S10:varun_auto_assignment_script
Open

Add Auto-Assignment GitHub Action for Issues and PRs#151
Varun-S10 wants to merge 3 commits intogoogle:mainfrom
Varun-S10:varun_auto_assignment_script

Conversation

@Varun-S10
Copy link

Add Auto-Assignment GitHub Action
This PR introduces a GitHub Actions workflow that automatically assigns new issues and pull requests to a designated team member. It ensures that every new task gets immediate ownership and avoid unassigned work items.

How It Works

1. Trigger Events

  • The workflow runs whenever a new issue or pull request is opened.

2. Determine Assignees

  • It has separate lists for issues and PRs
  • The assignee is selected using round-robin logic based on the issue/PR number, so work is distributed consistently.

3. Automatic Assignment

  • Once selected, the workflow assigns the issue/PR via the GitHub API.

Why This Is Needed

  • Prevents new issues and PRs from being unassigned.
  • Ensures even distribution of tasks among team members.
  • Saves manual effort in assigning every new item.

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.

1 participant

Comments