Skip to content

GitHub Action

The Decodie GitHub Action analyses changed files in every PR. It uses the same Decodie skill under the hood — same prompts, same quality, zero manual effort.

Add this file to your repo at .github/workflows/decodie.yml:

name: Decodie
on:
pull_request:
types: [opened, synchronize]
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: owenbush/decodie-github-action@v1
with:
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}

Add your API key as a repository secret (Settings > Secrets and variables > Actions).

  • Zero manual effort — runs automatically when a PR is opened or updated
  • PR comment summary — posts a formatted comment with entries grouped by file (disable with comment: false)
  • Commits to .decodie/ — entries are committed to the PR branch (disable with commit: false)
  • Fully configurable — control max files, include/exclude patterns, selective vs exhaustive mode, and model selection
InputDefaultDescription
anthropic-api-keyAnthropic API key for analysis
modelclaude-sonnet-4-6Model to use
modeselectiveselective or exhaustive
max-files10Maximum files to analyse per PR
include**/*Glob pattern for files to include
excludeGlob pattern for files to exclude
commenttruePost a PR comment with results
committrueCommit generated entries to the branch
- uses: owenbush/decodie-github-action@v1
with:
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
model: claude-sonnet-4-6
mode: exhaustive
max-files: 20
include: "src/**/*.ts"
exclude: "**/*.test.ts"
comment: true
commit: true