GitHub-Action: Resource Not Accessible By Integration
Issue
I ran into this issue when creating my first GitHub Actions release using actions@create-release
.
Cause
When you delete a repository and recreate it with the same name, it is possible that some settings or permissions related to the integration (GitHub Actions) are not properly updated.
Solution
Enable the workflow integration.
Go to the repository’s settings, navigate to the “Actions” and select “General”
Scroll down to the “Workflow permissions”, select “Read and write permissions”, then click “Save”. This can help refresh the integration’s access to the repository.
This post is licensed under CC BY 4.0 by the author.