From 9dee549c2b97e899eb5e741b36567a174d00d402 Mon Sep 17 00:00:00 2001 From: Kimo Knowles Date: Thu, 2 Nov 2023 18:22:19 +0100 Subject: [PATCH] Git ownership workaround https://github.com/actions/checkout/issues/1169 --- .github/workflows/continuous-deployment-workflow.yml | 2 ++ .github/workflows/continuous-integration-workflow.yml | 1 + .github/workflows/docs-workflow.yml | 3 +++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/continuous-deployment-workflow.yml b/.github/workflows/continuous-deployment-workflow.yml index 2f9362834..d5c1a6ffc 100644 --- a/.github/workflows/continuous-deployment-workflow.yml +++ b/.github/workflows/continuous-deployment-workflow.yml @@ -16,6 +16,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v2 + - run: git config --system --add safe.directory /__w/re-frame/re-frame - name: Maven cache id: maven-cache uses: actions/cache@v2 @@ -102,6 +103,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 + - run: git config --system --add safe.directory /__w/re-frame/re-frame - name: Maven cache id: maven-cache uses: actions/cache@v2 diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index 66daf45a4..797b4a221 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -25,6 +25,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v2 + - run: git config --system --add safe.directory /__w/re-frame/re-frame - name: Maven cache id: maven-cache uses: actions/cache@v2 diff --git a/.github/workflows/docs-workflow.yml b/.github/workflows/docs-workflow.yml index c56541b0e..4584225c1 100644 --- a/.github/workflows/docs-workflow.yml +++ b/.github/workflows/docs-workflow.yml @@ -26,6 +26,7 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + - run: git config --system --add safe.directory /__w/re-frame/re-frame - name: Build re-frame.core Documentation working-directory: docs # Source: https://github.com/day8/re-frame/blob/master/docs/src/ns_to_markdown.clj @@ -59,6 +60,7 @@ jobs: steps: - name: Checkout Current Branch uses: actions/checkout@v2 + - run: git config --system --add safe.directory /__w/re-frame/re-frame - name: Maven cache id: maven-cache uses: actions/cache@v1 @@ -111,6 +113,7 @@ jobs: steps: - name: Checkout Current Branch uses: actions/checkout@v2 + - run: git config --system --add safe.directory /__w/re-frame/re-frame - name: Download api-re-frame.core.md Artifact uses: actions/download-artifact@v2 with: