From f1d4b9ede9ecfed9f7ad233c30ff259dc5bd0070 Mon Sep 17 00:00:00 2001 From: Danwebt Date: Sun, 23 Jun 2024 05:33:31 +0200 Subject: [PATCH] fix: use variable as endpoint --- .github/workflows/beta.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 0d12ad73..9c00481d 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -121,7 +121,7 @@ jobs: # Fetch contributors from GitHub contributors=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ - "https://api.github.com/repos/Dantotsu-inc/FUCKYML/contributors") + "https://api.github.com/repos/{{ github.repository }}/contributors") # Create a sorted list of contributors based on recent commit counts sorted_contributors=$(for login in $(echo "$contributors" | jq -r '.[].login'); do