Hi, I'm trying to use this action but it fails with an error "Resource not accessible by integration" and doesn't delete any caches.
name: Clear all Github Actions caches
on:
workflow_dispatch
jobs:
my-job:
name: Delete all caches
runs-on: ubuntu-latest
steps:
- name: Clear caches
uses: easimon/wipe-cache@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
2023-05-27T20:19:20.1608078Z Requested labels: ubuntu-latest
2023-05-27T20:19:20.1608501Z Job defined at: avsaase/gha_main/.github/workflows/clear-cache.yml@refs/heads/master
2023-05-27T20:19:20.1608701Z Waiting for a runner to pick up this job...
2023-05-27T20:19:20.3680303Z Job is waiting for a hosted runner to come online.
2023-05-27T20:19:23.2245403Z Job is about to start running on the hosted runner: GitHub Actions 2 (hosted)
2023-05-27T20:19:25.7524274Z Current runner version: '2.304.0'
2023-05-27T20:19:25.7576845Z ##[group]Operating System
2023-05-27T20:19:25.7577524Z Ubuntu
2023-05-27T20:19:25.7577881Z 22.04.2
2023-05-27T20:19:25.7578161Z LTS
2023-05-27T20:19:25.7578503Z ##[endgroup]
2023-05-27T20:19:25.7578946Z ##[group]Runner Image
2023-05-27T20:19:25.7579306Z Image: ubuntu-22.04
2023-05-27T20:19:25.7579689Z Version: 20230507.1
2023-05-27T20:19:25.7580294Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20230507.1/images/linux/Ubuntu2204-Readme.md
2023-05-27T20:19:25.7581103Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20230507.1
2023-05-27T20:19:25.7581579Z ##[endgroup]
2023-05-27T20:19:25.7581987Z ##[group]Runner Image Provisioner
2023-05-27T20:19:25.7582386Z 2.0.171.1
2023-05-27T20:19:25.7582688Z ##[endgroup]
2023-05-27T20:19:25.7583543Z ##[group]GITHUB_TOKEN Permissions
2023-05-27T20:19:25.7584192Z Contents: read
2023-05-27T20:19:25.7584517Z Metadata: read
2023-05-27T20:19:25.7585203Z Packages: read
2023-05-27T20:19:25.7585663Z ##[endgroup]
2023-05-27T20:19:25.7589678Z Secret source: Actions
2023-05-27T20:19:25.7590253Z Prepare workflow directory
2023-05-27T20:19:25.8430135Z Prepare all required actions
2023-05-27T20:19:25.8669347Z Getting action download info
2023-05-27T20:19:26.1264050Z Download action repository 'easimon/wipe-cache@main' (SHA:e7ab82e64c328fd39c2e96933d426cd72ac2beba)
2023-05-27T20:19:26.8160528Z Complete job name: Delete all caches
2023-05-27T20:19:26.9346527Z ##[group]Run easimon/wipe-cache@main
2023-05-27T20:19:26.9346924Z with:
2023-05-27T20:19:26.9347508Z github-token: ***
2023-05-27T20:19:26.9347819Z dry-run: false
2023-05-27T20:19:26.9348114Z page-size: 100
2023-05-27T20:19:26.9348388Z ##[endgroup]
2023-05-27T20:19:26.9623375Z ##[group]Run function list_caches {
2023-05-27T20:19:26.9623793Z �[36;1mfunction list_caches {�[0m
2023-05-27T20:19:26.9624096Z �[36;1m local pageindex="$1"�[0m
2023-05-27T20:19:26.9624354Z �[36;1m gh api \�[0m
2023-05-27T20:19:26.9624720Z �[36;1m -H 'Accept: application/vnd.github+json' \�[0m
2023-05-27T20:19:26.9625176Z �[36;1m "/repos/${GITHUB_REPOSITORY}/actions/caches?per_page=${PAGE_SIZE}&page=${pageindex}"�[0m
2023-05-27T20:19:26.9625531Z �[36;1m}�[0m
2023-05-27T20:19:26.9625770Z �[36;1m�[0m
2023-05-27T20:19:26.9626086Z �[36;1mpageindex=1�[0m
2023-05-27T20:19:26.9626323Z �[36;1m�[0m
2023-05-27T20:19:26.9626616Z �[36;1mecho "fetching page ${pageindex}..."�[0m
2023-05-27T20:19:26.9627018Z �[36;1mfirst="$(list_caches "${pageindex}")"�[0m
2023-05-27T20:19:26.9627363Z �[36;1mtotal_count="$(jq -r '.total_count' <<< "${first}")"�[0m
2023-05-27T20:19:26.9627740Z �[36;1mall_ids="$(jq '.actions_caches[].id' <<< "${first}" | tr '\n' ' ')"�[0m
2023-05-27T20:19:26.9628051Z �[36;1m�[0m
2023-05-27T20:19:26.9628331Z �[36;1mremaining="$((total_count-PAGE_SIZE))"�[0m
2023-05-27T20:19:26.9628744Z �[36;1mecho " cache ids in page ${pageindex}: ${all_ids}, ${remaining} remaining."�[0m
2023-05-27T20:19:26.9629126Z �[36;1mwhile [[ $remaining > 0 ]]; do�[0m
2023-05-27T20:19:26.9629441Z �[36;1m pageindex="$((pageindex+1))"�[0m
2023-05-27T20:19:26.9629760Z �[36;1m echo "fetching page ${pageindex}..."�[0m
2023-05-27T20:19:26.9630148Z �[36;1m ids="$(list_caches "${pageindex}" | jq '.actions_caches[].id' | tr '\n' ' ')"�[0m
2023-05-27T20:19:26.9630477Z �[36;1m�[0m
2023-05-27T20:19:26.9630734Z �[36;1m all_ids="${all_ids} ${ids}"�[0m
2023-05-27T20:19:26.9631107Z �[36;1m remaining="$((remaining-PAGE_SIZE))"�[0m
2023-05-27T20:19:26.9631469Z �[36;1m if [[ $remaining < 0 ]]; then remaining=0; fi�[0m
2023-05-27T20:19:26.9631863Z �[36;1m echo " cache ids in page ${pageindex}: ${ids}, ${remaining} remaining."�[0m
2023-05-27T20:19:26.9632189Z �[36;1mdone�[0m
2023-05-27T20:19:26.9632425Z �[36;1m�[0m
2023-05-27T20:19:26.9632698Z �[36;1mecho "cache ids total: ${all_ids}"�[0m
2023-05-27T20:19:26.9633024Z �[36;1mecho "cache_ids=$all_ids" >> "$GITHUB_OUTPUT"�[0m
2023-05-27T20:19:26.9699161Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2023-05-27T20:19:26.9699867Z env:
2023-05-27T20:19:26.9700296Z GH_TOKEN: ***
2023-05-27T20:19:26.9700639Z PAGE_SIZE: 100
2023-05-27T20:19:26.9700866Z ##[endgroup]
2023-05-27T20:19:27.0142710Z fetching page 1...
2023-05-27T20:19:27.6348187Z cache ids in page 1: 6421 6422 6728 6711 1144 6710 1148 4815 4814 4989 5052 6396 1054 1501 6379 818 6697 6700 1508 4801 5004 819 1131 4792 4809 5239 5268 5264 6401 6687 6409 6680 6294 6299 1351 5017 5291 6386 6292 1320 1053 1052 1491 5290 1319 5236 5235 5246 5233 6664 6663 6662 6661 1139 1344 1318 1473 5050 5041 5040 1474 6653 4594 4816 4825 5284 6666 6646 6647 1141 1321 4639 1490 4637 4698 1059 1142 1480 4990 1058 1057 1138 1357 4765 6406 4764 6290 6367 6284 6283 1137 1136 1135 1134 1146 1349 1133 1317 1332 1315 , 446 remaining.
2023-05-27T20:19:27.6349192Z fetching page 2...
2023-05-27T20:19:27.9966720Z cache ids in page 2: 1472 1471 1470 1469 1477 1467 1466 1479 5010 5009 5008 5030 5265 5232 1140 1132 4824 4763 4761 4772 4760 5025 5006 5005 1056 840 830 6440 783 789 782 801 802 800 799 795 797 798 796 794 793 792 790 6717 787 788 791 6718 6425 6719 6724 6722 6720 6419 6418 6420 6621 6606 6562 6555 6554 6552 6527 6526 6516 6497 6496 6495 6490 6489 6488 6423 6172 6152 6153 6148 6147 6150 6331 6296 6260 6240 6239 6238 6237 6231 6229 6228 6227 6215 6214 6154 6151 6149 5069 6146 6145 6144 5057 5058 , 346 remaining.
2023-05-27T20:19:27.9967562Z fetching page 3...
2023-05-27T20:19:28.4027417Z cache ids in page 3: 5056 6143 6142 6141 6140 6138 6136 6134 6133 6132 6131 6130 6129 6128 6127 6126 6125 6124 6123 6122 6121 6120 6118 6117 6116 6115 6114 6113 6112 6111 6109 6108 6107 6106 6105 6104 6103 6102 6101 6100 6099 6098 6096 6095 6093 6092 6091 6027 6017 6016 6008 6001 5998 5995 5994 5993 5987 5980 5976 5972 5970 5968 5963 5920 5919 5917 5915 5913 5891 5889 5863 5856 5828 5816 5797 5790 5783 5777 5771 5770 5753 5752 5687 5651 5650 5649 5632 5623 5622 5614 5612 5610 5609 5607 5606 5570 5565 5557 5555 5543 , 246 remaining.
2023-05-27T20:19:28.4028279Z fetching page 4...
2023-05-27T20:19:28.7538434Z cache ids in page 4: 5515 5489 5479 5478 5477 5476 5475 5473 5472 5471 5470 5469 5468 5467 5466 5465 5463 5462 5461 5460 5459 5458 5457 5455 5453 5451 5450 5449 5448 5447 5446 5445 5444 5443 5442 5441 5438 5436 5435 5434 5433 5432 5431 5430 5428 5426 5425 5423 5422 5421 5420 5419 5418 5417 5416 5415 5414 5413 5412 5411 5410 5409 5408 5407 5406 5405 5402 5401 5400 5399 5398 5397 5395 5393 5390 5389 5387 5386 5384 5383 5381 5380 5379 5378 5376 5375 5374 5372 5369 5367 5365 5362 5361 5359 5357 5356 5355 5354 5353 5352 , 146 remaining.
2023-05-27T20:19:28.7543957Z fetching page 5...
2023-05-27T20:19:29.0959878Z cache ids in page 5: 5351 5350 5349 5348 5346 5345 5344 5343 5340 5339 5338 5337 5336 5335 5334 5333 5332 5331 5330 5329 5328 5327 5326 5325 5324 5323 5322 5320 5319 5318 5317 5316 5315 5314 5313 5312 5311 5310 5309 5308 5307 5306 5303 5304 5305 5302 5301 5300 5297 5298 5299 5208 5204 5196 5175 5155 5154 5139 5097 5094 5093 5092 5091 5086 5064 5063 5059 4847 4846 4845 4898 4949 4947 4930 4929 4928 4917 4915 4897 4895 4894 4893 4892 4891 4884 4864 4848 4844 4683 4842 4843 4840 4839 4841 4835 4837 4833 4838 4836 4834 , 46 remaining.
2023-05-27T20:19:29.0964764Z fetching page 6...
2023-05-27T20:19:29.4608000Z cache ids in page 6: 4832 4831 4755 4748 4740 4739 4738 4737 4736 4735 4734 4733 4719 4717 4716 4715 4674 4653 4652 4651 4650 4576 4573 4564 4560 4559 4558 4557 4556 4554 4541 4540 4539 4525 4524 4510 4505 4490 4489 4488 4487 1368 1369 1367 1441 4486 , 0 remaining.
2023-05-27T20:19:29.4615989Z cache ids total: 6421 6422 6728 6711 1144 6710 1148 4815 4814 4989 5052 6396 1054 1501 6379 818 6697 6700 1508 4801 5004 819 1131 4792 4809 5239 5268 5264 6401 6687 6409 6680 6294 6299 1351 5017 5291 6386 6292 1320 1053 1052 1491 5290 1319 5236 5235 5246 5233 6664 6663 6662 6661 1139 1344 1318 1473 5050 5041 5040 1474 6653 4594 4816 4825 5284 6666 6646 6647 1141 1321 4639 1490 4637 4698 1059 1142 1480 4990 1058 1057 1138 1357 4765 6406 4764 6290 6367 6284 6283 1137 1136 1135 1134 1146 1349 1133 1317 1332 1315 1472 1471 1470 1469 1477 1467 1466 1479 5010 5009 5008 5030 5265 5232 1140 1132 4824 4763 4761 4772 4760 5025 5006 5005 1056 840 830 6440 783 789 782 801 802 800 799 795 797 798 796 794 793 792 790 6717 787 788 791 6718 6425 6719 6724 6722 6720 6419 6418 6420 6621 6606 6562 6555 6554 6552 6527 6526 6516 6497 6496 6495 6490 6489 6488 6423 6172 6152 6153 6148 6147 6150 6331 6296 6260 6240 6239 6238 6237 6231 6229 6228 6227 6215 6214 6154 6151 6149 5069 6146 6145 6144 5057 5058 5056 6143 6142 6141 6140 6138 6136 6134 6133 6132 6131 6130 6129 6128 6127 6126 6125 6124 6123 6122 6121 6120 6118 6117 6116 6115 6114 6113 6112 6111 6109 6108 6107 6106 6105 6104 6103 6102 6101 6100 6099 6098 6096 6095 6093 6092 6091 6027 6017 6016 6008 6001 5998 5995 5994 5993 5987 5980 5976 5972 5970 5968 5963 5920 5919 5917 5915 5913 5891 5889 5863 5856 5828 5816 5797 5790 5783 5777 5771 5770 5753 5752 5687 5651 5650 5649 5632 5623 5622 5614 5612 5610 5609 5607 5606 5570 5565 5557 5555 5543 5515 5489 5479 5478 5477 5476 5475 5473 5472 5471 5470 5469 5468 5467 5466 5465 5463 5462 5461 5460 5459 5458 5457 5455 5453 5451 5450 5449 5448 5447 5446 5445 5444 5443 5442 5441 5438 5436 5435 5434 5433 5432 5431 5430 5428 5426 5425 5423 5422 5421 5420 5419 5418 5417 5416 5415 5414 5413 5412 5411 5410 5409 5408 5407 5406 5405 5402 5401 5400 5399 5398 5397 5395 5393 5390 5389 5387 5386 5384 5383 5381 5380 5379 5378 5376 5375 5374 5372 5369 5367 5365 5362 5361 5359 5357 5356 5355 5354 5353 5352 5351 5350 5349 5348 5346 5345 5344 5343 5340 5339 5338 5337 5336 5335 5334 5333 5332 5331 5330 5329 5328 5327 5326 5325 5324 5323 5322 5320 5319 5318 5317 5316 5315 5314 5313 5312 5311 5310 5309 5308 5307 5306 5303 5304 5305 5302 5301 5300 5297 5298 5299 5208 5204 5196 5175 5155 5154 5139 5097 5094 5093 5092 5091 5086 5064 5063 5059 4847 4846 4845 4898 4949 4947 4930 4929 4928 4917 4915 4897 4895 4894 4893 4892 4891 4884 4864 4848 4844 4683 4842 4843 4840 4839 4841 4835 4837 4833 4838 4836 4834 4832 4831 4755 4748 4740 4739 4738 4737 4736 4735 4734 4733 4719 4717 4716 4715 4674 4653 4652 4651 4650 4576 4573 4564 4560 4559 4558 4557 4556 4554 4541 4540 4539 4525 4524 4510 4505 4490 4489 4488 4487 1368 1369 1367 1441 4486
2023-05-27T20:19:29.4883997Z ##[group]Run for id in 6421 6422 6728 6711 1144 6710 1148 4815 4814 4989 5052 6396 1054 1501 6379 818 6697 6700 1508 4801 5004 819 1131 4792 4809 5239 5268 5264 6401 6687 6409 6680 6294 6299 1351 5017 5291 6386 6292 1320 1053 1052 1491 5290 1319 5236 5235 5246 5233 6664 6663 6662 6661 1139 1344 1318 1473 5050 5041 5040 1474 6653 4594 4816 4825 5284 6666 6646 6647 1141 1321 4639 1490 4637 4698 1059 1142 1480 4990 1058 1057 1138 1357 4765 6406 4764 6290 6367 6284 6283 1137 1136 1135 1134 1146 1349 1133 1317 1332 1315 1472 1471 1470 1469 1477 1467 1466 1479 5010 5009 5008 5030 5265 5232 1140 1132 4824 4763 4761 4772 4760 5025 5006 5005 1056 840 830 6440 783 789 782 801 802 800 799 795 797 798 796 794 793 792 790 6717 787 788 791 6718 6425 6719 6724 6722 6720 6419 6418 6420 6621 6606 6562 6555 6554 6552 6527 6526 6516 6497 6496 6495 6490 6489 6488 6423 6172 6152 6153 6148 6147 6150 6331 6296 6260 6240 6239 6238 6237 6231 6229 6228 6227 6215 6214 6154 6151 6149 5069 6146 6145 6144 5057 5058 5056 6143 6142 6141 6140 6138 6136 6134 6133 6132 6131 6130 6129 6128 6127 6126 6125 6124 6123 6122 6121 6120 6118 6117 6116 6115 6114 6113 6112 6111 6109 6108 6107 6106 6105 6104 6103 6102 6101 6100 6099 6098 6096 6095 6093 6092 6091 6027 6017 6016 6008 6001 5998 5995 5994 5993 5987 5980 5976 5972 5970 5968 5963 5920 5919 5917 5915 5913 5891 5889 5863 5856 5828 5816 5797 5790 5783 5777 5771 5770 5753 5752 5687 5651 5650 5649 5632 5623 5622 5614 5612 5610 5609 5607 5606 5570 5565 5557 5555 5543 5515 5489 5479 5478 5477 5476 5475 5473 5472 5471 5470 5469 5468 5467 5466 5465 5463 5462 5461 5460 5459 5458 5457 5455 5453 5451 5450 5449 5448 5447 5446 5445 5444 5443 5442 5441 5438 5436 5435 5434 5433 5432 5431 5430 5428 5426 5425 5423 5422 5421 5420 5419 5418 5417 5416 5415 5414 5413 5412 5411 5410 5409 5408 5407 5406 5405 5402 5401 5400 5399 5398 5397 5395 5393 5390 5389 5387 5386 5384 5383 5381 5380 5379 5378 5376 5375 5374 5372 5369 5367 5365 5362 5361 5359 5357 5356 5355 5354 5353 5352 5351 5350 5349 5348 5346 5345 5344 5343 5340 5339 5338 5337 5336 5335 5334 5333 5332 5331 5330 5329 5328 5327 5326 5325 5324 5323 5322 5320 5319 5318 5317 5316 5315 5314 5313 5312 5311 5310 5309 5308 5307 5306 5303 5304 5305 5302 5301 5300 5297 5298 5299 5208 5204 5196 5175 5155 5154 5139 5097 5094 5093 5092 5091 5086 5064 5063 5059 4847 4846 4845 4898 4949 4947 4930 4929 4928 4917 4915 4897 4895 4894 4893 4892 4891 4884 4864 4848 4844 4683 4842 4843 4840 4839 4841 4835 4837 4833 4838 4836 4834 4832 4831 4755 4748 4740 4739 4738 4737 4736 4735 4734 4733 4719 4717 4716 4715 4674 4653 4652 4651 4650 4576 4573 4564 4560 4559 4558 4557 4556 4554 4541 4540 4539 4525 4524 4510 4505 4490 4489 4488 4487 1368 1369 1367 1441 4486 ; do
2023-05-27T20:19:29.4886073Z �[36;1mfor id in 6421 6422 6728 6711 1144 6710 1148 4815 4814 4989 5052 6396 1054 1501 6379 818 6697 6700 1508 4801 5004 819 1131 4792 4809 5239 5268 5264 6401 6687 6409 6680 6294 6299 1351 5017 5291 6386 6292 1320 1053 1052 1491 5290 1319 5236 5235 5246 5233 6664 6663 6662 6661 1139 1344 1318 1473 5050 5041 5040 1474 6653 4594 4816 4825 5284 6666 6646 6647 1141 1321 4639 1490 4637 4698 1059 1142 1480 4990 1058 1057 1138 1357 4765 6406 4764 6290 6367 6284 6283 1137 1136 1135 1134 1146 1349 1133 1317 1332 1315 1472 1471 1470 1469 1477 1467 1466 1479 5010 5009 5008 5030 5265 5232 1140 1132 4824 4763 4761 4772 4760 5025 5006 5005 1056 840 830 6440 783 789 782 801 802 800 799 795 797 798 796 794 793 792 790 6717 787 788 791 6718 6425 6719 6724 6722 6720 6419 6418 6420 6621 6606 6562 6555 6554 6552 6527 6526 6516 6497 6496 6495 6490 6489 6488 6423 6172 6152 6153 6148 6147 6150 6331 6296 6260 6240 6239 6238 6237 6231 6229 6228 6227 6215 6214 6154 6151 6149 5069 6146 6145 6144 5057 5058 5056 6143 6142 6141 6140 6138 6136 6134 6133 6132 6131 6130 6129 6128 6127 6126 6125 6124 6123 6122 6121 6120 6118 6117 6116 6115 6114 6113 6112 6111 6109 6108 6107 6106 6105 6104 6103 6102 6101 6100 6099 6098 6096 6095 6093 6092 6091 6027 6017 6016 6008 6001 5998 5995 5994 5993 5987 5980 5976 5972 5970 5968 5963 5920 5919 5917 5915 5913 5891 5889 5863 5856 5828 5816 5797 5790 5783 5777 5771 5770 5753 5752 5687 5651 5650 5649 5632 5623 5622 5614 5612 5610 5609 5607 5606 5570 5565 5557 5555 5543 5515 5489 5479 5478 5477 5476 5475 5473 5472 5471 5470 5469 5468 5467 5466 5465 5463 5462 5461 5460 5459 5458 5457 5455 5453 5451 5450 5449 5448 5447 5446 5445 5444 5443 5442 5441 5438 5436 5435 5434 5433 5432 5431 5430 5428 5426 5425 5423 5422 5421 5420 5419 5418 5417 5416 5415 5414 5413 5412 5411 5410 5409 5408 5407 5406 5405 5402 5401 5400 5399 5398 5397 5395 5393 5390 5389 5387 5386 5384 5383 5381 5380 5379 5378 5376 5375 5374 5372 5369 5367 5365 5362 5361 5359 5357 5356 5355 5354 5353 5352 5351 5350 5349 5348 5346 5345 5344 5343 5340 5339 5338 5337 5336 5335 5334 5333 5332 5331 5330 5329 5328 5327 5326 5325 5324 5323 5322 5320 5319 5318 5317 5316 5315 5314 5313 5312 5311 5310 5309 5308 5307 5306 5303 5304 5305 5302 5301 5300 5297 5298 5299 5208 5204 5196 5175 5155 5154 5139 5097 5094 5093 5092 5091 5086 5064 5063 5059 4847 4846 4845 4898 4949 4947 4930 4929 4928 4917 4915 4897 4895 4894 4893 4892 4891 4884 4864 4848 4844 4683 4842 4843 4840 4839 4841 4835 4837 4833 4838 4836 4834 4832 4831 4755 4748 4740 4739 4738 4737 4736 4735 4734 4733 4719 4717 4716 4715 4674 4653 4652 4651 4650 4576 4573 4564 4560 4559 4558 4557 4556 4554 4541 4540 4539 4525 4524 4510 4505 4490 4489 4488 4487 1368 1369 1367 1441 4486 ; do�[0m
2023-05-27T20:19:29.4887073Z �[36;1m if [[ "false" == 'true' ]]; then�[0m
2023-05-27T20:19:29.4887365Z �[36;1m echo "would delete cache $id using following command:"�[0m
2023-05-27T20:19:29.4887635Z �[36;1m echo gh api \�[0m
2023-05-27T20:19:29.4887874Z �[36;1m --method DELETE \�[0m
2023-05-27T20:19:29.4888139Z �[36;1m -H 'Accept: application/vnd.github+json' \�[0m
2023-05-27T20:19:29.4888844Z �[36;1m "/repos/${GITHUB_REPOSITORY}/actions/caches/$id"�[0m
2023-05-27T20:19:29.4890213Z �[36;1m else�[0m
2023-05-27T20:19:29.4890488Z �[36;1m echo "deleting cache $id"�[0m
2023-05-27T20:19:29.4890758Z �[36;1m gh api \�[0m
2023-05-27T20:19:29.4891029Z �[36;1m --method DELETE \�[0m
2023-05-27T20:19:29.4891351Z �[36;1m -H 'Accept: application/vnd.github+json' \�[0m
2023-05-27T20:19:29.4891723Z �[36;1m "/repos/${GITHUB_REPOSITORY}/actions/caches/$id"�[0m
2023-05-27T20:19:29.4892026Z �[36;1m fi�[0m
2023-05-27T20:19:29.4892249Z �[36;1mdone�[0m
2023-05-27T20:19:29.4945132Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2023-05-27T20:19:29.4945376Z env:
2023-05-27T20:19:29.4947158Z GH_TOKEN: ***
2023-05-27T20:19:29.4947413Z ##[endgroup]
2023-05-27T20:19:29.5046037Z deleting cache 6421
2023-05-27T20:19:29.7790105Z gh: Resource not accessible by integration (HTTP 403)
2023-05-27T20:19:29.7806541Z {"message":"Resource not accessible by integration","documentation_url":"https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id"}
2023-05-27T20:19:29.7821841Z ##[error]Process completed with exit code 1.
2023-05-27T20:19:29.8003933Z Cleaning up orphan processes
It looks like a permission issue but I'm not sure how to fix that.