From e5fc80077e795ebae3f3ef3e188e47545d13e7f7 Mon Sep 17 00:00:00 2001 From: Maciej Torhan Date: Thu, 14 Nov 2024 12:53:53 +0100 Subject: [PATCH] [#68657] .github: workflows: Fix dubious ownership in repository error Signed-off-by: Maciej Torhan --- .github/workflows/ci.yml | 5 +++-- .github/workflows/docker.yml | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a060086..8f69b90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: Kenning bare-metal IREE runtime tests on: push: - branches: [main] + branches: [main, fix-gha] pull_request: - branches: [main] + branches: [main, fix-gha] jobs: cancel-previous-job: @@ -30,6 +30,7 @@ jobs: lfs: true - name: Update submodules run: | + git config --global --add safe.directory $(pwd) ./build_tools/configure_git_url_rewrite.sh git submodule update --init --recursive - name: Run README.md snippets diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 620cf3d..5195e63 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -23,6 +23,7 @@ jobs: lfs: false - name: Update submodules run: | + git config --global --add safe.directory ${{ github.workspace }} ./build_tools/configure_git_url_rewrite.sh git submodule update --init --recursive - name: Build Docker image