By default, the GITHUB_TOKEN may not have sufficient access to download artifacts, especially if your repository settings use the "Read repository contents and packages" restricted default.
A common cause of failure in modern workflows is mixing major versions of the artifact actions. introduced a completely new architecture that is incompatible with v3 and below.
If you use actions/upload-artifact@v4 , you must use actions/download-artifact@v4 .
Attempting to download a v4 artifact with a v3 action often results in "Resource not accessible by integration" or general permission errors. 3. Filesystem & Execution Permissions Use GITHUB_TOKEN for authentication in workflows
Ensure your repository is configured to allow these permissions. Navigate to Settings > Actions > General and ensure "Workflow permissions" is set to "Read and write permissions" or specifically allows actions to access resources. 2. Match Upload and Download Versions
You can resolve this by adding an explicit permissions block to your workflow or specific job: