用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vamseeachanta/workspace-hub --skill github-actions-common-issues命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | github-actions-common-issues |
| description | Sub-skill of github-actions: Common Issues (+1). |
| version | 1.0.0 |
| category | operations |
| type | reference |
| scripts_exempt | true |
Issue: Workflow not triggering
# Check trigger paths
on:
push:
paths:
- 'src/**' # Only triggers for src/ changes
# Verify branch names match
on:
push:
branches:
- main
- 'release/*' # Use quotes for patterns
Issue: Cache not restoring
# Verify cache key matches
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-${{ runner.os }}-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
pip-${{ runner.os }}-
Issue: Secrets not available
# Secrets not available in forks
- name: Deploy
if: github.event.pull_request.head.repo.full_name == github.repository
env:
SECRET: ${{ secrets.MY_SECRET }}
Issue: Permission denied
# Add required permissions
permissions:
contents: write
packages: write
pull-requests: write
# Enable debug logging
jobs:
debug:
runs-on: ubuntu-latest
steps:
- name: Dump context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
JOB_CONTEXT: ${{ toJson(job) }}
STEPS_CONTEXT: ${{ toJson(steps) }}
run: |
echo "GitHub context:"
echo "$GITHUB_CONTEXT"
echo "Job context:"
echo "$JOB_CONTEXT"