ClaudeSec

DevSecOps toolkit for AI-assisted secure development

View the Project on GitHub Twodragon0/claudesec

CI Operations Playbook

Scope

This playbook defines operational standards for GitHub Actions in ClaudeSec:

  1. Single CodeQL operating model
  2. Required local docs validation before PR
  3. Retry policy for transient external action failures (401)
  4. Dependabot conflict handling policy

1) CodeQL Operating Model

2) Pre-PR Docs Validation (Required)

Before opening a PR that changes Markdown docs, run:

markdownlint "**/*.md"
lychee "**/*.md"

If either command fails, fix issues before pushing.

3) Transient 401 Action Download Failures

Trigger

When a workflow fails with action download errors like 401 (Unauthorized) from GitHub API tarball fetch.

Response

  1. Rerun the failed workflow.
  2. If it fails again with the same transient signature, rerun one more time.
  3. If it still fails after 2 reruns, move to manual triage.

Manual Triage Checklist

4) Dependabot Action PR Conflict Policy

When Dependabot PRs for GitHub Actions conflict with current main:

  1. Apply the required action-version updates directly to main.
  2. Verify CI passes on main.
  3. Close duplicate/conflicting Dependabot PRs.
  4. Add a closing rationale comment that links to the commit on main.

This keeps the PR queue clean and avoids repeated conflict churn.

References