AL-Go icon indicating copy to clipboard operation
AL-Go copied to clipboard

[Bug]: HttpError: Resource not accessible by integration

Open ismailhafid1 opened this issue 8 months ago • 2 comments

AL-Go version

7.0

Describe the issue

this error started showing randomly , i fixed it this morning but started appearing again and forgot how i fixed it .. Create Release returns this error :HttpError: Resource not accessible by integration .

here is the first time i got this error :

logs_37639894030.zip

after fixing the bug :

logs_37664761398.zip

the bug started appearing again :

logs_37696406478.zip

Expected behavior

Release Created

Steps to reproduce

i don't know how to reproduce it

Additional context (logs, screenshots, etc.)

No response

ismailhafid1 avatar Apr 25 '25 17:04 ismailhafid1

closed the issue by accident , i need to know the cause of this issue , Thanks

ismailhafid1 avatar Apr 25 '25 18:04 ismailhafid1

This happens if you are creating a release in a repository, where you have pushed one or more commit's since the latest successful build and you did NOT check the use GhTokenWorkflow for PR/Commit.

Due to this security change in GitHub some time ago: https://github.blog/changelog/2023-11-02-github-actions-enforcing-workflow-scope-when-creating-a-release/

So two ways of fixing this:

  1. Run a CI/CD build and wait for completion before creating a release.
  2. Check the use GhTokenWorkflow for PR/Commit when creating a release.

We will use this bug to make a better error message for this situation.

freddydk avatar Apr 26 '25 04:04 freddydk