From ec8ade81e56d737d34817cbdcba3b7325dd4b486 Mon Sep 17 00:00:00 2001 From: Igor Date: Thu, 20 Nov 2025 06:10:23 +0100 Subject: [PATCH] Update repository-status.yml --- .github/workflows/repository-status.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/repository-status.yml b/.github/workflows/repository-status.yml index 4624a713..d093f189 100644 --- a/.github/workflows/repository-status.yml +++ b/.github/workflows/repository-status.yml @@ -52,7 +52,7 @@ jobs: echo "ABc= $CURRENT $EDGE" sudo apt-get -y install datamash LIST=$(curl -H "Authorization: Token ${{ secrets.NETBOX_TOKEN }}" -H "Accept: application/json; indent=4" \ - "https://stuff.armbian.com/netbox/api/virtualization/virtual-machines/?limit=500&name__empty=false&tag=github-runner" \ + "${{ secrets.NETBOX_API }}/virtualization/virtual-machines/?limit=500&name__empty=false&tag=github-runner" \ | jq -r '.results[] | .display, .vcpus, .memory, .cluster.name, .tenant.name' | sed -e 's/^\|$/"/g' \ | xargs -n5 -d'\n' | sed -e 's/\" \"/\",\"/g' | tr -d '"' | sed "s/,/\t/g" | datamash --sort -g 4 sum 2,3 --output-delimiter=,) (echo "CPU|MEM"; @@ -77,7 +77,7 @@ jobs: #echo "|Donated by      | Virtual CPU cores |Memory     |" > label.tmp #echo "|--|--:|--:|" >> label.tmp #curl -H "Authorization: Token ${{ secrets.NETBOX_TOKEN }}" -H "Accept: application/json; indent=4" \ - #"https://stuff.armbian.com/netbox/api/virtualization/virtual-machines/?limit=500&name__empty=false&tag=github-runner" \ + #"${{ secrets.NETBOX_API }}/virtualization/virtual-machines/?limit=500&name__empty=false&tag=github-runner" \ #| jq -r '.results[] | .display, .vcpus, .memory, .cluster.name, .tenant.name' | sed -e 's/^\|$/"/g' \ #| xargs -n5 -d'\n' | sed -e 's/\" \"/\",\"/g' | tr -d '"' | sed "s/,/\t/g" | datamash --sort -g 5 sum 2,3 --output-delimiter=, \ #| LC_ALL=C awk -F , -v OFS=\| '$3/=1024' | cut -d"." -f1 | sed -e 's/$/ Gb/g' | sed -e 's/^\|$/|/g' >> label.tmp