Fix token command print #311
Annotations
2 errors
          | 
                      
                          Run release-drafter/release-drafter@v5
                        
                      
                       HttpError: Resource not accessible by integration
        at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
  name: 'AggregateError',
  event: {
    id: '18422539988',
    name: 'pull_request',
    payload: {
      action: 'opened',
      number: 227,
      pull_request: {
        _links: {
          comments: {
            href: 'https://api.github.com/repos/benleb/surepy/issues/227/comments'
          },
          commits: {
            href: 'https://api.github.com/repos/benleb/surepy/pulls/227/commits'
          },
          html: { href: 'https://github.com/benleb/surepy/pull/227' },
          issue: {
            href: 'https://api.github.com/repos/benleb/surepy/issues/227'
          },
          review_comment: {
            href: 'https://api.github.com/repos/benleb/surepy/pulls/comments{/number}'
          },
          review_comments: {
            href: 'https://api.github.com/repos/benleb/surepy/pulls/227/comments'
          },
          self: {
            href: 'https://api.github.com/repos/benleb/surepy/pulls/227'
          },
          statuses: {
            href: 'https://api.github.com/repos/benleb/surepy/statuses/991735ded29b7091cea03d9d0bf87c74f655b517'
          }
        },
        active_lock_reason: null,
        additions: 1,
        assignee: null,
        assignees: [],
        author_association: 'CONTRIBUTOR',
        auto_merge: null,
        base: {
          label: 'benleb:dev',
          ref: 'dev',
          repo: {
            allow_auto_merge: false,
            allow_forking: true,
            allow_merge_commit: true,
            allow_rebase_merge: true,
            allow_squash_merge: true,
            allow_update_branch: false,
            archive_url: 'https://api.github.com/repos/benleb/surepy/{archive_format}{/ref}',
            archived: false,
            assignees_url: 'https://api.github.com/repos/benleb/surepy/assignees{/user}',
            blobs_url: 'https://api.github.com/repos/benleb/surepy/git/blobs{/sha}',
            branches_url: 'https://api.github.com/repos/benleb/surepy/branches{/branch}',
            clone_url: 'https://github.com/benleb/surepy.git',
            collaborators_url: 'https://api.github.com/repos/benleb/surepy/collaborators{/collaborator}',
            comments_url: 'https://api.github.com/repos/benleb/surepy/comments{/number}',
            commits_url: 'https://api.github.com/repos/benleb/surepy/commits{/sha}',
            compare_url: 'https://api.github.com/repos/benleb/surepy/compare/{base}...{head}',
            contents_url: 'https://api.github.com/repos/benleb/surepy/contents/{+path}',
            contributors_url: 'https://api.github.com/repos/benleb/surepy/contributors',
            created_at: '2019-03-16T19:07:09Z',
            default_branch: 'dev',
            delete_branch_on_merge: false,
            deployments_url: 'https://api.github.com/repos/benleb/surepy/deployments',
            description: '🐾 Library & CLI to monitor and control the Pet Door & Cat Flap Connect 🚪 the Pet Feeder Connect 🍽 and the Felaqua 💦 sold by Sure Petcare',
            disabled: false,
            downloads_url: 'https://api.github.com/repos/benleb/surepy/downloads',
            events_url: 'https://api.github.com/repos/benleb/surepy/events',
            fork: false,
            forks: 52,
            forks_count: 52,
            forks_url: 'https://api.github.com/repos/benleb/surepy/forks',
            full_name: 'benleb/surepy',
            git_commits_url: 'https://api.github.com/repos/benleb/surepy/git/commits{/sha}',
            git_refs_url: 'https://api.github.com/repos/benleb/surepy/git/refs{/sha}',
            git_tags_url: 'https://api.github.com/repos/benleb/surepy/git/tags{/sha}',
            git_url: 'git://github.com/benleb/surepy.git',
            has_discussions: true,
            has_downloads | 
| 
                      
                          Run release-drafter/release-drafter@v5
                        
                      
                       Resource not accessible by integration
{
  name: 'HttpError',
  id: '18422539988',
  status: 403,
  response: {
    url: 'https://api.github.com/repos/benleb/surepy/releases',
    status: 403,
    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, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
      connection: 'close',
      'content-encoding': 'gzip',
      'content-security-policy': "default-src 'none'",
      'content-type': 'application/json; charset=utf-8',
      date: 'Sat, 11 Oct 2025 01:42:34 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-Encoding, Accept, X-Requested-With',
      'x-accepted-github-permissions': 'contents=write; contents=write,workflows=write',
      'x-content-type-options': 'nosniff',
      'x-frame-options': 'deny',
      'x-github-api-version-selected': '2022-11-28',
      'x-github-media-type': 'github.v3; format=json',
      'x-github-request-id': 'B82E:21AFB3:28242D:B1C935:68E9B60A',
      'x-ratelimit-limit': '5000',
      'x-ratelimit-remaining': '4995',
      'x-ratelimit-reset': '1760150552',
      'x-ratelimit-resource': 'core',
      'x-ratelimit-used': '5',
      'x-xss-protection': '0'
    },
    data: {
      message: 'Resource not accessible by integration',
      documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release',
      status: '403'
    }
  },
  request: {
    method: 'POST',
    url: 'https://api.github.com/repos/benleb/surepy/releases',
    headers: {
      accept: 'application/vnd.github.v3+json',
      'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.19.4 (linux; x64)',
      authorization: 'token [REDACTED]',
      'content-type': 'application/json; charset=utf-8'
    },
    body: '{"target_commitish":"refs/pull/227/merge","name":"","tag_name":"","body":"## 📋 Changelog\\n\\n* Add missing raise (#217) @therefromhere\\n","draft":true,"prerelease":false,"make_latest":"true"}',
    request: {}
  },
  event: {
    id: '18422539988',
    name: 'pull_request',
    payload: {
      action: 'opened',
      number: 227,
      pull_request: {
        _links: {
          comments: {
            href: 'https://api.github.com/repos/benleb/surepy/issues/227/comments'
          },
          commits: {
            href: 'https://api.github.com/repos/benleb/surepy/pulls/227/commits'
          },
          html: { href: 'https://github.com/benleb/surepy/pull/227' },
          issue: {
            href: 'https://api.github.com/repos/benleb/surepy/issues/227'
          },
          review_comment: {
            href: 'https://api.github.com/repos/benleb/surepy/pulls/comments{/number}'
          },
          review_comments: {
            href: 'https://api.github.com/repos/benleb/surepy/pulls/227/comments'
          },
          self: {
            href: 'https://api.github.com/repos/benleb/surepy/pulls/227'
          },
          statuses: {
            href: 'https://api.github.com/repos/benleb/surepy/statuses/991735ded29b7091cea03d9d0bf87c74f655b517'
          }
        },
        active_lock_reason: null,
        additions: 1,
        assignee: null,
        assignees: [],
        author_association: 'CONTRIBUTOR',
        auto_merge: null,
        base: {
          label: 'benleb:dev',
          ref: 'dev',
          repo: {
            allow_auto_merge: false,
            allow_forking: true,
            allow_merge_commit: true,
            allow_rebase_merge: true,
            allow_squash_merge: true,
            allow_update_branch: false,
            archive_url: 'https://api.github.com/repos/benleb/surepy/{archive_format}{/ref}',
            archi | 
        
      Loading