ansys / ansys/actions

Add label based on PR (title, body, commits)

Open
#1,129 12 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
19
Forks
7
Avg merge
2d 6h
Merged PRs (30d)
67

Description

To help with PR triage, we could add an action that parses the PR title, body and commits (opt-in) to check for information allowing us to add default / custom labels. For example, automatically adding the "breaking" label, specifying the priority of the PR, specifying if it is associated to an inner tracking tool, ...

This action should be complementary to `actions/labeler` and not checking the modified files. The checking of commits is to retrieve git trailers in order to add labels.

Extend the idea proposed in #757

Contributor guide

Open the contributing guide

Research direction

Start by reading the proposal in #757 and comparing the intended behavior with actions/labeler. Determine the action's supported inputs and how it should inspect PR titles, bodies, and optionally commit trailers; done means it can apply default or custom labels without checking modified files.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github-actions
Domain
ci-cd
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.