Skip to content

Standardize Claude GitHub Action workflow#44

Merged
chriscalo merged 1 commit into
mainfrom
claude/standardize-claude-action-workflow
Jun 1, 2026
Merged

Standardize Claude GitHub Action workflow#44
chriscalo merged 1 commit into
mainfrom
claude/standardize-claude-action-workflow

Conversation

@chriscalo

Copy link
Copy Markdown
Owner

Adds (or replaces) .github/workflows/claude.yaml with the
canonical workflow from
chriscalo/dev-skills.

Tool policy: --allowedTools "Read,Grep,Glob,Edit,Write,Skill,Task,Agent,Bash(*),WebFetch,WebSearch"
with a targeted --disallowedTools list. See
claude-action.md "Tool policy"
for rationale.

Future drift can be detected via
sync-claude-action.sh audit OWNER/REPO.

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.
Copilot AI review requested due to automatic review settings June 1, 2026 03:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_BUCKET and R2_PUBLIC_URL secrets to the workflow step environment.
  • Persists R2_BUCKET / R2_PUBLIC_URL into 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.

@chriscalo chriscalo merged commit b8e92b3 into main Jun 1, 2026
2 of 3 checks passed
@chriscalo chriscalo deleted the claude/standardize-claude-action-workflow branch June 1, 2026 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants