Skip to content

ci: add GitHub AI handoff checks#5

Merged
lwnmengjing merged 1 commit into
mainfrom
codex/github-ai-handoff-20260605
Jun 6, 2026
Merged

ci: add GitHub AI handoff checks#5
lwnmengjing merged 1 commit into
mainfrom
codex/github-ai-handoff-20260605

Conversation

@lwnmengjing

@lwnmengjing lwnmengjing commented Jun 5, 2026

Copy link
Copy Markdown
Member

Summary

  • add organization Copilot instructions for GitHub-native AI handoff boundaries
  • add Dependabot, CodeQL, and OpenSSF Scorecard checks for the organization .github repository
  • record durable AIGC memory for GitHub AI delegation and external settings boundaries

Tests

  • go run github.com/rhysd/actionlint/cmd/actionlint@latest
  • ruby -e 'require "yaml"; YAML.load_file(".github/dependabot.yml")'\n- git diff --check\n\n## Docs\n- Adds organization-local AIGC memory under aigc/prompts/.\n\n## Security\n- Adds CodeQL, Scorecard, and Dependabot self-checks for organization workflow/template files.\n- Does not add secrets or external credentials.\n\n## Release / compatibility / rollback\n- No runtime release impact.\n- Rollback is reverting this PR if a new organization workflow is too noisy.\n\n## Notes\n- This does not enable paid/org-level Copilot settings by itself. Branch rulesets, required checks, Copilot automatic review, and private vulnerability reporting still need maintainer-side GitHub settings review.

Copilot AI review requested due to automatic review settings June 5, 2026 05:49
@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.

Copilot AI 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.

Pull request overview

Adds organization-wide GitHub-native AI handoff/governance guidance and introduces baseline supply-chain/security automation for the org .github repository (Dependabot + CodeQL + OpenSSF Scorecard), plus a durable AIGC handoff record.

Changes:

  • Add .github/copilot-instructions.md to define Copilot/automation boundaries and governance expectations.
  • Add Dependabot, CodeQL, and OpenSSF Scorecard workflows/config to extend security and supply-chain checks to org-level assets.
  • Add a durable Chinese AIGC handoff prompt record under aigc/prompts/.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
aigc/prompts/github-ai-handoff-2026-06-05.zh-CN.md Adds a durable AI handoff memo (zh-CN) documenting governance/automation boundaries.
.github/workflows/scorecard.yml Adds OpenSSF Scorecard scanning and SARIF upload to GitHub code scanning.
.github/workflows/codeql.yml Adds CodeQL analysis workflow for GitHub Actions content.
.github/dependabot.yml Enables weekly GitHub Actions dependency update PRs with grouping/labels.
.github/copilot-instructions.md Establishes organization-wide Copilot and automation operating guidelines for this repo.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -0,0 +1,25 @@
# GitHub AI Handoff
Comment on lines +12 to +21
permissions: read-all

jobs:
scorecard:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
id-token: write
security-events: write
@lwnmengjing lwnmengjing merged commit 26399de into main Jun 6, 2026
4 checks passed
@lwnmengjing lwnmengjing deleted the codex/github-ai-handoff-20260605 branch June 6, 2026 14:52
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.

3 participants