aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorNARUSE, Yui <naruse@airemix.jp>2020-01-30 13:36:47 +0900
committerNARUSE, Yui <naruse@airemix.jp>2020-01-30 13:36:47 +0900
commit9c07f803db1c20241fa73e91a8a959d6cbb82e8b (patch)
treed3040c8e1acd92b4bd11fb63c37239dad0f0066b /.github
parent49430aa4e5bf4020dbdb1cce3bc547cffad6ffae (diff)
downloadruby-9c07f803db1c20241fa73e91a8a959d6cbb82e8b.tar.gz
check ruby_2_7 branch
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/check_branch.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/check_branch.yml b/.github/workflows/check_branch.yml
index 37cf3a9a8f..40292838f2 100644
--- a/.github/workflows/check_branch.yml
+++ b/.github/workflows/check_branch.yml
@@ -1,6 +1,6 @@
-# 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.
+# We bidirectionally synchronize github.com/ruby/ruby.git's ruby_2_7 branch and
+# git.ruby-lang.org/ruby.git's ruby_2_7 branch.
+# We can use a pull request's merge button only on the ruby_2_7 branch.
#
# Therefore, we require to pass this "check_branch" on all protected branches
# to prevent us from accidentally pushing commits to GitHub directly.
@@ -12,10 +12,10 @@ jobs:
check_branch:
runs-on: ubuntu-latest
steps:
- - name: Check if branch is master
+ - name: Check if branch is ruby_2_7
run: |
- if [ "$BASE_REF" != master ]; then
- echo "Only master branch accepts a pull request, but it's '$BASE_REF'."
+ if [ "$BASE_REF" != ruby_2_7 ]; then
+ echo "Only ruby_2_7 branch accepts a pull request, but it's '$BASE_REF'."
exit 1
fi
env: