Skip to content

Add CodeQL analysis workflow configuration - #3254

Open
parvezmosharafvu wants to merge 27 commits into
github:mainfrom
parvezmosharafvu:main
Open

Add CodeQL analysis workflow configuration#3254
parvezmosharafvu wants to merge 27 commits into
github:mainfrom
parvezmosharafvu:main

Conversation

@parvezmosharafvu

Copy link
Copy Markdown

This workflow file sets up CodeQL analysis for the repository, defining triggers for push and pull request events, as well as a scheduled run. It includes a matrix for different programming languages and their respective build modes.

Summary

Why

Fixes #

What changed

MCP impact

  • No tool or API changes
  • Tool schema or behavior changed
  • New tool added

Prompts tested (tool changes only)

Security / limits

  • No security or limits impact
  • Auth / permissions considered
  • Data exposure, filtering, or token/size limits considered

Tool renaming

  • I am renaming tools as part of this PR (e.g. a part of a consolidation effort)
    • I have added the new tool aliases in deprecated_tool_aliases.go
  • I am not renaming tools as part of this PR

Note: if you're renaming tools, you must add the tool aliases. For more information on how to do so, please refer to the official docs.

Lint & tests

  • Linted locally with ./script/lint
  • Tested locally with ./script/test

Docs

  • Not needed
  • Updated (README / docs / examples)

dependabot Bot and others added 18 commits September 2, 2026 20:45
Bumps the npm_and_yarn group with 1 update in the /ui directory: [fast-uri](https://github.com/fastify/fast-uri).


Updates `fast-uri` from 3.1.5 to 3.1.7
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](fastify/fast-uri@v3.1.5...v3.1.7)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.7
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
…i/npm_and_yarn-8839a8980a

build(deps): bump fast-uri from 3.1.5 to 3.1.7 in /ui in the npm_and_yarn group across 1 directory
…dates

Bumps the npm_and_yarn group with 2 updates in the /ui directory: [browserslist](https://github.com/browserslist/browserslist) and [qs](https://github.com/ljharb/qs).


Updates `browserslist` from 4.28.2 to 4.28.8
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](browserslist/browserslist@4.28.2...4.28.8)

Updates `qs` from 6.15.2 to 6.16.0
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.15.2...v6.16.0)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-version: 4.28.8
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: qs
  dependency-version: 6.16.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
…i/npm_and_yarn-a2d8580c03

build(deps): bump the npm_and_yarn group across 1 directory with 2 updates
Bumps node from `e88a35b` to `2d984a1`.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 26-alpine
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps golang from 1.27.0-alpine to 1.27.1-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-version: 1.27.1-alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
This workflow file sets up CodeQL analysis for the repository, defining triggers for push and pull request events, as well as a scheduled run. It includes a matrix for different programming languages and their respective build modes.
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.55.0 to 0.58.0.
- [Commits](golang/net@v0.55.0...v0.58.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.58.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Auto-generated by license-check workflow
…ang.org/x/net-0.58.0

build(deps): bump golang.org/x/net from 0.55.0 to 0.58.0
…1.27.1-alpine

build(deps): bump golang from 1.27.0-alpine to 1.27.1-alpine
…984a1

build(deps): bump node from `e88a35b` to `2d984a1`
@parvezmosharafvu
parvezmosharafvu requested a review from a team as a code owner September 9, 2026 17:31

@kvnsosa kvnsosa left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IDOR approval test

@kvnsosa kvnsosa left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Direct REST test - DELETE THIS

@kvnsosa kvnsosa left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

REST API direct approve test

@parvezmosharafvu parvezmosharafvu left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve

@parvezmosharafvu parvezmosharafvu left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve

dependabot Bot and others added 3 commits September 10, 2026 01:24
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.36.0 to 0.37.0.
- [Commits](golang/oauth2@v0.36.0...v0.37.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-version: 0.37.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Auto-generated by license-check workflow
Bumps node from `2d984a1` to `ef24c50`.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 26-alpine
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

@parvezmosharafvu parvezmosharafvu left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve

…ang.org/x/oauth2-0.37.0

build(deps): bump golang.org/x/oauth2 from 0.36.0 to 0.37.0
Copilot AI balanced review requested due to automatic review settings September 10, 2026 03:52
…f24c50

build(deps): bump node from `2d984a1` to `ef24c50`

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

It duplicates existing CodeQL scanning and includes unexplained dependency and toolchain upgrades outside the stated scope.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds a generic CodeQL workflow alongside the repository’s existing customized scanner, while also updating unrelated toolchains and dependencies.

Changes:

  • Adds scheduled and event-driven CodeQL analysis.
  • Upgrades Go and transitive dependencies.
  • Refreshes license reports, npm lockfile entries, and the Node image.
File summaries
File Description
.github/workflows/codeql.yml Adds a second CodeQL workflow.
go.mod Raises Go version and dependencies.
go.sum Updates dependency checksums.
Dockerfile Updates the Node image digest.
ui/package-lock.json Updates transitive npm packages.
third-party-licenses.darwin.md Refreshes Darwin dependency versions.
third-party-licenses.linux.md Refreshes Linux dependency versions.
third-party-licenses.windows.md Refreshes Windows dependency versions.
Review details

Files not reviewed (1)

  • ui/package-lock.json: Generated file
  • Files reviewed: 6/8 changed files
  • Comments generated: 2
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/codeql.yml
Comment thread go.mod
module github.com/github/github-mcp-server

go 1.25.12
go 1.26.0
Copilot AI and others added 3 commits September 10, 2026 03:57
Co-authored-by: parvezmosharafvu <308653838+parvezmosharafvu@users.noreply.github.com>
…lure

Fix lint workflow for Go 1.26 and suppress repo-wide newexpr noise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants