aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/cycles.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cycles.yml')
-rw-r--r--.github/workflows/cycles.yml8
1 files changed, 2 insertions, 6 deletions
diff --git a/.github/workflows/cycles.yml b/.github/workflows/cycles.yml
index 3f85ac6fa74..7d781076dbe 100644
--- a/.github/workflows/cycles.yml
+++ b/.github/workflows/cycles.yml
@@ -33,13 +33,9 @@ jobs:
common/travis/prepare.sh
- name: Find cycles and open issues
run: |
- if command -v chroot-git >/dev/null 2>&1; then
- GIT_CMD=$(command -v chroot-git)
- elif command -v git >/dev/null 2>&1; then
- GIT_CMD=$(command -v git)
- fi
+ PATH="/usr/libexec/chroot-git:$PATH"
# required by git 2.35.2+
- $GIT_CMD config --global --add safe.directory "$PWD"
+ 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