Poeschl / Hassio-Addons

The repository for my Home Assistant Supervisor Add-ons.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Creating issues results in "[Poeschl/Hassio-Addons] Run failed: Issue Labeler - main" emails

reedy opened this issue · comments

Which addon?
n/a

Describe the bug
When you create an issue, the GH action has issues and sends multiple "Run failed: Issue Labeler - main" emails

https://github.com/Poeschl/Hassio-Addons/actions/runs/5991071856
https://github.com/Poeschl/Hassio-Addons/actions/runs/5991040103/job/16248983453

shows two warnings:

Warning: Unexpected input(s) 'not-before', valid inputs are ['repo-token', 'configuration-path', 'enable-versioned-regex']

then an error further down...

Removing label pixelflut from issue #414
/home/runner/work/_actions/github/issue-labeler/v2.3/node_modules/@octokit/request/dist-node/index.js:66
        const error = new requestError.RequestError(message, status, {
                      ^

RequestError [HttpError]: Label does not exist
    at /home/runner/work/_actions/github/issue-labeler/v2.3/node_modules/@octokit/request/dist-node/index.js:66:23
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  status: 404,
  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: 'Sun, 27 Aug 2023 12:53:36 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-oauth-scopes': '',
    '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': '1026:18BC:A7E2E:156B6F:64EB4750',
    'x-oauth-scopes': 'repo, workflow, write:packages',
    'x-ratelimit-limit': '5000',
    'x-ratelimit-remaining': '4997',
    'x-ratelimit-reset': '1693144416',
    'x-ratelimit-resource': 'core',
    'x-ratelimit-used': '3',
    'x-xss-protection': '0'
  },
  request: {
    method: 'DELETE',
    url: 'https://api.github.com/repos/Poeschl/Hassio-Addons/issues/414/labels/rsync-local',
    headers: {
      accept: 'application/vnd.github.v3+json',
      'user-agent': 'octokit.js/16.43.2 Node.js/16.20.1 (Linux 5.15; x64)',
      authorization: 'token [REDACTED]',
      'content-length': 0
    },
    request: {
      hook: [Function: bound bound register],
      validate: {
        issue_number: { required: true, type: 'integer' },
        name: { required: true, type: 'string' },
        number: { alias: 'issue_number', deprecated: true, type: 'integer' },
        owner: { required: true, type: 'string' },
        repo: { required: true, type: 'string' }
      }
    }
  },
  documentation_url: 'https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue'
}

To Reproduce

  1. Create an issue
  2. Check email

Expected behavior

No error email

Screenshots
Screenshot 2023-08-27 at 14 09 15

Screenshot 2023-08-27 at 14 18 14

Possibly related to github/issue-labeler#24 (and therefore hopefully fixed by #417)

Tags (other than bug) are completely wrong on this task too