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): trust-check/verify-signatures - Verify commit signatures

Đang mở
#41 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

P2 - Trust validation for secure release pipelines

Description

Create a composite action that verifies commit signatures in a range.

Inputs

Input Required Default Description
commit-range No HEAD~1..HEAD Commit range to verify
require-all No true Require all commits to be signed
allowed-keys No - Allowed GPG key IDs (comma-separated)
verify-github No true Accept GitHub's web-flow signature

Outputs

Output Description
all-signed "true" if all commits are signed
signed-count Number of signed commits
unsigned-count Number of unsigned commits
unsigned-commits Comma-separated list of unsigned commit SHAs

Usage Example

- uses: arustydev/gha/actions/trust-check/verify-signatures@v1
  id: signatures
  with:
    commit-range: "origin/main..HEAD"
    require-all: true

- if: steps.signatures.outputs.all-signed != 'true'
  run: |
    echo "Unsigned commits: ${{ steps.signatures.outputs.unsigned-commits }}"
    exit 1

Implementation Notes

  • Uses git verify-commit for verification
  • Handles GitHub's web-flow GPG key
  • Supports allowlist of specific GPG keys
  • Reports detailed results per commit

Source Reference

helm-charts/.github/workflows/auto-merge-integration.yaml:

  • Signature verification logic for trusted merges
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

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

Mở hướng dẫn đóng góp

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.