feat(action): changelog/update - Update CHANGELOG.md with new version
@aRustyDev đang làm issue này rồi.
Từ ngày 27/1/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Parent Epic
Part of #22 (Atomic Release Pipeline Actions)
Priority
P1 - Release support for W5/W6
Description
Create a composite action that updates a CHANGELOG.md file with a new version section.
Inputs
| Input | Required | Default | Description |
|---|---|---|---|
changelog-path |
Yes | - | Path to CHANGELOG.md |
version |
Yes | - | Version number |
content |
Yes | - | Changelog content to insert |
date |
No | today |
Release date (YYYY-MM-DD) |
create-if-missing |
No | true |
Create file if it doesn't exist |
Outputs
| Output | Description |
|---|---|
updated |
"true" if file was modified |
created |
"true" if file was created |
Usage Example
- uses: arustydev/gha/actions/changelog/generate@v1
id: gen
- uses: arustydev/gha/actions/changelog/update@v1
with:
changelog-path: charts/my-chart/CHANGELOG.md
version: "1.3.0"
content: ${{ steps.gen.outputs.changelog }}
Implementation Notes
- Inserts new version section after header
- Creates Keep-a-Changelog format file if missing
- Preserves existing content
- Handles [Unreleased] section if present
Source Reference
helm-charts/.github/scripts/version-bump.sh:
generate_changelog()- file creation and update logic
Related
- #35 - changelog/extract-version (complementary)
- #36 - changelog/generate (complementary)
- Ngôn ngữ chính
- Shell
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của aRustyDev/gh
-
dependencies github-actions
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 10/100
-
dependencies github-actions
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 15/100
-
dependencies github-actions
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 50/100
-
dependencies github-actions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 20/100
-
dependencies github-actions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 10/100
Issue tương tự
-
package-update
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vllm-project/vllm-metal#841 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
obra/superpowers#2394 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
CachyOS/cachyos-aur-derived#772 ·
Maintainer thường phản hồi trong vòng 1 ngày