From bf77f43b3991b63b832ff72cfc91b9761a32bdf8 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Wed, 14 Aug 2019 22:36:41 +0900 Subject: Update the description of check_branch --- .github/workflows/check_branch.yml | 13 +++++++------ 1 file 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: -- cgit v1.2.3