summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-02 14:37:15 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-02 14:37:15 +0900
commit5a33ef0586efbe1d7489f4696bd22499b0f2632a (patch)
tree0fb19c6fa51c065d1bbaad08f7756ebbd645173a /.github
parent8ef30bcc047341b2b7e6ec9b545dda975cdd4ab2 (diff)
Set git config in global instead of system
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/mingw.yml6
-rw-r--r--.github/workflows/windows.yml2
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml
index bdbcf3887e..b4799bacf1 100644
--- a/.github/workflows/mingw.yml
+++ b/.github/workflows/mingw.yml
@@ -28,9 +28,9 @@ jobs:
working-directory:
- name: git config
run: |
- git config --system core.autocrlf false
- git config --system core.eol lf
- git config --system advice.detachedHead 0
+ git config --global core.autocrlf false
+ git config --global core.eol lf
+ git config --global advice.detachedHead 0
- uses: actions/checkout@v2
with:
path: src
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 98e59ae188..2febfb919b 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -39,7 +39,7 @@ jobs:
choco install --no-progress winflexbison3 --version=2.5.18.20190508
- name: git config
run: |
- git config --system advice.detachedHead 0
+ git config --global advice.detachedHead 0
- uses: actions/checkout@v2
with:
path: src