Skip to content

Commit

Permalink
Give eth from used keys back
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Sep 29, 2024
1 parent 3ee2809 commit 11d5a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/provision_account.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Check how many accounts are provisioned
id: check_count # Create an ID for the step so we can refer to its output
run: |
COUNT=$(curl -sSL https://polygongas.org/keys/count/unused_accounts)
COUNT=$(curl -sSL -H "Authorization: Bearer ${{ secrets.PRIVATE_KEY_SERVER_KEY }}" https://polygongas.org/keys/count/unused_accounts)
echo "Provisioned accounts count: $COUNT"
if [ "$COUNT" -gt 100 ]; then
echo "Too many accounts provisioned ($COUNT). Skipping remaining steps."
Expand Down

0 comments on commit 11d5a86

Please sign in to comment.