GitHub Private Repository Problem: Error - Resource not accessible by integration

Modified on Thu, 26 Oct, 2023 at 4:22 AM


If you are using a private repository on GitHub and encounter the following error during your pipeline while executing the step "install and configure allurectl" from the sample in the documentation (Configure GitHub workflow):

Resource not accessible by integration

Here's a quick solution:

Check Workflow Permissions

Ensure that you have set the correct value for "Workflow permissions." Follow these steps:

- Navigate to your repository's settings.
- Go to the "Actions" section.
- Under "General," set the "Workflow permissions" to "Read and write permissions."



This adjustment should resolve the issue, allowing your integration to access the necessary resources in your private GitHub repository.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article