Skip to content

fix(ci): resolve CodeQL failures and suppress AI co-author trailers#9

Merged
sanmak merged 1 commit intomainfrom
fix/resolve-codeql-failures-suppress-ai-coauthor
Mar 15, 2026
Merged

fix(ci): resolve CodeQL failures and suppress AI co-author trailers#9
sanmak merged 1 commit intomainfrom
fix/resolve-codeql-failures-suppress-ai-coauthor

Conversation

@sanmak
Copy link
Owner

@sanmak sanmak commented Mar 15, 2026

Summary

  • Bump actions/checkout v4 → v6 across all workflows (ci, codeql, release) — supersedes build(deps): bump actions/checkout from 4 to 6 #8
  • Bump github/codeql-action v3 → v4 — supersedes build(deps): bump github/codeql-action from 3 to 4 #7
  • Fix CodeQL language from javascript-typescript to actions (repo has no JS/TS source code, causing the "Analyze" check to fail on both Dependabot PRs)
  • Suppress AI co-author trailers in commit messages — adds explicit directive to the stage-and-commit skill ensuring commits are attributed solely to the system's git user unless commit.coAuthor is configured

Test plan

- Bump actions/checkout v4 → v6 across all workflows (supersedes PR #8)
- Bump github/codeql-action v3 → v4 (supersedes PR #7)
- Change CodeQL language from javascript-typescript to actions (repo has no JS/TS)
- Add explicit directive to suppress AI assistant Co-Authored-By trailers in commits
Copilot AI review requested due to automatic review settings March 15, 2026 10:02
@github-advanced-security
Copy link

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.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates ShipKit’s commit-message guidance to strictly control when a co-author trailer is added, and refreshes GitHub Actions workflows (checkout + CodeQL) to newer major versions / settings.

Changes:

  • Tighten /commit + stage-and-commit instructions to forbid any co-author trailer unless commit.coAuthor is explicitly set to a non-null string in .shipkit.json.
  • Add clearer examples for commit messages with/without commit.coAuthor.
  • Update GitHub Actions workflows to use newer actions/checkout and github/codeql-action majors, and adjust CodeQL language configuration.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
skills/stage-and-commit.md Clarifies when co-author trailers may be appended; adds examples.
commands/commit.md Aligns /commit procedure with stricter co-author trailer rule.
.github/workflows/release.yml Bumps checkout action major used during releases.
.github/workflows/codeql.yml Switches CodeQL language to actions and bumps CodeQL/checkout action majors.
.github/workflows/ci.yml Bumps checkout action major across CI jobs.
.claude/commands/skills/stage-and-commit.md Mirrors the skills/ stage-and-commit guidance change for Claude.
.claude/commands/commands/commit.md Mirrors the commands/ commit guidance change for Claude.

@sanmak sanmak merged commit c6a787d into main Mar 15, 2026
11 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