Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

feat(action): changelog/update - Update CHANGELOG.md with new version

Đang mở
#38 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@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ả

enhancement new-action

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aRustyDev/gh

Tất cả issue của aRustyDev/gh

Issue tương tự

Thêm issue về Shell/Bash

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.