Skip to content

CI: Add CodeQL workflow for GitHub Actions security scanning#15348

Merged
kevinjqliu merged 6 commits intoapache:mainfrom
kevinjqliu:kevinjqliu/codeql
Feb 22, 2026
Merged

CI: Add CodeQL workflow for GitHub Actions security scanning#15348
kevinjqliu merged 6 commits intoapache:mainfrom
kevinjqliu:kevinjqliu/codeql

Conversation

@kevinjqliu
Copy link
Copy Markdown
Contributor

@kevinjqliu kevinjqliu commented Feb 17, 2026

This adds a CodeQL workflow to scan GitHub Actions workflow files for security issues such as script injection, use of untrusted input, and other misconfigurations.

Reference: https://github.blog/security/application-security/how-to-secure-your-github-actions-workflows-with-codeql/

Triggers:

  • Push and PR to main
  • Weekly scheduled scan (Mondays at 4:16 UTC)

This is based on Apache Infra recommendation,

IMPORTANT! You should enable CodeQL "actions" scanning in your repositories as described in https://github.blog/security/application-security/how-to-secure-your-github-actions-workflows-with-codeql/ - this will scan and flag those issues described below and many more automatically for you

@github-actions github-actions Bot added the INFRA label Feb 17, 2026
@github-advanced-security
Copy link
Copy Markdown

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@kevinjqliu kevinjqliu changed the title Add CodeQL workflow for security scanning CI: Add CodeQL workflow for GitHub Actions security scanning Feb 17, 2026
Comment thread .github/workflows/codeql.yml
Copy link
Copy Markdown
Contributor

@huaxingao huaxingao left a comment

Choose a reason for hiding this comment

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

LGTM

Comment thread .github/workflows/codeql.yml
@kevinjqliu kevinjqliu merged commit 3dcacfe into apache:main Feb 22, 2026
34 checks passed
@kevinjqliu kevinjqliu deleted the kevinjqliu/codeql branch February 22, 2026 19:47
RjLi13 pushed a commit to RjLi13/iceberg that referenced this pull request Mar 12, 2026
talatuyarer pushed a commit to talatuyarer/iceberg that referenced this pull request Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants