github-actions-advanced

github-actions-advanced is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 68 tokens per session (1,043 once invoked), scanned A, original, Apache-2.0.

A practical guide for building GitHub Actions workflows, which are automated jobs that check, build, test, and deploy code. It covers cloud login without stored long-term keys, reusable workflows, multiple-version builds, dependency caching, and protected production environments.

In plain words
What is it for?
Use it to create or improve GitHub Actions for linting, testing, building, and deploying to Kubernetes or cloud services. It also helps configure OIDC cloud authentication, reusable workflows, build matrices, caches, and runner security.
Why use it?
It helps avoid slow pipelines, exposed secrets, overly broad permissions, and duplicated workflow code. It also provides checks for safer deployments and repeatable CI/CD, meaning continuous integration and delivery.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create or improve GitHub Actions for linting, testing, building, and deploying to Kubernetes or cloud services. It also helps configure OIDC cloud authentication, reusable workflows, build matrices, caches, and runner security.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/github-actions-advanced
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Morningstar202604/awesome-skillkit --skill github-actions-advanced
Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github-actions-advanced

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/github-actions-advanced/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/github-actions-advanced)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/github-actions-advanced"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/github-actions-advanced/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for github-actions-advanced

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/github-actions-advanced"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/github-actions-advanced.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,043 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.01043
Opus 5.5 $0.00027 $0.00417
Sonnet 5.5 $0.00014 $0.00209
Haiku 4.5 $0.00007 $0.00104

Measured 2mo ago against content hash 52afdf1e6116, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-actions-advanced scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

expert-teams/teams/fullstack-web-team/skills/github-actions-advanced/SKILL.md · 79 lines

How it starts

The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub Actions 高级实践

本 skill 面向 fullstack-ci-cd-engineer,产出安全、快、可复用的流水线。

何时使用

  • 新建 CI(lint/test/build)或 CD(部署到 K8s/云);
  • 现有 workflow 慢、密钥硬编码、权限过宽;
  • 需要 OIDC 免长期密钥、跨仓库复用 workflow、矩阵多版本测试。

核心原则

  1. 最小权限:permissions 默认设为 read-all,按需提升;不用 write-all。
  2. OIDC 替代长期密钥:用云厂商 OIDC role,不在 repo 存 AK/SK。
  3. Pin action 到 SHA:第三方 action 固定 commit SHA,不用 @main。
  4. 缓存依赖:pnpm/npm/pip/docker layer 都缓存,缩短流水线。
  5. 环境保护:生产部署走 environment + 审批人。

OIDC 部署到云(示例:AWS)

permissions:
  id-token: write   # 换取 OIDC token
  contents: read
jobs:
  deploy:
    runs-on: ubuntu-latest
    environment: production
    steps:
      - uses: actions/checkout@v4
      - uses: aws-actions/configure-aws-credentials@v4
        with:
          role-to-assume: arn:aws:iam::123456789012:role/gha-deploy
          aws-region: ap-northeast-1
      - run: terraform apply -auto-approve

缓存与矩阵

strategy:
  fail-fast: false
  matrix:
    node: [20, 22]
steps:
  - uses: actions/setup-node@v4
    with: { node-version: "${{ matrix.node }}", cache: 'pnpm' }
  - run: pnpm ci
  - run: pnpm test

Reusable Workflow

  • 公共逻辑抽 .github/workflows/reusable-*.yml,workflow_call: 声明 inputs/secrets。
  • 业务 workflow 用 uses: org/.github/.github/workflows/reusable-test.yml@<sha> 调用。
  • 复用后只在一处改 lint/test 规则,避免每个仓库复制粘贴。

清单(交付前逐项过)

  • 每个 job 显式声明 permissions,未用到的不授予。
  • 云认证走 OIDC,仓库/环境 secrets 无长期 AK/SK。
  • 第三方 action 全部 pin 到 SHA({sha}-#vX.Y.Z)。
  • 依赖缓存命中(actions/setup-node cache、actions/cache)。
  • 生产部署绑定 environment + 必需审批人。
  • 敏感输出不打日志(echo::add-mask:: 或 secrets 自动掩码)。
  • 矩阵 fail-fast: false,单版本失败不中断全部。
  • workflow_dispatch 手动触发的参数有默认值与校验。
  • 超时 timeout-minutes 已设,防挂死 Runner。

易错点

  • permissions: write-all 全局开:任意 PR 都能写仓库,被投毒后可直接改代码投供应链;按 job 收紧。
  • ** Pull request 事件跑部署**:外部 PR 能触发生产部署,部署 job 必须限定 main tag + environment 审批。
  • action 用 @main:上游仓库被劫持即供应链攻击,必须 pin SHA。
  • 缓存 key 不锁 lockfile:pnpm-lock.yaml 变了却命中旧缓存,导致测试与本地不一致;key 里拼 lockfile hash。
  • secrets 传到第三方 action:secrets: inherit 会把所有密钥外传,只传必需的。
  • 忘记 timeout-minutes:卡死的 job 一直占 Runner、烧配额。
  • pull_request vs push 分支保护混乱:tag 构建漏跑,发布流水线和 CI 分开写清楚触发条件。

Read the full file on GitHub · 79 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 79 lines · 68 tokens per session scan A 52afdf1e6116

Subscribe to this mod's changes

github-actions-advanced is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 68 tokens to every session and 1,043 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-27.

Related

github-actions-advanced compared with skills from other repositories

github-actions-advanced next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-actions-advancedMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A68Claude Code, Codex
terraformRightNow-AI/openfangSkill18k5mo agoApache-2.0A16Claude Code, Codex
shipping-and-launchnaimkatiman/continuous-improvementSkill113d agoMITA45Claude Code
devops-hand-skilllibrefang/librefang-registrySkill112mo agoMITA29Claude Code, Codex
terraformlibrefang/librefang-registrySkill112mo agoMITA16Claude Code, Codex
enterprise-agent-opsmajiang213/OpenClaw-MASSkill57mo agoMITA21Claude Code, Codex
stripe-projectsNousResearch/hermes-agentSkill267ktodayMITA15Claude Code, Codex