Skip to content
Draft
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
10 changes: 10 additions & 0 deletions claude-workflows/DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ All workflow actions include default MCP servers. The base action does not.

Prompts instruct Claude to call `mcp__agents-md-generator__generate_agents_md` at startup for repository context, with a fallback to manual exploration if it fails.

## Updating the pinned Claude action SHA

Legacy Claude composite actions pin `elastic/ai-github-claude-code-action` to a full commit SHA.

When bumping:

1. Resolve the target commit SHA from the `working-forks` branch in `elastic/ai-github-claude-code-action`.
2. Update every `uses: elastic/ai-github-claude-code-action@...` entry in `claude-workflows/**/action.yml` to the same SHA.
3. Run `make lint` to validate all workflow and composite action files.

## Prefer Documentation Over New Workflows

Don't create a new workflow unless you need different permissions, triggers, or tooling. Instead:
Expand Down
2 changes: 1 addition & 1 deletion claude-workflows/base/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ runs:
steps:
- name: Run Claude Code
id: claude
uses: elastic/ai-github-claude-code-action@working-forks
uses: elastic/ai-github-claude-code-action@93b29e0893796474092432753830760c396fcf8c
with:
claude_code_oauth_token: ${{ inputs.claude-oauth-token }}
github_token: ${{ inputs.github-token }}
Expand Down
2 changes: 1 addition & 1 deletion claude-workflows/build-failure-buildkite/rwx/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ runs:
id: claude
env:
GITHUB_TOKEN: ${{ inputs.github-token }}
uses: elastic/ai-github-claude-code-action@working-forks
uses: elastic/ai-github-claude-code-action@93b29e0893796474092432753830760c396fcf8c
with:
claude_code_oauth_token: ${{ inputs.claude-oauth-token }}
github_token: ${{ inputs.github-token }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ runs:
id: claude
env:
GITHUB_TOKEN: ${{ inputs.github-token }}
uses: elastic/ai-github-claude-code-action@working-forks
uses: elastic/ai-github-claude-code-action@93b29e0893796474092432753830760c396fcf8c
with:
claude_code_oauth_token: ${{ inputs.claude-oauth-token }}
github_token: ${{ inputs.github-token }}
Expand Down
2 changes: 1 addition & 1 deletion claude-workflows/generate-report/ro/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ runs:
id: claude
env:
GITHUB_TOKEN: ${{ inputs.github-token }}
uses: elastic/ai-github-claude-code-action@working-forks
uses: elastic/ai-github-claude-code-action@93b29e0893796474092432753830760c396fcf8c
with:
claude_code_oauth_token: ${{ inputs.claude-oauth-token }}
github_token: ${{ inputs.github-token }}
Expand Down
2 changes: 1 addition & 1 deletion claude-workflows/issue-triage/ro/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ runs:
id: claude
env:
GITHUB_TOKEN: ${{ inputs.github-token }}
uses: elastic/ai-github-claude-code-action@working-forks
uses: elastic/ai-github-claude-code-action@93b29e0893796474092432753830760c396fcf8c
with:
claude_code_oauth_token: ${{ inputs.claude-oauth-token }}
github_token: ${{ inputs.github-token }}
Expand Down
2 changes: 1 addition & 1 deletion claude-workflows/issue-triage/rwx/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ runs:
id: claude
env:
GITHUB_TOKEN: ${{ inputs.github-token }}
uses: elastic/ai-github-claude-code-action@working-forks
uses: elastic/ai-github-claude-code-action@93b29e0893796474092432753830760c396fcf8c
with:
claude_code_oauth_token: ${{ inputs.claude-oauth-token }}
github_token: ${{ inputs.github-token }}
Expand Down
2 changes: 1 addition & 1 deletion claude-workflows/mention-in-issue/rwx/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ runs:
id: claude
env:
GITHUB_TOKEN: ${{ inputs.github-token }}
uses: elastic/ai-github-claude-code-action@working-forks
uses: elastic/ai-github-claude-code-action@93b29e0893796474092432753830760c396fcf8c
with:
claude_code_oauth_token: ${{ inputs.claude-oauth-token }}
github_token: ${{ inputs.github-token }}
Expand Down
2 changes: 1 addition & 1 deletion claude-workflows/mention-in-issue/rwxp/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ runs:
id: claude
env:
GITHUB_TOKEN: ${{ inputs.github-token }}
uses: elastic/ai-github-claude-code-action@working-forks
uses: elastic/ai-github-claude-code-action@93b29e0893796474092432753830760c396fcf8c
with:
claude_code_oauth_token: ${{ inputs.claude-oauth-token }}
github_token: ${{ inputs.github-token }}
Expand Down
2 changes: 1 addition & 1 deletion claude-workflows/mention-in-pr/rwx/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ runs:
PR_REVIEW_HEAD_SHA: ${{ steps.pr-info.outputs.head_sha }}
PR_REVIEW_COMMENTS_DIR: /tmp/pr-review-comments
PR_REVIEW_HELPERS_DIR: ${{ github.action_path }}/../../pr-review/scripts
uses: elastic/ai-github-claude-code-action@working-forks
uses: elastic/ai-github-claude-code-action@93b29e0893796474092432753830760c396fcf8c
with:
claude_code_oauth_token: ${{ inputs.claude-oauth-token }}
github_token: ${{ inputs.github-token }}
Expand Down
2 changes: 1 addition & 1 deletion claude-workflows/mention-in-pr/rwxp/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ runs:
PR_REVIEW_HEAD_SHA: ${{ steps.pr-info.outputs.head_sha }}
PR_REVIEW_COMMENTS_DIR: /tmp/pr-review-comments
PR_REVIEW_HELPERS_DIR: ${{ github.action_path }}/../../pr-review/scripts
uses: elastic/ai-github-claude-code-action@working-forks
uses: elastic/ai-github-claude-code-action@93b29e0893796474092432753830760c396fcf8c
with:
claude_code_oauth_token: ${{ inputs.claude-oauth-token }}
github_token: ${{ inputs.github-token }}
Expand Down
2 changes: 1 addition & 1 deletion claude-workflows/pr-review/ro/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ runs:
PR_REVIEW_HELPERS_DIR: ${{ github.action_path }}/../scripts
PR_REVIEW_MIN_INLINE_SEVERITY: ${{ inputs.minimum-severity }}
PR_REVIEW_BOT_LOGIN: ${{ steps.bot-identity.outputs.login }}
uses: elastic/ai-github-claude-code-action@working-forks
uses: elastic/ai-github-claude-code-action@93b29e0893796474092432753830760c396fcf8c
with:
claude_code_oauth_token: ${{ inputs.claude-oauth-token }}
github_token: ${{ inputs.github-token }}
Expand Down
2 changes: 1 addition & 1 deletion claude-workflows/pr-review/rwx/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ runs:
PR_REVIEW_HELPERS_DIR: ${{ github.action_path }}/../scripts
PR_REVIEW_MIN_INLINE_SEVERITY: ${{ inputs.minimum-severity }}
PR_REVIEW_BOT_LOGIN: ${{ steps.bot-identity.outputs.login }}
uses: elastic/ai-github-claude-code-action@working-forks
uses: elastic/ai-github-claude-code-action@93b29e0893796474092432753830760c396fcf8c
with:
claude_code_oauth_token: ${{ inputs.claude-oauth-token }}
github_token: ${{ inputs.github-token }}
Expand Down
2 changes: 1 addition & 1 deletion claude-workflows/project-manager/ro/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ runs:
id: claude
env:
GITHUB_TOKEN: ${{ inputs.github-token }}
uses: elastic/ai-github-claude-code-action@working-forks
uses: elastic/ai-github-claude-code-action@93b29e0893796474092432753830760c396fcf8c
with:
claude_code_oauth_token: ${{ inputs.claude-oauth-token }}
github_token: ${{ inputs.github-token }}
Expand Down
Loading