Skip to content

Set a maximum re-try times. Don't re-try forever. #36

@SadPencil

Description

@SadPencil

Otherwise, the script will keep running until the timeout-minutes is reached.

In addition, an improvement can be done, that if the error is because of quota exhausted, the scripts end without more re-tries.

Run c-hive/gha-remove-artifacts@v1
Maximum artifact age: 1 second ( created before 2020-12-22T03:06:20+00:00 )
Skipping recent artifact (id: 32210712, name: main.pdf).
Skipping recent artifact (id: 32209832, name: main.pdf).
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/369426095/artifacts?per_page=100, number of total global retries: 0
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/369385267/artifacts?per_page=100, number of total global retries: 1
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/369384675/artifacts?per_page=100, number of total global retries: 2
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/369384676/artifacts?per_page=100, number of total global retries: 3
Retrying after 2233 seconds!
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/369385262/artifacts?per_page=100, number of total global retries: 4
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/367763523/artifacts?per_page=100, number of total global retries: 5
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/367763521/artifacts?per_page=100, number of total global retries: 6
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/367228857/artifacts?per_page=100, number of total global retries: 7
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/367228856/artifacts?per_page=100, number of total global retries: 8
Retrying after 2233 seconds!
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/367219273/artifacts?per_page=100, number of total global retries: 9
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/358928910/artifacts?per_page=100, number of total global retries: 10
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/367219272/artifacts?per_page=100, number of total global retries: 11
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/281637202/artifacts?per_page=100, number of total global retries: 12
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/358928909/artifacts?per_page=100, number of total global retries: 13
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/358920131/artifacts?per_page=100, number of total global retries: 14
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/358920130/artifacts?per_page=100, number of total global retries: 15
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/281637203/artifacts?per_page=100, number of total global retries: 16
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/279989747/artifacts?per_page=100, number of total global retries: 17
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/279989748/artifacts?per_page=100, number of total global retries: 18
Retrying after 2233 seconds!
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/279979882/artifacts?per_page=100, number of total global retries: 19
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/279753471/artifacts?per_page=100, number of total global retries: 20
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/279753470/artifacts?per_page=100, number of total global retries: 21
Retrying after 2233 seconds!
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/279979881/artifacts?per_page=100, number of total global retries: 22
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/259416276/artifacts?per_page=100, number of total global retries: 23
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/259416271/artifacts?per_page=100, number of total global retries: 24
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/259144589/artifacts?per_page=100, number of total global retries: 25
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/259144590/artifacts?per_page=100, number of total global retries: 26
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/257299798/artifacts?per_page=100, number of total global retries: 27
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/257299799/artifacts?per_page=100, number of total global retries: 28
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/257263229/artifacts?per_page=100, number of total global retries: 29
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/257263228/artifacts?per_page=100, number of total global retries: 30
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/249299537/artifacts?per_page=100, number of total global retries: 31
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/245602670/artifacts?per_page=100, number of total global retries: 32
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/215573331/artifacts?per_page=100, number of total global retries: 33
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/245602669/artifacts?per_page=100, number of total global retries: 34
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/215573330/artifacts?per_page=100, number of total global retries: 35
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/214789373/artifacts?per_page=100, number of total global retries: 36
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/214789372/artifacts?per_page=100, number of total global retries: 37
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/249299536/artifacts?per_page=100, number of total global retries: 38
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/215547805/artifacts?per_page=100, number of total global retries: 39
Retrying after 2233 seconds!
Request quota exhausted for request DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}, number of total global retries: 40
Retrying after 2233 seconds!
Request quota exhausted for request GET https://api.github.com/repos/wanzhiguo/blockchain-por/actions/runs/215547806/artifacts?per_page=100, number of total global retries: 41
Retrying after 2232 seconds!
Error: The operation was canceled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions