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

HttpError: Resource not accessible by integration #185

Closed
LukasWallrich opened this issue Jul 8, 2024 · 3 comments
Closed

HttpError: Resource not accessible by integration #185

LukasWallrich opened this issue Jul 8, 2024 · 3 comments

Comments

@LukasWallrich
Copy link

Thanks for this very promising tool - but I currently don't manage to set it up. Could you help me to identify whats going wrong here?

https://github.com/forrtproject/forrtproject.github.io/actions/runs/9842531466/job/27171653749

image

@steveoh
Copy link
Member

steveoh commented Jul 8, 2024

That looks like the code that adds a label... Do you have an issue label named reminder?

It appears we don't document this and it may be a bug on our part that we should try and add the label when it exists and pop a warning to create it if it doesn't.

await octokit.rest.issues.addLabels({
    ...getIssueProps(context),
    labels: [LABEL],
  });
  core.endGroup();

@steveoh
Copy link
Member

steveoh commented Jul 10, 2024

The issue here is that your workflow didn't have permission to edit a pull request. Our example only showed for issues. We've updated the docs and there should be a pr to fix your issue. Thanks for bringing this up!

@LukasWallrich
Copy link
Author

Thank you very much! Super helpful.

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