You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like the script tries to clear previous versions, but does not have the permission to delete them.
· Get list of artifacts to be uploaded
glob(QuickLook-*.*):
- QuickLook-3.7.3-58-g619f16b.zip
- QuickLook-3.7.3-58-g619f16b.msi
· Check SemVer compliance of the reference/tag
· Get GitHub API handler (authenticate)
· Get Repository handler
· Get Release handler
Request DELETE /repos/QL-Win/QuickLook/releases/assets/211792327 failed with 403: Forbidden
Traceback (most recent call last):
· RM set. All previous assets are being cleared...
File "/releaser.py", line 179, in <module>
asset.delete_asset()
File "/usr/local/lib/python3.12/site-packages/github/GitReleaseAsset.py", line [14](https://github.com/QL-Win/QuickLook/actions/runs/12219336937/job/34085901940?pr=1497#step:4:15)1, in delete_asset
headers, data = self._requester.requestJsonAndCheck("DELETE", self.url)
- QuickLook-3.7.3-58-g619f[16](https://github.com/QL-Win/QuickLook/actions/runs/12219336937/job/34085901940?pr=1497#step:4:17)b.msi
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/github/Requester.py", line 586, in requestJsonAndCheck
return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/github/Requester.py", line 856, in requestJson
return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/github/Requester.py", line 977, in __requestEncode
status, responseHeaders, output = self.__requestRaw(cnx, verb, url, requestHeaders, encoded_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/github/Requester.py", line 1011, in __requestRaw
response = cnx.getresponse()
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/github/Requester.py", line 202, in getresponse
r = verb(
^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 671, in delete
return self.request("DELETE", url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 934, in urlopen
retries = retries.increment(method, url, response=response, _pool=self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/github/GithubRetry.py", line [18](https://github.com/QL-Win/QuickLook/actions/runs/12219336937/job/34085901940?pr=1497#step:4:19)7, in increment
raise Requester.createException(response.status, response.headers, content) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
github.GithubException.GithubException: 403 {"message": "Resource not accessible by integration", "documentation_url": "https://docs.github.com/rest/releases/assets#delete-a-release-asset", "status": "403"}
The text was updated successfully, but these errors were encountered:
Link to failing build: https://github.com/QL-Win/QuickLook/actions/runs/12219336937/job/34085901940?pr=1497
Looks like the script tries to clear previous versions, but does not have the permission to delete them.
The text was updated successfully, but these errors were encountered: