Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/claude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- name: Run Claude Code
id: claude
uses: anthropics/claude-code-action@v1
uses: anthropics/claude-code-action@e90deca47693f9457b72f2b53c17d7c445a87342 # v1.0.171
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}

Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/contextualize-skills.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@ on:

jobs:
contextualize:
if: startsWith(github.head_ref, 'sync/skills-')
# Hardening (CodeQL actions/untrusted-checkout): this job checks out the PR
# head and runs Claude Code over it WITH secrets (ANTHROPIC_API_KEY),
# contents: write, and pull-requests: write, then pushes commits back.
# Restrict it to same-repo PRs so a fork PR can never reach this
# privileged, secret-bearing path. Combined with the sync/skills- branch
# filter, only the internal skills-sync automation can trigger it.
if: >-
github.event.pull_request.head.repo.full_name == github.repository &&
startsWith(github.head_ref, 'sync/skills-')
runs-on: ubuntu-latest

permissions:
Expand All @@ -32,7 +40,7 @@ jobs:

- name: Run Claude Code
if: steps.check_author.outputs.skip != 'true'
uses: anthropics/claude-code-action@v1
uses: anthropics/claude-code-action@e90deca47693f9457b72f2b53c17d7c445a87342 # v1.0.171
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
github_token: ${{ github.token }}
Expand Down