We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This query
query issuetext($owner:String!,$repo:String!,$number:Int!) { repository(owner: $owner, name: $repo) { thisIssue: issue(number: $number) { title bodyText comments(first: 10) { edges { node { bodyText } } } } } }
With these query variables
{ "owner": "meyersbs", "repo": "these-poc", "number": 6 }
Works in the explorer: https://docs.github.com/en/graphql/overview/explorer
However, trying to access owner programmatically with the following fails:
owner
- name: Query for Text uses: octokit/[email protected] id: issue-text env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: query: | query issuetext($owner:String!,$repo:String!,$number:Int!) { repository(owner:$owner,name:$repo) { thisIssue: issue(number:$number) { title bodyText comments(first:10) { edges { node { bodyText } } } } } } number: ${{ github.event.issue.number }} repo: ${{ github.event.repository.name }} owner: ${{ github.event.repository.owner.name }}
The text was updated successfully, but these errors were encountered:
This appears to be a bug in octokit/[email protected] -- possibly an unmatched API endpoint with GraphQL. See octokit/graphql-action#219
octokit/[email protected]
Trying to find a work-around.
Sorry, something went wrong.
No branches or pull requests
This query
With these query variables
Works in the explorer: https://docs.github.com/en/graphql/overview/explorer
However, trying to access
owner
programmatically with the following fails:The text was updated successfully, but these errors were encountered: