Skip to content

Document required github token permissions聽#199

Description

I'm getting this error on the changes version step.

We have escaped applying the changesets, and no files should have been affected
[50](https://abc/runs/74472656?check_suite_focus=true#step:9:51)
馃  error Error: An error occurred when fetching data from GitHub
[51](https://abc/runs/74472656?check_suite_focus=true#step:9:52)
馃  error [
[52](https://abc/runs/74472656?check_suite_focus=true#step:9:53)
馃  error   {
[53](https://abc/runs/74472656?check_suite_focus=true#step:9:54)
馃  error     "type": "FORBIDDEN",
[54](https://abc/runs/74472656?check_suite_focus=true#step:9:55)
馃  error     "path": [
[55](https://abc/runs/74472656?check_suite_focus=true#step:9:56)
馃  error       "a0",
[56](https://abc/runs/74472656?check_suite_focus=true#step:9:57)
馃  error       "a4bd5548",
[57](https://abc/runs/74472656?check_suite_focus=true#step:9:58)
馃  error       "associatedPullRequests",
[58](https://abc/runs/74472656?check_suite_focus=true#step:9:59)
馃  error       "nodes",
[59](https://abc/runs/74472656?check_suite_focus=true#step:9:60)
馃  error       0
[60](https://abc/runs/74472656?check_suite_focus=true#step:9:61)
馃  error     ],
[61](https://abc/runs/74472656?check_suite_focus=true#step:9:62)
馃  error     "extensions": {
[62](https://abc/runs/74472656?check_suite_focus=true#step:9:63)
馃  error       "saml_failure": false
[63](https://abc/runs/74472656?check_suite_focus=true#step:9:64)
馃  error     },
[64](https://abc/runs/74472656?check_suite_focus=true#step:9:65)
馃  error     "locations": [
[65](https://abc/runs/74472656?check_suite_focus=true#step:9:66)
馃  error       {
[66](https://abc/runs/74472656?check_suite_focus=true#step:9:67)
馃  error         "line": 11,
[67](https://abc/runs/74472656?check_suite_focus=true#step:9:68)
馃  error         "column": 15
[68](https://abc/runs/74472656?check_suite_focus=true#step:9:69)
馃  error       }
[69](https://abc/runs/74472656?check_suite_focus=true#step:9:70)
馃  error     ],
[70](https://abc/runs/74472656?check_suite_focus=true#step:9:71)
馃  error     "message": "Resource not accessible by integration"
[71](https://abc/runs/74472656?check_suite_focus=true#step:9:72)
馃  error   }
[72](https://abc/runs/74472656?check_suite_focus=true#step:9:73)
馃  error ]

Activity

  1. ghost changed the title [-]Error: [/-] [+]Error: Resource not accessible by integration[/+] on Jul 21, 2022
  2. remorses commented on Mar 21, 2024

    @remorses

    Add permissions to your default github token:

    jobs:
        release:
            name: Release
            runs-on: ubuntu-latest
            permissions:
                contents: write
                pull-requests: write

    And enable this in your repo or org settings
    Screenshot 2024-03-21 at 14 42 12

  3. pnicolli commented on Aug 18, 2025

    @pnicolli

    Add permissions to your default github token:

    jobs:
    release:
    name: Release
    runs-on: ubuntu-latest
    permissions:
    contents: write
    pull-requests: write
    And enable this in your repo or org settings Screenshot 2024-03-21 at 14 42 12

    As of today, this solution works well

  4. added a commit that references this issue on Dec 17, 2025
  5. changed the title [-]Error: Resource not accessible by integration[/-] [+]Document required github token permissions[/+] on May 15, 2026
  6. added theissue type on May 15, 2026
  7. bluwy commented on Sep 4, 2026

    @bluwy
    Member

    Similar to #220, we have now documented it like this

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions