github / github/codeql

Code scanning doesn't run on pull request in organization repo

Open
#19,698 11 comments 0 reactions 1 assignee Claimed by @mbg View on GitHub
question
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

**Description of the issue**

[Our repo](https://github.com/OpenUp-LabTakizawa/robopo) uses `GitHub Actions` and `JavaScript / TypeScript` CodeQL default configuration.

![Image](https://github.com/user-attachments/assets/08a13d87-c7f2-4cd1-ae7b-34dd0a714861)

In addition, these events will trigger by push and pull request.

![Image](https://github.com/user-attachments/assets/293c2576-775e-481b-9907-224aa32a3126)

However, the Code scanning doesn't run in [this part1 pull request](https://github.com/OpenUp-LabTakizawa/robopo/pull/76).

![Image](https://github.com/user-attachments/assets/d9755919-f9da-4c76-8af5-72a170d1ee04)

The [part2](https://github.com/OpenUp-LabTakizawa/robopo/pull/77) and [part3](https://github.com/OpenUp-LabTakizawa/robopo/pull/78) aren't scanned, either.

On the other hand, [the part4](https://github.com/OpenUp-LabTakizawa/robopo/pull/81) pull request got [the CodeQL scan result](https://github.com/OpenUp-LabTakizawa/robopo/pull/81/checks?check_run_id=43688488990).

Moreover, the code scanning works correctly on every push events.

Why doesn't the code scanning run on every pull request?

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.