Skip to content

Commit fb84912

Browse files
authored
Update detect-new-repos.yml
1 parent 8f8eecf commit fb84912

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/detect-new-repos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
run: |
1717
# Fetch latest repo
1818
RESPONSE=$(curl -s -H "Authorization: token $GH_PAT" \
19-
"https://api.github.com/orgs/The-Bulls/repos?sort=created&per_page=1")
19+
"https://api.github.com/orgs/ALX-SE-Algorithmia/repos?sort=created&per_page=1")
2020
2121
echo "GitHub API Response: $RESPONSE"
2222
@@ -41,7 +41,7 @@ jobs:
4141
# Trigger the sync workflow
4242
curl -X POST -H "Authorization: token $GH_PAT" \
4343
-H "Accept: application/vnd.github.everest-preview+json" \
44-
"https://api.github.com/repos/The-Bulls/.github/dispatches" \
44+
"https://api.github.com/repos/ALX-SE-Algorithmia/.github/dispatches" \
4545
-d "{\"event_type\": \"new_repo_created\", \"client_payload\": {\"repo_full_name\": \"$NEW_REPO\"}}"
4646
else
4747
echo "No new repositories found."

0 commit comments

Comments
 (0)