GitHub setup script

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, shell
Lĩnh vực
devops, tooling

Hướng nghiên cứu

The work is a new bin/setup-github.sh that applies repository settings through the GitHub API, for example via the gh CLI. The issue names the target settings: squash-only merges, release labels, deploy and linked-issue variables, a release-bot deploy key, and a "Protect main" ruleset. The standard it refers to is not in the payload, so read it before starting. Done means the script applies each listed setting once and the repo matches the expected state. Confirm admin access and whether the deploy key needs a secret before running it against the repo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Now: repo settings are manual: merge commits and rebase are allowed, no release labels, no ruleset protecting main.

Expected: bin/setup-github.sh from the standard, run once: squash-only merges, release labels, deploy and linked-issue variables, the release-bot deploy key and the "Protect main" ruleset.

Ngôn ngữ chính
PHP
Star
0
Fork
0
Merge trung bình
2 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 wpgenius/stackfolio

Tất cả issue của wpgenius/stackfolio

Issue tương tự

Thêm issue về PHP

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.