Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add tool to manage branch protection rules across many repositories

オープン
#66 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github, python
領域
devops, release

調査の方向性

Issue にリンクされている GitHub branch protection REST API から始め、複数のリポジトリの保護ルールを管理する方法を確認します。スクリプトの入力をリポジトリのリストと release-name のリストとして定義します。release-* ワイルドカードに依存せずにルールを一元的に更新でき、release の push と merge queue が機能すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

We currently have a branch protection rule in place that protects "release-*" branches in our repositories.

This has drawbacks:

  • it will cause release scripts to fail because the newly created release branches cannot be pushed to by the script
  • prs on these branches cannot use the merge queue (not possible with wildcards in the branch name)

It might be worth switching to individual protection rules for every release, but that would make them hard to change/administer.

The github api allows managing these rules: https://docs.github.com/en/rest/branches/branch-protection?apiVersion=2022-11-28

We should look into writing a simple python script that takes a list of repos and release names and updates these protection rules.

主要言語
Shell
スター
2
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

stackabletech/stackable-utils のほかの issue

stackabletech/stackable-utils の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。