You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am observing an error running codechecks in Github Actions - Provider should never be in fork mode and not in PR mode!
It appears as if there is a false positive as the PR is not coming from a fork. The code is here:
I am observing an error running
codechecks
in Github Actions -Provider should never be in fork mode and not in PR mode!
It appears as if there is a false positive as the PR is not coming from a fork. The code is here:
monorepo/packages/client/src/getExecutionContext.ts
Lines 20 to 25 in 13986fe
For Github actions,
!pr
is always truemonorepo/packages/client/src/ci-providers/GithubActions.ts
Lines 14 to 16 in ba52ad8
And
isFork
is always true becauseGITHUB_HEAD_REF
is set for PRs submitted from the same repo. See the docs here: https://docs.github.com/en/actions/reference/environment-variablesmonorepo/packages/client/src/ci-providers/GithubActions.ts
Lines 27 to 31 in ba52ad8
Perhaps there is a better way to determine there the PR is coming from a fork, will update if I determine a good solution
The text was updated successfully, but these errors were encountered: