Skip to content
Closed
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
43 changes: 43 additions & 0 deletions .github/workflows/claude-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Claude PR Review

on:
pull_request:
types: [opened, synchronize]
branches:
- main
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]

jobs:
review:
runs-on: ubuntu-latest
# Only run for repo owner
if: |
(github.event_name == 'pull_request' && github.event.pull_request.author_association == 'OWNER') ||
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude') &&
github.event.comment.author_association == 'OWNER') ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude') &&
github.event.comment.author_association == 'OWNER')
permissions:
contents: read
pull-requests: write
issues: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: anthropics/claude-code-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
prompt: |
Review this PR for:
1. Code quality and best practices
2. Potential bugs or edge cases
3. Security concerns
4. Alignment with Stash plugin conventions (YAML metadata, Python/JS patterns)

Be concise and actionable. Focus on substantive issues rather than style nitpicks.
1 change: 1 addition & 0 deletions plugins/copy-stashbox-urls
Submodule copy-stashbox-urls added at 059eec
22 changes: 22 additions & 0 deletions plugins/performer-url-cleanup/performer-url-cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Performer URL Cleanup
description: Normalises, deduplicates, and sorts performer URLs
version: 1.0.0
url: https://github.com/thismanyboyfriends2/stash-plugins
exec:
- python3
- "{pluginDir}/performer_url_cleanup.py"
interface: raw
settings:
writeDebugFiles:
displayName: Write debug files
description: Output debug text files to the plugin directory for reviewing changes
type: BOOLEAN
tasks:
- name: Preview URL Cleanup
description: Shows what URL changes would be made without applying them
defaultArgs:
mode: preview
- name: Apply URL Cleanup
description: Normalises, deduplicates, and sorts all performer URLs
defaultArgs:
mode: apply
Loading
Loading