From d388d30ef2f6852b31ea81062645f3ce54d970e0 Mon Sep 17 00:00:00 2001 From: Jakub Rusz Date: Mon, 9 May 2022 17:24:02 +0200 Subject: [PATCH] rpmplint: trust osbuild-composer repository Git v2.35.2 brought some security fixes which prevents interaction with repository if it's not owned by the user who cloned it. More info here: https://github.blog/2022-04-12-git-security-vulnerability-announced/ --- .github/workflows/tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b96c7e495..af244288d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -132,7 +132,9 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - name: Create SRPM - run: make srpm + run: | + git config --global --add safe.directory "$GITHUB_WORKSPACE" + make srpm - name: Run rpmlint run: rpmlint rpmbuild/SRPMS/*