diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-14 22:36:41 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-14 22:36:49 +0900 |
commit | bf77f43b3991b63b832ff72cfc91b9761a32bdf8 (patch) | |
tree | 32e3b20ab67c70a15074fe0e4d7f96d4d738bdf8 | |
parent | 8be521662d1b1b0e6f791f6d9d29d529bdc427e1 (diff) | |
download | ruby-bf77f43b3991b63b832ff72cfc91b9761a32bdf8.tar.gz |
Update the description of check_branch
-rw-r--r-- | .github/workflows/check_branch.yml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/.github/workflows/check_branch.yml b/.github/workflows/check_branch.yml index 5bb0e8c769..4a74cbd458 100644 --- a/.github/workflows/check_branch.yml +++ b/.github/workflows/check_branch.yml @@ -1,10 +1,11 @@ -# Protected branches: -# * master: Synchronized between cgit and GitHub bidirectionally [experimental] -# * other branches: Only writable from cgit. +# We bidirectionally synchronize github.com/ruby/ruby.git's master branch and +# git.ruby-lang.org/ruby.git's master branch. +# We can use a pull request's merge button only on the master branch. # -# Thus this check is mandatory for "other branches" to prevent us from merging them, -# because these branches are not synchronized from GitHub to cgit at all. -# Details: https://bugs.ruby-lang.org/issues/16094#note-10 +# Therefore, we require to pass this "check_branch" on all protected branches +# to prevent us from accidentally pushing commits to GitHub directly. +# +# Details: https://bugs.ruby-lang.org/issues/16094 name: pull_request on: [pull_request] jobs: |