Skip to content

Clarify required permissions #187

Open

Description

@danielwerg

Getting this error in my new repo.
https://github.com/danielwerg/r6data/actions/runs/4244636478

Not sure what changed because I'm using same exact workflow I have in r6api.js repo and it worked just fine 8 months ago (see: https://github.com/danielwerg/r6api.js/actions/runs/2579219273)

Am I missing something?

Activity

  1. EndBug commented on Feb 23, 2023

    @EndBug
    Owner

    I just had the same issue in one of my repos
    It's caused by the fact that now new repositories use the restricted access permissions by default.
    You need to either set the access to permissive in the Actions settings of your repo, or, add this permission to the workflow file:

    permissions:
      issues: write

    I'll update the examples in the docs accordingly

  2. changed the title [-]403 Resource not accessible by integration[/-] [+]Document default token permissions[/+] on Feb 23, 2023
  3. github-actions commented on Mar 16, 2023

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  4. added
    status: pinnedShould not be labeled as stale
    and removed on Mar 16, 2023
  5. linked a pull request that will close this issuedocs: document required token permissions #192on Mar 16, 2023
  6. danielwerg commented on Jul 20, 2023

    @danielwerg
    ContributorAuthor
  7. EndBug commented on Jul 20, 2023

    @EndBug
    Owner

    @danielwerg I can't reproduce the issue on another repo 👀
    https://github.com/EndBug/labels-test/actions/runs/5609905279/workflow

    I've also tried re-running on r6api.js but it still fails...

    What are your settings in https://github.com/danielwerg/r6api.js/settings/actions? Maybe you have disabled something?

  8. danielwerg commented on Jul 20, 2023

    @danielwerg
    ContributorAuthor

    @EndBug

    Doesn't workflow file with

    permissions:
      issues: write

    suppose to overwrite that?

  9. EndBug commented on Jul 20, 2023

    @EndBug
    Owner

    @danielwerg No that part is fine, what about the first item of the page, "Actions permissions"?

  10. danielwerg commented on Jul 20, 2023

    @danielwerg
    ContributorAuthor
  11. changed the title [-]Document default token permissions[/-] [+]Clarify required permissions[/+] on Jul 22, 2023
  12. added
    type: bugVerified problems that need to be worked on
    on Jul 22, 2023
  13. self-assigned this
    on Jul 22, 2023
  14. EndBug commented on Jul 22, 2023

    @EndBug
    Owner

    Hey @danielwerg so honestly I'm super confused, so I've escalated this to the GitHub community discussions, maybe someone else has a better understanding of the issue. In the meanwhile, I'll reopen this issue in the repo

    https://github.com/orgs/community/discussions/61510

    Thanks for reporting 💖

  15. reopened this on Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

status: pinnedShould not be labeled as staletype: bugVerified problems that need to be worked ontype: docsDocumentation changes

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions