Resource not accessible by integration
GitHub Private Repository Problem: Error - Resource not accessible by integration
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 ):
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.