Skip to content

CodeQL GitHub Action works on upstream but not on fork #3799

@Vampire

Description

@Vampire

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions