13 image: 'ghcr.io/void-linux/void-buildroot-musl:20240526R1'
15 PATH: '/usr/libexec/chroot-git:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin'
17 - name: Prepare container
19 # switch to repo-ci mirror
20 mkdir -p /etc/xbps.d && cp /usr/share/xbps.d/*-repository-*.conf /etc/xbps.d/
21 sed -i 's|repo-default|repo-ci|g' /etc/xbps.d/*-repository-*.conf
22 # Sync and upgrade once, assume error comes from xbps update
23 xbps-install -Syu || xbps-install -yu xbps
24 # Upgrade again (in case there was a xbps update)
26 # Install script dependencies
27 xbps-install -y python3-networkx github-cli
29 - name: Clone and checkout
30 uses: classabbyamp/treeless-checkout-action@v1
32 - name: Create hostrepo and prepare masterdir
34 ln -s "$(pwd)" /hostrepo &&
35 common/travis/set_mirror.sh &&
36 common/travis/prepare.sh
37 - name: Find cycles and open issues
39 common/scripts/xbps-cycles.py | tee cycles
40 grep 'Cycle:' cycles | while read -r line; do
41 if gh issue list -R "$GITHUB_REPOSITORY" -S "$line" | grep .; then
42 printf "Issue on '%s' already exists.\n" "$line"
44 gh issue create -R "$GITHUB_REPOSITORY" -b '' -t "$line"
48 GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN }}