From a75b59e4b31dc974c39470ffc0104ceaccb71b16 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Mon, 25 Apr 2022 14:28:55 -0400 Subject: [PATCH 1/2] .github/workflows/cycle.yml: fix error message related to git 2.35.2+ --- .github/workflows/cycles.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cycles.yml b/.github/workflows/cycles.yml index e75297ac937d..72c8d83b2c82 100644 --- a/.github/workflows/cycles.yml +++ b/.github/workflows/cycles.yml @@ -28,6 +28,7 @@ jobs: common/travis/prepare.sh - name: Find cycles and open issues run: | + git config --global --add safe.directory "$PWD" common/scripts/xbps-cycles.py | tee cycles grep 'Cycle:' cycles | while read -r line; do if gh issue list -R "$GITHUB_REPOSITORY" -S "$line" | grep .; then From 7e094decfbcd696bab235a36eb5fcb916558cf3b Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Tue, 26 Apr 2022 13:50:36 -0400 Subject: [PATCH 2/2] common/travis/fetch_upstream.sh: fix checkout dir --- common/travis/fetch_upstream.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/travis/fetch_upstream.sh b/common/travis/fetch_upstream.sh index 5c0256fdbe17..049cfd69e54d 100755 --- a/common/travis/fetch_upstream.sh +++ b/common/travis/fetch_upstream.sh @@ -9,7 +9,7 @@ elif command -v git >/dev/null 2>&1; then fi # required by git 2.35.2+ -$GIT_CMD config --global --add safe.directory /__w/void-packages/void-packages +$GIT_CMD config --global --add safe.directory "$PWD" /bin/echo -e '\x1b[32mFetching upstream...\x1b[0m' $GIT_CMD fetch --depth 200 https://github.com/void-linux/void-packages.git master