|
74 | 74 | steps:
|
75 | 75 | - uses: actions/checkout@v4
|
76 | 76 |
|
| 77 | + # TODO(DF): Remove once fixed upstream. Checkout in a container |
| 78 | + # doesn't use the container's user (appears to use 1001 rather |
| 79 | + # than root 0) and safe.directory setting is not applied properly. |
| 80 | + # So submodule update fails. |
| 81 | + # https://github.com/actions/checkout/issues/1169 |
| 82 | + # The check itself was added to git in |
| 83 | + # https://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8 |
| 84 | + - name: Work around actions/checkout ownership bug |
| 85 | + run: | |
| 86 | + git config --system --add safe.directory $(pwd) |
| 87 | +
|
77 | 88 | - name: Get OpenAssetIO-MediaCreation
|
78 | 89 | uses: actions/download-artifact@v3
|
79 | 90 | with:
|
@@ -107,6 +118,17 @@ jobs:
|
107 | 118 | steps:
|
108 | 119 | - uses: actions/checkout@v4
|
109 | 120 |
|
| 121 | + # TODO(DF): Remove once fixed upstream. Checkout in a container |
| 122 | + # doesn't use the container's user (appears to use 1001 rather |
| 123 | + # than root 0) and safe.directory setting is not applied properly. |
| 124 | + # So submodule update fails. |
| 125 | + # https://github.com/actions/checkout/issues/1169 |
| 126 | + # The check itself was added to git in |
| 127 | + # https://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8 |
| 128 | + - name: Work around actions/checkout ownership bug |
| 129 | + run: | |
| 130 | + git config --system --add safe.directory $(pwd) |
| 131 | +
|
110 | 132 | - name: Get OpenAssetIO
|
111 | 133 | uses: actions/download-artifact@v3
|
112 | 134 | with:
|
@@ -141,6 +163,17 @@ jobs:
|
141 | 163 | steps:
|
142 | 164 | - uses: actions/checkout@v4
|
143 | 165 |
|
| 166 | + # TODO(DF): Remove once fixed upstream. Checkout in a container |
| 167 | + # doesn't use the container's user (appears to use 1001 rather |
| 168 | + # than root 0) and safe.directory setting is not applied properly. |
| 169 | + # So submodule update fails. |
| 170 | + # https://github.com/actions/checkout/issues/1169 |
| 171 | + # The check itself was added to git in |
| 172 | + # https://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8 |
| 173 | + - name: Work around actions/checkout ownership bug |
| 174 | + run: | |
| 175 | + git config --system --add safe.directory $(pwd) |
| 176 | +
|
144 | 177 | - name: Install Traitgen
|
145 | 178 | run: |
|
146 | 179 | python -m pip install git+https://github.com/OpenAssetIO/OpenAssetIO-TraitGen
|
|
0 commit comments