Git Product home page Git Product logo

Comments (11)

cb80 avatar cb80 commented on September 2, 2024

Interesting. Step debugging may give you more information: https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging#enabling-step-debug-logging

from pubrel.

Mailaender avatar Mailaender commented on September 2, 2024
##[debug]{"status":200,"url":"https://api.github.com/repos/OpenRA/GeoIP-Database/releases/tags/monthly","headers":{"access-control-allow-origin":"*","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset","cache-control":"private, max-age=60, s-maxage=60","connection":"close","content-encoding":"gzip","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Mon, 20 Sep 2021 18:16:05 GMT","etag":"W/\"90efdf1e7fab8f3f45a4ca4f253d924924f924938f88666c2948ea948bafadc3\"","last-modified":"Mon, 20 Sep 2021 13:43:47 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"GitHub.com","strict-transport-security":"max-age=31536000; includeSubdomains; preload","transfer-encoding":"chunked","vary":"Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding, Accept, X-Requested-With","x-accepted-oauth-scopes":"repo","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-media-type":"github.v3; format=json","x-github-request-id":"0402:616A:121735:132B25:6148CFE5","x-oauth-scopes":"repo, workflow","x-ratelimit-limit":"5000","x-ratelimit-remaining":"4999","x-ratelimit-reset":"1632165365","x-ratelimit-resource":"core","x-ratelimit-used":"1","x-xss-protection":"0"},"data":{"url":"https://api.github.com/repos/OpenRA/GeoIP-Database/releases/49852973","assets_url":"https://api.github.com/repos/OpenRA/GeoIP-Database/releases/49852973/assets","upload_url":"https://uploads.github.com/repos/OpenRA/GeoIP-Database/releases/49852973/assets{?name,label}","html_url":"https://github.com/OpenRA/GeoIP-Database/releases/tag/monthly","id":49852973,"author":{"login":"Mailaender","id":756669,"node_id":"MDQ6VXNlcjc1NjY2OQ==","avatar_url":"https://avatars.githubusercontent.com/u/756669?v=4","gravatar_id":"","url":"https://api.github.com/users/Mailaender","html_url":"https://github.com/Mailaender","followers_url":"https://api.github.com/users/Mailaender/followers","following_url":"https://api.github.com/users/Mailaender/following{/other_user}","gists_url":"https://api.github.com/users/Mailaender/gists{/gist_id}","starred_url":"https://api.github.com/users/Mailaender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mailaender/subscriptions","organizations_url":"https://api.github.com/users/Mailaender/orgs","repos_url":"https://api.github.com/users/Mailaender/repos","events_url":"https://api.github.com/users/Mailaender/events{/privacy}","received_events_url":"https://api.github.com/users/Mailaender/received_events","type":"User","site_admin":false},"node_id":"RE_kwDOEIr2d84C-LIt","tag_name":"monthly","target_commitish":"master","name":"IP2Location™ LITE IP-COUNTRY Database","draft":false,"prerelease":false,"created_at":"2021-09-20T13:16:15Z","published_at":"2021-09-20T13:18:52Z","assets":[{"url":"https://api.github.com/repos/OpenRA/GeoIP-Database/releases/assets/45201674","id":45201674,"node_id":"RA_kwDOEIr2d84CsbkK","name":"IP2LOCATION-LITE-DB1.IPV6.BIN.1.ZIP","label":null,"uploader":{"login":"Mailaender","id":756669,"node_id":"MDQ6VXNlcjc1NjY2OQ==","avatar_url":"https://avatars.githubusercontent.com/u/756669?v=4","gravatar_id":"","url":"https://api.github.com/users/Mailaender","html_url":"https://github.com/Mailaender","followers_url":"https://api.github.com/users/Mailaender/followers","following_url":"https://api.github.com/users/Mailaender/following{/other_user}","gists_url":"https://api.github.com/users/Mailaender/gists{/gist_id}","starred_url":"https://api.github.com/users/Mailaender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mailaender/subscriptions","organizations_url":"https://api.github.com/users/Mailaender/orgs","repos_url":"https://api.github.com/users/Mailaender/repos","events_url":"https://api.github.com/users/Mailaender/events{/privacy}","received_events_url":"https://api.github.com/users/Mailaender/received_events","type":"User","site_admin":false},"content_type":"application/zip","state":"uploaded","size":1744103,"download_count":0,"created_at":"2021-09-20T13:33:10Z","updated_at":"2021-09-20T13:33:12Z","browser_download_url":"https://github.com/OpenRA/GeoIP-Database/releases/download/monthly/IP2LOCATION-LITE-DB1.IPV6.BIN.1.ZIP"}],"tarball_url":"https://api.github.com/repos/OpenRA/GeoIP-Database/tarball/monthly","zipball_url":"https://api.github.com/repos/OpenRA/GeoIP-Database/zipball/monthly","body":"Mirrored from download.ip2location.com due to rate limits. This file is licensed under the Creative Commons Attribution-ShareAlike 4.0 International terms.\r\n\r\n\r\n"}}

from pubrel.

cb80 avatar cb80 commented on September 2, 2024

This looks good. There is a valid id in that response which is used in https://github.com/cb80/pubrel/blob/main/src/main.ts#L48. Does your token have the repo scope?

from pubrel.

Mailaender avatar Mailaender commented on September 2, 2024

Screenshot_20210920_221347

from pubrel.

cb80 avatar cb80 commented on September 2, 2024

With the latest release the log now also contains the release ID to be deleted (example at https://github.com/cb80/pubrel/runs/3679045489?check_suite_focus=true). Can you please trigger a new workflow with the default GitHub token?

from pubrel.

Mailaender avatar Mailaender commented on September 2, 2024

https://github.com/OpenRA/GeoIP-Database/runs/3679699735?check_suite_focus=true

from pubrel.

cb80 avatar cb80 commented on September 2, 2024

That workflow was still based on your GEOIP_TOKEN token right? Please remove line https://github.com/OpenRA/GeoIP-Database/blob/master/.github/workflows/geoip.yml#L24 that the workflow runs with the default token.

from pubrel.

Mailaender avatar Mailaender commented on September 2, 2024

Now it works. Was this a configuration error on my end?

from pubrel.

cb80 avatar cb80 commented on September 2, 2024

Looks like your token does not have the required permissions. That could mean that the owner/user of the token either does not have them, or the scope of the token restricts them, or both.

from pubrel.

Mailaender avatar Mailaender commented on September 2, 2024

It was on the service user @orabot which used to work. I guess someone accidentally revoked access. I thought this was an API change and this action had to adapt to it. Sorry, if the error message were more conclusive, I wouldn't have bothered you. Thanks for the help!

from pubrel.

cb80 avatar cb80 commented on September 2, 2024

Please star pubrel if you are happy with it.

from pubrel.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.