Standardize Claude GitHub Action workflow#44
Merged
Conversation
Adds (or replaces) .github/workflows/claude.yaml with the canonical workflow from chriscalo/dev-skills:skills/github/claude-action-workflow.yaml. Tool policy: --allowedTools "Read,Grep,Glob,Edit,Write,Skill,Task,Agent,Bash(*),WebFetch,WebSearch" with a targeted --disallowedTools list (force-push, push-to-main, branch/repo/ release delete, mutating gh api, npm publish, gh secret/auth ops). See chriscalo/dev-skills:skills/github/claude-action.md section 'Tool policy' for rationale.
There was a problem hiding this comment.
Pull request overview
Standardizes the repository’s Claude GitHub Action workflow to match the canonical upstream version, including making the upload-image helper configurable for different Cloudflare R2 bucket/public URL setups while keeping existing repos working with defaults.
Changes:
- Adds optional
R2_BUCKETandR2_PUBLIC_URLsecrets to the workflow step environment. - Persists
R2_BUCKET/R2_PUBLIC_URLinto the helper creds file with sensible defaults when unset. - Updates the helper to upload to
s3://${R2_BUCKET}and print URLs using${R2_PUBLIC_URL%/}.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds (or replaces)
.github/workflows/claude.yamlwith thecanonical workflow from
chriscalo/dev-skills.
Tool policy:
--allowedTools "Read,Grep,Glob,Edit,Write,Skill,Task,Agent,Bash(*),WebFetch,WebSearch"with a targeted
--disallowedToolslist. Seeclaude-action.md "Tool policy"
for rationale.
Future drift can be detected via
sync-claude-action.sh audit OWNER/REPO.