Skip to content
New issue

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

Error: Personal access tokens with fine grained access do not support the GraphQL API #17

Open
sbal5488 opened this issue Feb 3, 2023 · 1 comment

Comments

@sbal5488
Copy link

sbal5488 commented Feb 3, 2023

this is my work flow file, when i execute this, am getting the below error. I dont find where to give GraphQL access. I have pretty much given all access to my token. Please suggest
Error: Personal access tokens with fine grained access do not support the GraphQL API

  • name: Perform CodeQL Analysis
    uses: github/codeql-action/analyze@v2
    with:
    category: /language:${{matrix.language}}
    • name: Generate Security Report
      uses: peter-murray/github-security-report-action@v2
      with:
      token: ${{ secrets.SECURITY_TOKEN }}
      outputDir: ${{ github.workspace }}/security-report
@peter-murray
Copy link
Owner

This should be working as of now, https://github.blog/changelog/2023-04-27-graphql-improvements-for-fine-grained-pats-and-github-apps/ as the PAT v2 tokens can work with the GraphQL API.

There is a new branch vnext that has a few other changes in it that fix some older API issues, and will be merged in to main soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants