github / github/codeql

CodeQL GitHub Action works on upstream but not on fork

Open
#3,799 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

The upstream https://github.com/spockframework/spock recently enabled the CodeQL GitHub action.
I made a new PR and the analysis was run.
The problem is, on upstream it checked Java and was successful: https://github.com/spockframework/spock/runs/784895802
While in the fork on the same commit it tried to extract JavaScript and failed: https://github.com/Vampire/spock/runs/784926819

Why do these behave different and how to fix it besides restricting the action to only run on upstream?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.