From 25553f5a0c7e7ef9947ce6b4e477cf1b8babaa94 Mon Sep 17 00:00:00 2001 From: Nico Matentzoglu Date: Mon, 25 Nov 2024 16:13:27 +0200 Subject: [PATCH] Remove git config --global --add safe.directory from constraints.yml Since the base image does not have git installed, this step currently fails, but it seems v3 and above of `peter-evans/create-pull-request` do not need this. --- .github/workflows/constraints.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/constraints.yml b/.github/workflows/constraints.yml index 77f55761..c8fb6637 100644 --- a/.github/workflows/constraints.yml +++ b/.github/workflows/constraints.yml @@ -13,8 +13,6 @@ jobs: steps: - name: Checkout main branch uses: actions/checkout@v4 - - name: work around permission issue - run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Build constraints.txt run: sh update-constraints.sh --in-docker - name: Create Pull Request