ユーザ用ツール

サイト用ツール


github

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
github [2020/09/01 18:09] – 作成 nullpongithub [2026/03/05 05:00] (現在) nullpon
行 1: 行 1:
 <markdown> <markdown>
-github+GitHub
  
-## github action+## Branch Rules 
 + 
 +ブランチごとに運用ルールを設定 
 + 
 +### mainブランチへのマージはmerge commitのみ許可 
 + 
 +1. Settings -> Rules -> Rulesetsを開く 
 +2. New Ruleset -> New branch rulesetを押す 
 +3. Ruleset Name 
 +  - `enforce merge commit to main` など適当に 
 +4. Target Branches 
 +  - include by petternで`main`と入力(defaultブランチであればinclude default branchでも可) 
 +5. Branch rules 
 +  - Restrict deletion: 削除禁止 
 +  - Block force pushes: force push禁止 
 +  - Require a pull request before merging 
 +    - Allowed merge methodsで`merge`のみ選択
  
-PRのマージ後にブランチを自動削除 
  
-* [branch-cleanup-action](https://github.com/jessfraz/branch-cleanup-action) 
 </markdown> </markdown>
github.1598983754.txt.gz · 最終更新: by nullpon