Skip to content

Commit f8b5e1d

Browse files
committed
Git ownership workaround
actions/checkout#1169
1 parent c6b8e9d commit f8b5e1d

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.github/workflows/continuous-deployment-workflow.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
password: ${{ secrets.GITHUB_TOKEN }}
1717
steps:
1818
- uses: actions/checkout@v2
19+
- run: git config --system --add safe.directory /__w/re-frame/re-frame
1920
- name: Maven cache
2021
id: maven-cache
2122
uses: actions/cache@v2
@@ -102,6 +103,7 @@ jobs:
102103
- uses: actions/checkout@v2
103104
with:
104105
fetch-depth: 0
106+
- run: git config --system --add safe.directory /__w/re-frame/re-frame
105107
- name: Maven cache
106108
id: maven-cache
107109
uses: actions/cache@v2

.github/workflows/continuous-integration-workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
password: ${{ secrets.GITHUB_TOKEN }}
2626
steps:
2727
- uses: actions/checkout@v2
28+
- run: git config --system --add safe.directory /__w/re-frame/re-frame
2829
- name: Maven cache
2930
id: maven-cache
3031
uses: actions/cache@v2

.github/workflows/docs-workflow.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
uses: actions/checkout@v2
2727
with:
2828
fetch-depth: 0
29+
- run: git config --system --add safe.directory /__w/re-frame/re-frame
2930
- name: Build re-frame.core Documentation
3031
working-directory: docs
3132
# Source: https://github.com/day8/re-frame/blob/master/docs/src/ns_to_markdown.clj
@@ -59,6 +60,7 @@ jobs:
5960
steps:
6061
- name: Checkout Current Branch
6162
uses: actions/checkout@v2
63+
- run: git config --system --add safe.directory /__w/re-frame/re-frame
6264
- name: Maven cache
6365
id: maven-cache
6466
uses: actions/cache@v1
@@ -111,6 +113,7 @@ jobs:
111113
steps:
112114
- name: Checkout Current Branch
113115
uses: actions/checkout@v2
116+
- run: git config --system --add safe.directory /__w/re-frame/re-frame
114117
- name: Download api-re-frame.core.md Artifact
115118
uses: actions/download-artifact@v2
116119
with:
@@ -150,6 +153,7 @@ jobs:
150153
with:
151154
ref: "gh-pages"
152155
path: "gh-pages"
156+
- run: git config --system --add safe.directory /__w/re-frame/re-frame
153157
- name: Download MkDocs Artifact
154158
uses: actions/download-artifact@v1
155159
with:

0 commit comments

Comments
 (0)