Skip to content

chore: add security scanning and release automation - #29

Merged
damingishere-coder merged 15 commits into
mainfrom
chore/release-security-round-3
Aug 3, 2026
Merged

chore: add security scanning and release automation#29
damingishere-coder merged 15 commits into
mainfrom
chore/release-security-round-3

Conversation

@damingishere-coder

@damingishere-coder damingishere-coder commented Aug 3, 2026

Copy link
Copy Markdown
Owner

目标

完成 AI-JobPilot 第三轮开源仓库优化:让仓库具备更强的安全证明、扩展与 Docker 校验、可重复的 Release 打包流程,以及清晰的下载与版本说明。

本次改动

安全与 CI

  • 新增 CodeQL 工作流
    • Java / Kotlin
    • JavaScript / TypeScript
    • security-extended 查询
  • CI 新增 Chrome 扩展校验
    • Manifest V3
    • 版本号
    • 引用文件存在性
    • JavaScript 语法
  • CI 新增 Docker 配置校验
    • docker compose config --quiet
    • Dockerfile 必要阶段检查
  • 将 CI 使用的 GitHub Actions 升级到 Node 24 运行时版本
  • 修复 GitHub Runner 未提供 HOSTNAME 导致的 Playwright Profile Lock 测试误判
  • 后端测试失败时仅输出失败的 JUnit XML,并保留 7 天测试报告 Artifact

Release

  • 新增 Git 标签驱动的 Release 工作流
  • 自动执行前端 lint / build、后端测试与 bootJar
  • 自动生成:
    • 后端 JAR
    • Chrome 扩展 ZIP
    • 前端静态 ZIP
    • 源码 ZIP
    • SHA256SUMS.txt
  • 手动运行和 Release 工作流 PR 只生成 14 天预览 Artifact,不直接公开发布
  • 推送 v*.*.* 标签时才创建 GitHub Release
  • 新增 Release Notes 分类配置

文档与主页

  • 中英文 README 增加 CI、CodeQL、Release 徽章
  • 增加下载与版本说明,明确当前产物仍是技术预览包
  • 新增 docs/releases.md
  • 文档中心增加 Release 与自动化工作流导航
  • 安全文档增加自动化检查和 Release 数据边界
  • CHANGELOG 记录第二、三轮仓库治理成果

安全边界

  • 不包含真实简历、Cookie、Token、API Key、数据库或 Chrome Profile
  • Release 由 Git 仓库内容和 CI 构建产物生成
  • 不将当前产物宣传为免开发环境的一键 Windows 安装器
  • 不修改业务代码、数据库结构或招聘平台自动化行为

关联 Issue

验证结果

  • 分支基于最新 main
  • 仅修改仓库治理、工作流、脚本和文档
  • 保留人工确认与平台合规边界
  • Release 不打包本地运行数据
  • CI:Backend、Frontend、Chrome Extension、Docker Configuration 全部通过
  • CodeQL:Java / Kotlin、JavaScript / TypeScript 全部通过
  • Release 预览打包通过
  • 已生成 AI-JobPilot-v0.0.0-pr29 预览 Artifact 和 SHA256 摘要

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@damingishere-coder
damingishere-coder merged commit 3de82dc into main Aug 3, 2026
8 checks passed
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.

2 participants