Skip to content

[BUG] Query must include 'is:issue' or 'is:pull-request' #926

Open
@piecioshka

Description

@piecioshka

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Regarding doc there is no way to have one query for issue, and PRs, but in logic there is a function called getAllIssuesAndPullRequests. So I don't know how it works :/

Expected Behavior

No response

Steps To Reproduce

  1. Forked repo to https://github.com/piecioshka/statusboard
  2. Due to steps in README
  3. Removed all historical data
  4. Update repoQuery in workspaces/data/lib/config.js
    Screenshot 2025-01-12 at 13 11 06
  5. Run command npm run fetch:maintained -w data - finished sucessful
  6. Run next command npm run fetch:data -w data - finished with error: Query must include 'is:issue' or 'is:pull-request'

Environment

  • npm: 10.9.1
  • Node: v20.12.0
  • OS: macOS
  • platform: Darwin piecioshka-mac.lan 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6030 arm64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions