chore(deps): bump anchore/scan-action from 5.0.0 to 5.1.0 #1115
release-drafter.yml
on: pull_request
  
    
      update_release_draft
    
          
              27s
          
      Annotations
2 errors
          | 
                      
                          update_release_draft
                        
                      
                       Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
  name: 'HttpError',
  id: '11450107433',
  status: 422,
  response: {
    url: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/releases/131397745',
    status: 422,
    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-length': '210',
      'content-security-policy': "default-src 'none'",
      'content-type': 'application/json; charset=utf-8',
      date: 'Mon, 21 Oct 2024 23:10:19 GMT',
      'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
      server: 'github.com',
      'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
      vary: 'Accept-Encoding, Accept, X-Requested-With',
      'x-accepted-github-permissions': 'contents=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': '45C3:12DD84:1A44A04:324E1EE:6716DF5B',
      'x-ratelimit-limit': '5000',
      'x-ratelimit-remaining': '4986',
      'x-ratelimit-reset': '1729555793',
      'x-ratelimit-resource': 'core',
      'x-ratelimit-used': '14',
      'x-xss-protection': '0'
    },
    data: {
      message: 'Validation Failed',
      errors: [
        {
          resource: 'Release',
          code: 'invalid',
          field: 'target_commitish'
        }
      ],
      documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release',
      status: '422'
    }
  },
  request: {
    method: 'PATCH',
    url: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/releases/131397745',
    headers: {
      accept: 'application/vnd.github.v3+json',
      'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)',
      authorization: 'token [REDACTED]',
      'content-type': 'application/json; charset=utf-8'
    },
    body: '{"body":"## Changes\\n\\n- Bump Gitpod version to 2024-10-21-06-09-42 @github-actions (#712)\\n- chore(jenkins): Updates Jenkins plugins @gounthar (#710)\\n- Bump Debian Bookworm Linux version to bookworm-20241016 @github-actions (#707)\\n- chore(jenkins): Updates Jenkins plugins @gounthar (#706)\\n- chore(jenkins): Updates Jenkins plugins @gounthar (#703)\\n- chore(jenkins): Updates Jenkins plugins @gounthar (#701)\\n- chore(deps): bump anchore/scan-action from 4.1.2 to 5.0.0 @dependabot (#700)\\n- chore(jenkins): Updates Jenkins plugins @gounthar (#699)\\n- Bump Gitpod version to 2024-10-09-07-24-05 @github-actions (#695)\\n- chore(jenkins): Updates Jenkins plugins @gounthar (#694)\\n- chore(jenkins): Updates Jenkins plugins @gounthar (#692)\\n- chore(jenkins): Updates Jenkins plugins @gounthar (#688)\\n- Bump Gitpod version to 2024-10-06-12-03-21 @github-actions (#687)\\n- Bump Gitpod version to 2024-10-03-07-27-03 @github-actions (#685)\\n- chore(jenkins): Updates Jenkins plugins @gounthar (#684)\\n- chore(jenkins): Updates Jenkins plugins @gounthar (#681)\\n- Bump golang version to 1.23.2 @github-actions (#675)\\n- Bump Gitpod version to 2024-10-02-10-19-08 @github-actions (#674)\\n- Update Jenkins LTS versions to 2.462.3 in the controller Dockerfile @github-actions (#676)\\n- chore(jenkins): Updates Jenkins plugins @gounthar (#673)\\n- chore(deps): bump updatecli/updatecli-action from 2.67.0 to 2.68.0 @dependabot (#670)\\n- Bump Debian Bookworm Linux version to bookworm-20240926 @github-actions (#666)\\n- chore(jenkins): Updates Jenkins plugins @gounthar (#665)\\n- Bump ssh-agent version to 5.48.0 @github-actions (#663)\\n- chore(deps): bump jenkins/ssh-agent from 5.47.0 to 5.48.0 in /dockerfiles/maven  | 
| 
                      
                          update_release_draft
                        
                      
                       HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
        at /home/runner/work/_actions/release-drafter/release-drafter/v6/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/v6/dist/index.js:30793:18)
{
  name: 'AggregateError',
  event: {
    id: '11450107433',
    name: 'pull_request',
    payload: {
      action: 'opened',
      number: 714,
      organization: {
        avatar_url: 'https://avatars.githubusercontent.com/u/24830755?v=4',
        description: 'Collection of docs, tutorials and relevant repositories',
        events_url: 'https://api.github.com/orgs/jenkins-docs/events',
        hooks_url: 'https://api.github.com/orgs/jenkins-docs/hooks',
        id: 24830755,
        issues_url: 'https://api.github.com/orgs/jenkins-docs/issues',
        login: 'jenkins-docs',
        members_url: 'https://api.github.com/orgs/jenkins-docs/members{/member}',
        node_id: 'MDEyOk9yZ2FuaXphdGlvbjI0ODMwNzU1',
        public_members_url: 'https://api.github.com/orgs/jenkins-docs/public_members{/member}',
        repos_url: 'https://api.github.com/orgs/jenkins-docs/repos',
        url: 'https://api.github.com/orgs/jenkins-docs'
      },
      pull_request: {
        _links: {
          comments: {
            href: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/issues/714/comments'
          },
          commits: {
            href: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/pulls/714/commits'
          },
          html: {
            href: 'https://github.com/jenkins-docs/quickstart-tutorials/pull/714'
          },
          issue: {
            href: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/issues/714'
          },
          review_comment: {
            href: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/pulls/comments{/number}'
          },
          review_comments: {
            href: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/pulls/714/comments'
          },
          self: {
            href: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/pulls/714'
          },
          statuses: {
            href: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/statuses/c0b5ac5fdface0a7e1ede8b9310fd6a0edbe781e'
          }
        },
        active_lock_reason: null,
        additions: 1,
        assignee: null,
        assignees: [],
        author_association: 'CONTRIBUTOR',
        auto_merge: null,
        base: {
          label: 'jenkins-docs:main',
          ref: 'main',
          repo: {
            allow_auto_merge: true,
            allow_forking: true,
            allow_merge_commit: true,
            allow_rebase_merge: true,
            allow_squash_merge: true,
            allow_update_branch: true,
            archive_url: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/{archive_format}{/ref}',
            archived: false,
            assignees_url: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/assignees{/user}',
            blobs_url: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/git/blobs{/sha}',
            branches_url: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/branches{/branch}',
            clone_url: 'https://github.com/jenkins-docs/quickstart-tutorials.git',
            collaborators_url: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/collaborators{/collaborator}',
            comments_url: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/comments{/number}',
            commits_url: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/commits{/sha}',
            compare_url: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/compare/{base}...{head}',
            contents_url: 'https://api.github.com/repos/jenkins-docs/quickstart-tutorials/contents/{+path |