Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Reapply "add container cleanup dry-run""
Traceback (most recent call last): File "/home/runner/work/_actions/snok/container-retention-policy/v2/main.py", line 596, in <module> asyncio.run(main(*argv[1:])) File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/home/runner/work/_actions/snok/container-retention-policy/v2/main.py", line 553, in main all_packages = await GithubAPI.list_packages( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/_actions/snok/container-retention-policy/v2/main.py", line 281, in list_packages return await list_packages(http_client=http_client) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/_actions/snok/container-retention-policy/v2/main.py", line 147, in list_packages packages = await get_all_pages( ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/_actions/snok/container-retention-policy/v2/main.py", line 123, in get_all_pages response.raise_for_status() File "/opt/hostedtoolcache/Python/3.11.4/x64/lib/python3.11/site-packages/httpx/_models.py", line 749, in raise_for_status raise HTTPStatusError(message, request=request, response=self) httpx.HTTPStatusError: Client error '400 Bad Request' for url 'https://api.github.com/user/packages?package_type=container&per_page=100' For more information check: https://httpstatuses.com/400 Error: Process completed with exit code 1.
- Loading branch information