{
  "id": "cicd/github-actions-secret-not-found",
  "signature": "Error: Secret AWS_ACCESS_KEY_ID is not set or is empty",
  "signature_zh": "错误：秘密变量 AWS_ACCESS_KEY_ID 未设置或为空。",
  "regex": "Error: Secret [A-Z_]+ is not set or is empty",
  "domain": "cicd",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "The GitHub Actions workflow references a repository secret that does not exist or is empty, often due to the secret not being created at the repo or org level, or a typo in the secret name.",
  "root_cause_type": "generic",
  "root_cause_zh": "GitHub Actions 工作流引用了不存在或为空的仓库秘密变量，通常是因为未在仓库或组织级别创建该秘密，或者秘密名称拼写错误。",
  "versions": [
    {
      "version": "GitHub Actions",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "GitHub Enterprise Server 3.8",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Secrets are not dynamically generated; they must be created manually or via API before the workflow runs.",
      "fail_rate": 1.0,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Environment variables defined in YAML are visible in logs and not secure; GitHub requires secrets to be passed via `${{ secrets.SECRET_NAME }}` syntax.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Navigate to the repository settings, click 'Secrets and variables' > 'Actions', and add a new repository secret with the name AWS_ACCESS_KEY_ID and the correct value.",
      "success_rate": 0.95,
      "how": "Navigate to the repository settings, click 'Secrets and variables' > 'Actions', and add a new repository secret with the name AWS_ACCESS_KEY_ID and the correct value.",
      "condition": "",
      "sources": []
    },
    {
      "action": "If the secret is org-level, ensure the repository has access: go to org settings > 'Secrets and variables' > 'Actions' and add the repository to the secret's access list.",
      "success_rate": 0.9,
      "how": "If the secret is org-level, ensure the repository has access: go to org settings > 'Secrets and variables' > 'Actions' and add the repository to the secret's access list.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Navigate to the repository settings, click 'Secrets and variables' > 'Actions', and add a new repository secret with the name AWS_ACCESS_KEY_ID and the correct value.",
    "If the secret is org-level, ensure the repository has access: go to org settings > 'Secrets and variables' > 'Actions' and add the repository to the secret's access list."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions",
  "official_doc_section": null,
  "error_code": "GH_SECRET_MISSING",
  "verification_tier": "ai_generated",
  "confidence": 0.88,
  "fix_success_rate": 0.9,
  "resolvable": "true",
  "first_seen": "2023-09-01",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}