mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update the description of check_branch
This commit is contained in:
parent
8be521662d
commit
bf77f43b39
1 changed files with 7 additions and 6 deletions
13
.github/workflows/check_branch.yml
vendored
13
.github/workflows/check_branch.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue