AbsaOSS / AbsaOSS/release-notes-presence-check

Introduce guide when RLS notes missing

Đang mở
#9 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
0
Fork
0
Merge trung bình
1 phút
Pull request đã merge (30 ngày)
4

Mô tả

## Background

- Creating release notes (title and bullet list) requires manual effort or relies on PR templates. In both cases, the PR author needs to pay extra attention and follow a process that can be repetitive.
- To improve the developer experience and reduce time spent on boilerplate work, the action will offer two optional inputs to automate or assist with release notes creation.

## Feature

Introduce two new inputs:

### `guide`
- **Required**: No
- **Default**: `true`
- **Description**:
When enabled and no "Release Notes" section is found in the PR description, the action will post a helpful guide comment.
The comment includes:
- A short explanation + mention automated injection feature
- A release notes template
- A proposed draft generated from commit messages

This serves as a non-intrusive way to guide contributors.
If a guide comment from the action already exists, it won’t be posted again.

> 🔹 If both `guide` and `inject_proposed_draft` are enabled, the guide comment is **skipped** to avoid redundancy.

---

### `inject_proposed_draft`
- **Required**: No
- **Default**: `false`
- **Description**:
When enabled, the action will directly insert the generated release notes draft into the PR description.
This provides a ready-to-edit section based on commit messages, saving the author time.

> 🔸 This takes precedence over the `guide` input. When both are enabled, the guide comment will not be posted.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.