octokit / request-action

A GitHub Action to send arbitrary requests to GitHub's REST API
https://github.com/marketplace/actions/GitHub-API-Request
MIT License
369 stars 48 forks source link

Search issue with query #135

Closed KodaCHC closed 2 years ago

KodaCHC commented 2 years ago

I use this call

      - name: API Call
        uses: octokit/request-action@v2.x
        id: get_issues_newfeatures
        with:
          route: GET /search/issues
          q: 'repo:org/repo'
          per_page: 100

I get this error: Unexpected input(s) 'q', 'per_page', valid inputs are ['route', 'mediaType']

The same if I want to use {org} and {repo}. is it possible to hide the warning?

Fount it. Sorry: https://github.com/octokit/request-action/issues/26